ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

I built Confirmation of Payee for AI agents that pay invoices, and tried to break it 187 times

When a person pays an invoice, many banks now check that the name matches the account number. That check is called Confirmation of Payee. When an AI agent pays an invoice, nothing checks. One wrong character in an address, or one invoice with hidden instructions in it, and the money is gone. I buil

dev.toDonnerstag 00:56 · 03.12.2 Min. Lesezeit
Bild: dev.to

When a person pays an invoice, many banks now check that the name matches the account number. That check is called Confirmation of Payee. When an AI agent pays an invoice, nothing checks. One wrong character in an address, or one invoice with hidden instructions in it, and the money is gone.

I built Parapet for the QDay Aevum Builder Challenge. It checks who is being paid before the money moves, then caps how much. The checks live in the smart contract, so the agent cannot talk its way past them.

Demo video: https://youtu.be/GP7C5YiJBz0 Live demo: https://parapet-payee-check.netlify.app Code (MIT): https://github.com/OlatundeOlabanj/parapet

The rules are a hard cap per payment, a daily budget, an approval band for mid-size payments, an agent key that expires, and an optional one-time-code lock on withdrawals and rule changes.

I ran 187 hostile attempts across 15 categories against the deployed contracts: prompt injection, overspending, lookalike names, replays, expired keys, attacks on the code lock, and more. All 187 were handled as expected. Some are refused outright and some queue for approval, so I avoid saying "all blocked".

A re-run script then reads the 245 resulting transactions straight from the chain, with no key, and checks them against what the corpus expected. It reports a match. Anyone can run it from the repo.

An independent AI review of my design found a critical bypass in my own one-time-code lock: someone holding only the owner key could change the rules and then pay without a code. I fixed it before the final contract went on chain, and attacks 160 to 179 in the corpus test exactly that. A second AI reviewer found nothing high or medium. This is not a human audit.

The Aevum chain still signs with ordinary keys. Parapet adds an optional per-payee ML-DSA-65 attestation, checked by a third-party verifier that has not been audited. It makes the payee identity check stronger. It does not make the chain quantum-safe, and I don't claim it does.

I built this with Claude doing the coding while I directed the design and tested it. If you try the demo and find something that looks wrong, tell me in the comments.

Quelle: dev.to (dev.to). Original öffnen