How we let an AI run payroll without touching the money A developer built PayWarden, a payroll system in which an AI assistant drafts payment runs but never holds funds or keys, submitting only a single proposeRun call that the employer must sign. Worker signatures on hours make prompt-injected or inflated pay lines impossible rather than merely capped, and each paid line mints a non-transferable ERC-721 payslip. An attack script on the Aevum testnet reported 71 of 71 attacks refused with zero wrong payments, and 10 of 10 genuine paydays paid with no false refusals. Payroll is the most repetitive money job a small team has. Every week or month someone reads timesheets, matches names to wallet addresses, adds it all up and pays. It is exactly the kind of work you want an AI assistant to do. The problem is the usual way to automate it: you give a bot a hot wallet. Then one poisoned timesheet, one prompt injection hidden in a file, or one wrong address, and the money is gone for good. A spending cap limits the damage, but it does not stop the attack. For the QDay Aevum Builder Challenge I built PayWarden , payroll where an AI does the work and never holds the money. This post is how it works and what I learned. The whole design fits in one sentence: the worker signs the hours, the AI drafts, you sign the pay. proposeRun . That is the only thing its key can do. It cannot approve, pay, withdraw or change its own limits. Between steps 2 and 3, the contract checks everything: every signature against the confirmed wallet, per-person, per-run and per-period caps, an expiry, an off switch, and that no line was already paid. Anything wrong reverts with a named error before a person ever sees it. Most "safe agent" designs put a cap on the bot. A cap says: you can lose at most this much. Worker signatures change the question. The AI cannot invent a line, inflate hours or add a payee, because it cannot produce the worker's signature. A prompt-injected line is not capped. It is impossible. And because the contract records paidLine payee period , the same signed line can never be paid twice, even across two different runs. The assistant can also work through the employer's ERC-4337 smart account EntryPoint v0.7, already deployed on Aevum . Its key becomes a session key that can sign exactly one call, proposeRun on one vault, until an expiry the EntryPoint enforces. The owner also caps the gas price and gas a session operation can use, so a stolen key cannot even drain the gas deposit. The key holds no money and no gas. In the on-chain proof, its balance is zero before and after. This is the part I am proudest of. Every time a line is paid, the vault mints a payslip to the worker in the same transaction. It is an ERC-721 token that cannot be transferred ERC-5192 , and only vaults created by the PayWarden factory can mint one. So a payslip can only exist if the worker signed that line and the employer signed the payment. The metadata amount, employer, vault, period, date is built on-chain, and anyone can open paywarden.me/payslip/