Audit Scope & Verdict
ChatGPT evaluated 11 core security domains of the AOS Constitutional Gate across 5 sequential audit passes. The final verdict confirmed: "On Linux systems that pass startup self-tests, where OS permissions prevent the agent from writing to protected paths, no persistent side effect occurs unless the gate validates policy, scope, and prohibited categories, emitting a gate-signed attestation."
The 11 Audited Security Domains
- 1. Trust Boundary: Agent can connect to gate socket but cannot bypass mediation.
- 2. Approval Token Verification: Public keys resolved from gate registry, preventing forged approvals.
- 3. Nonce Tracking & Replay Prevention: Durable nonces persist across daemon restarts.
- 4. Attestation Integrity: Attestation hashes bind decision parameters and anchor commits.
- 5. Append-Only Enforceability: Linux chattr +a attributes set atomically at creation.
- 6. Signature Verification: Standard AOS-SIG-v1 signatures computed over raw SHA-256 digests.
- 7. IPC Protocol Security: Explicit 4-byte length-prefix framing prevents injection.
- 8. Network Access Control: Strict domain allowlisting with DNS IP pinning against rebinding.
- 9. Filesystem Protection: O_NOFOLLOW open flags prevent symlink and hardlink traversal.
- 10. Process Isolation: Distinct UID boundaries verified with SO_PEERCRED checks.
- 11. Self-Tests & Invariant Verification: Gate executes startup invariant assertions before accepting requests.