coloa

Attack demo: typical stack vs Coloa

Generated by tests/attacks.sh on 2026-11-30T03:16Z. Each cell is measured, not asserted.

Attack (code written by an agent) Typical self-built stack Coloa
1. Secret exfiltration ✗ real key stolen ✓ blocked (host not allowed); host allowed by mistake → still refused (key is scoped to the payment host)
2. Missing access filter ✗ bob sees alice’s orders ✓ bob sees only his own (Postgres RLS)
3. Agent widens its own access ✗ agent reads prod DB directly ✓ refused; in the sandbox it sees no secrets or DB login
4. Destructive change to production ✗ column and data gone ✓ prod untouched; needs human approvals + snapshot
5. Personal data in logs ✗ card numbers in the log ✓ masked as [sensitive]
6. Runaway LLM spend ✗ 20/20 calls paid, no cap ✓ stopped after 3/20 at the monthly cap

Typical stack = secrets in environment variables, the app and the agent’s shell connecting to Postgres as the owner, plain log files, open egress, no spending cap.