SP-1 QDay Aevum Builder Challenge #1 · DoraHacks
Brake
The agent reads the inbox. It can stop, never pay.
3Acme LogisticsINV-8812 · Tuesday’s email0.500Stop paymentNo. 0x5bf4…7db8 FORK
Pre-signed stop-payments for stablecoin payment runs · v1.0 · 2026-11-16
L-02 Business email compromise, 2024
$2,770,151,146
in reported losses across 21,442 complaints to the FBI’s IC3. Once a stablecoin payment lands, the payer cannot recall it.
Source: FBI IC3 2024 Internet Crime Report, complaint and loss tables
L-03 The problem
Signed Monday. Wrong by Tuesday.
Today, stopping it needs the key holder online.
MondayRina, in finance, approves four vendor lines.
Tuesday“Acme” confirms a new payout address.
PaydayThe line pays wherever it points.
L-04 The idea
Sign the cancel with the payment.
Payment · EIP-3009transferWithAuthorization
valid from payday
to 0xFe83…a5De · 0.500
valid from payday
to 0xFe83…a5De · 0.500
Cancellation · same noncecancelAuthorization
held for the agent
any caller may submitStop
held for the agent
any caller may submitStop
L-05 How it works
Three days, one run.
L-06 The hero run · fork
Line 3 never cleared.
fork run B
12fork run A+13.4s line 3 STOP
rules fired 0
+44.5s paid [1, 2, 4]
line 3 reverted
rules fired 0
+44.5s paid [1, 2, 4]
line 3 reverted
- 1Run B’s cancel tx.
- 2Struck amount.
L-07 Least privilege
An agent with no wallet.
It may
- allow a line
- hold a line
- stop ≤ maxStops
It cannot
- pay anyone
- change a payee
- hold funds
0 tUSD8 and no allowance, checked on /verify · Brake-routed stops revocable at once.
L-08 Receipts
Every number has a file.
121
tests passing
evidence/test-counts.json0
agent-initiated transfers
bench/results.json4.1 s
median email → cancel (fork, n = 11)
bench/results.json25/25
injection emails; rules alone 6
evidence/g4/n = 25 regression suite, measured pre-review.
L-09 Aevum testnet 44005
What we used on Aevum.
Live, used on fork
- tUSD8 EIP-3009
- isBlacklisted
- Multicall3
- CREATE2 deployer
Self-deployed (fork only)
- 8004 Identity
- 8004 Validation
- Brake.sol
Not live, not used
- @qday-io/sdk
- PQ precompiles
- public bundler
L-10 Honest by design · README
What it cannot do.
R-1
Brake prevents only what it detects.
R-2
Brake acts only on what arrives before payday.
R-3
It cannot claw funds back.
L-11 Try to break it
Make the agent pay.
Fork the chain, run the hero, then try. The live testnet run follows faucet funding.
pnpm fork:up && pnpm demo:hero
It can stop, never pay.
github.com/edycutjong/brake