1.1 KiB
1.1 KiB
Security Policy
Security Model
Stoat Admin is designed for private administration over a WireGuard-restricted network. The intended deployment model is:
admin-webandadmin-apibind only to a private interface such aswg0- the dashboard is not exposed through the public Stoat reverse proxy
- the API still requires session-based authentication with an Argon2id-hashed admin credential
This means WireGuard limits network access and the application session limits user access. Both layers are expected in production.
Reporting
If you discover a security issue, avoid opening a public issue with exploit details. Share the report privately with the maintainer and include:
- affected version or commit
- reproduction steps
- impact
- any suggested mitigation
Deployment Notes
- Keep
SESSION_SECRETandRESEND_API_KEYout of the repository. - Restrict permissions on the SQLite database file mounted at
/data/admin.db. - Set
ADMIN_WEB_ORIGINprecisely. Do not use*. - Verify the compose port bindings are limited to the intended private interface.