✓ SAFE · USE CASE DEMO

Atlas Treasury Demo

a treasury. same agent. four attacks. twice.

A 500K USDC treasury Safe on Base. The same agent runs four attack vectors twice — first without Atlas (each one drains the treasury), then with Atlas installed (each one reverts with a named substrate error). Closes with the keeper executing authorized routes inside the bound.

← back to use cases

§1 What this demonstrates

The Safety pillar. No combination of Safe M-of-N, ERC-7579 modules, or ERC-7710 delegation can bound the four attack classes shown below. Each attack succeeds in Act I and reverts in Act II under one Atlas envelope. Substrate-tier enforcement is the layer the agent stack is missing.

Demo runtime: ~90 seconds. Six real Base Sepolia transactions in live mode. Treasury ends at $400K with Atlas, $0 without.

§2 The bound

One Atlas envelope binds the treasury's executable surface:

Compliance richness ladders on additional predicates without changing the substrate.

§3 Four attacks · two acts

ACT I — Without Atlas

The same agent runs four attack vectors. Each drains the treasury.

#AttackWhat happensOutcome
01Unbounded Drain400K USDC to attacker addressDRAINED
02Wrong TargetTransfer to non-allowlisted contractDRAINED
03ReplayReuse of a previously consumed payloadREPLAYED
04Delegatecall HijackAttacker logic via DELEGATECALL (the Bybit pattern)HIJACKED

Four independent failure modes. Any one is enough.

ACT II — Atlas installed

Same four attacks. Same agent. Same intent. Different gate.

#AttackAtlas revertOutcome
01Unbounded DrainPeriodLimitExceededBLOCKED
02Wrong TargetTargetNotAllowedBLOCKED
03ReplayEnvelopeAlreadyConsumedBLOCKED
04Delegatecall HijackDelegateCallBlockedBLOCKED

§4 Fire it

A treasury Safe holds $1,000,000 USDC on Base Sepolia. An AI keeper has spending power so it can pay invoices and payroll overnight without waking the CFO. Below: four ways an attacker would try to drain it — and what happens with Atlas installed. The right-hand rail's refusals are real on-chain reverts on Base Sepolia (chain 84532).

runtime online · base sepolia 84532

$500K USDC Safe · $100K/24h cap · 3 approved targets · single-use nonce

§5 The happy path

Scenario five. The Atlas keeper executes three authorized routes against the same envelope:

50K → recipient A 30K → recipient B 20K → recipient C

Three transfers totaling exactly $100,000 — the daily cap, hit cleanly. Every transfer satisfies the envelope. The principal's pre-committed policy carries all the authority needed for the routes the policy permits.

§6 Outcome

Without Atlas: $0 remaining. Four attacks succeed.

With Atlas: $400,000 remaining. Four attacks reverted. Three authorized routes settled.

The substrate doesn't change the agent. It changes which actions the agent can form.

Same agent. Same intent. The substrate decides what executes.

Atlas blocks structurally what monitoring catches eventually.