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
How it works
- You set the limits. How much per payment, how much per day, and who may be paid.
- The agent asks to pay. The contract checks the payee's registered name against the address, then the limits.
- Unsafe payments stop. They are refused, or they wait for the owner. The agent has no setting that loosens this.
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.
Trying to break it
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.
A bug I found
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.
What it does not do
- It runs on a test network only, with test tokens and no customers.
- It does not prove who signed a payment. It proves who gets paid and how much. Those are different problems and I picked one.
- One limit I know about: a one-time code that is visible on the network before it is mined can be used once, by someone who already holds the owner key. Commit-and-reveal would close it. That is next.
Post-quantum, plainly
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.