The attack run
One compromised key, two treasuries. Left column: CapFleet's deterministic policy engine. Right column: the same hostile amounts against a wallet whose only guard is an instruction to the model.
CapFleet (deterministic caps)
Prompt-only baseline
Architecture: the model proposes, the contract decides
Safety owner: deterministic Solidity in CapFleet.requestSpend / reserve owns every spend decision. Agents only sign proposals. A compromised key is bound by the same caps, because the caps live in the contract, not in the agent.
- 1 · Intent layer. Agents emit structured, EIP-712-signed
SpendIntents (agent, recipient, amount, category, purpose hash, nonce, expiry, policy version). The model never touches money. - 2 · Deterministic policy engine. The contract verifies signature, policy version, recipient allowlist, category permission, then five caps atomically: per-transaction, agent epoch, category epoch, recipient epoch, fleet epoch — plus a velocity cap. Refusals return a reason code and emit
SpendBlocked. The refusal is on the record. - 3 · Reservation accounting. Multi-step tasks reserve budget first. Reservations count against every cap immediately, so parallel intents cannot race past the same budget, and split attacks hit the same accounting.
- 4 · Settlement. Only after all checks pass does the contract transfer test USD and emit a receipt hash binding intent + policy version + epoch.
- 5 · Observability + Governor. Every approval, block, reservation, and quarantine is an event. The human Fleet Governor sets caps, approves timelocked raises, reviews quarantines, and can revoke instantly. Cap decreases are instant; raises wait out a timelock, so a compromised governor key cannot instantly raise limits either.
Auto-quarantine
Four consecutive blocked attempts from a valid key freeze the agent automatically. Bad-signature spam does not count, so an outsider cannot grief-quarantine a healthy agent. The fleet keeps working; only the rogue stops.
Fleet isolation
Each agent has its own budget inside category and fleet caps. One rogue agent exhausting its $200 mandate cannot starve the researcher or ops agents.
Asymmetric cap changes
Decreases and revocations are instant. Raises are timelocked and bump the policy version, invalidating intents signed under the old policy.
Live chain proof
Deployed on Base Sepolia (chain 84532). The panel below reads the contract's recent approval and block events straight from the chain. If the RPC is unreachable, it falls back to the recorded attack-run transactions.
Loading on-chain events…
What is real and what is not
| Layer | Real | Simulated / testnet |
|---|---|---|
| Chain | Base Sepolia deployment; every approval and refusal is a real transaction | Testnet, not mainnet |
| Money | Contract-enforced transfers of the demo token | tUSD is a test token with no value; amounts model a $1,000 treasury |
| Agents | Real registered keys signing real EIP-712 intents; rogue key is genuinely compromised in the run | Agent "decisions" are scripted strategies, not a live LLM, so the run is reproducible |
| Baseline | Real contract (NaiveAgentWallet) drained by the same key | Deliberately naive comparator representing prompt-only guards |
| Approvals | Governor actions (quarantine lift) are real transactions | Governor is one key in the demo; production wants a multisig |
Known weakness, quantified: caps use fixed epoch windows, so an agent can spend up to 2× its epoch cap across a window boundary (end of epoch N + start of epoch N+1). Per-transaction and velocity caps bound the burst; the production fix is rolling-window accounting, which costs more storage writes per spend. The contract is unaudited and testnet-only.
Built to the rubric
| Criterion | Weight | Evidence |
|---|---|---|
| Technical Architecture & Engineering Depth | 35% | Five-layer design, EIP-712 intents, hierarchical caps, reservation anti-race accounting, timelocked raises, auto-quarantine, full Hardhat test suite |
| Innovation & Originality | 25% | Identical-attack A/B eval vs a prompt-only baseline; quarantine circuit breaker; asymmetric cap changes |
| Real-World Utility & Scalability | 25% | Ops teams running agent fleets that buy data, compute, and services; fleet isolation under attack; per-spend gas cost measured in the proof file |
| Execution & Demo Clarity | 15% | This page: one-click attack replay, live chain proof, walkthrough video, complete Devpost package |