Menu

1 / 5

Give your AI agent the cancel, not the key

DEV Community: security·Edy Cu·14 days ago
#DLFIx8mE
#devtosecurity#devto#dev#line#payment
Long article (1537 words) — no AI summary yet.
Reading 0:00
15s threshold

A finance team approves Friday's vendor payments on Monday. On Tuesday an email arrives from the vendor's real mailbox: "confirming Friday's payment goes to the updated payout address… please don't call, just reply here." On a stablecoin chain, once that payment lands, nobody can pull it back.

The obvious fix in 2026 is an AI agent that reads the inbox and reacts. The obvious problem is that an agent reading attacker-written email is the most prompt-injectable thing you can build, and the usual guardrail ("give it a session key with a spend cap") still lets a hijacked agent pay up to the cap.

I built Brake for the QDay Aevum Builder Challenge around a different idea: don't give the agent a key that can pay. Give it the cancel.

Live app: app.brake.edycu.dev

Repo: github.com/edycutjong/brake (MIT)

Demo video (3 min): youtu.be/AHshl1gDvHs

The primitive: EIP-3009's cancelAuthorization

USDC-style tokens (Circle's FiatToken v2) implement EIP-3009.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.