feat(auth): admin reset, docs and image smoke test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
42892cb37f
commit
06b9980659
18 files changed
+267
-21
No files matched your search
+13
-3
@@ -22,9 +22,19 @@ reproduction when a private channel is available.
|
||||
memory or escape the configured data directory.
|
||||
- **Path handling:** dataset paths are resolved and confined to the configured
|
||||
root; symbolic links are not followed outside it.
|
||||
- **API exposure:** `serve` binds to `127.0.0.1` by default. Exposing it on a
|
||||
network interface is an explicit operator decision and needs a reverse proxy
|
||||
with authentication.
|
||||
- **Authentication:** login with mandatory MFA (TOTP) guards every route except
|
||||
`/api/health`; sessions, API tokens (`read`/`admin`) and an audit log are kept
|
||||
in the data directory. A password or MFA change revokes admin tokens and keeps
|
||||
read tokens. `/api/analyze` is admin-only.
|
||||
- **API exposure:** `serve` binds to `127.0.0.1` by default and refuses to start
|
||||
without an explicit transport (`local`, `tls` or `proxy`). Publishing beyond
|
||||
loopback is an operator decision and needs `tls` or `proxy`. A bare
|
||||
`docker run -p` without `ACAUA_PUBLISHED` is not detected (login stays mandatory).
|
||||
- **Secret key:** MFA secrets are sealed with a key stored in the data volume by
|
||||
default, which does not protect against copying the volume; prefer a Docker
|
||||
secret via `ACAUA_SECRET_KEY_FILE`.
|
||||
- **Host access:** anyone with Docker access on the host can run
|
||||
`acaua auth reset` and take over an administrator account.
|
||||
- **Evidence integrity:** alert evidence must be reproducible from the same
|
||||
input and code version. Silent nondeterminism is a correctness and security
|
||||
issue.
|
||||
|
||||
Reference in new issue
Block a user