Reference

Security model

Threat model

Aegis treats all external input as untrusted. Inputs, paths, URLs, commands, and serialized data are validated before use. Secrets are never logged or exposed.

Authentication

Aegis uses Argon2id password hashing, server-side sessions regenerated on login, HttpOnly + Secure + SameSite=Strict cookies, CSRF tokens on every write, per-IP and per-account rate limiting, and optional TOTP two-factor authentication.

Headers & transport

A strict Content-Security-Policy, HSTS, X-Frame-Options, nosniff, and Referrer-Policy are applied to every response. TLS is enforced at the edge.

Least surprise

Reversible checkpoints are created before every non-trivial change, so a bad edit is a rollback rather than an incident.