Build note
Build note: six attacks against my own payout prototype
Last week I had Claude Code write six attacks against my own stablecoin payout prototype. Writing them showed me two checks I'd never built.
My code capped each payout at 10 test USDC. But nothing said when its permission ran out, or which addresses it could pay. So I added both.
One attack came from Rizwan Zafar, in a comment under my Nov 13 post. He described a $50,000 wire limit beaten by ten wires of $49,000, and said treasury controls usually add daily and per-payee totals on top.
My version sends a string of small payouts to one address, each under the cap. The code also adds up the last 24 hours and refuses the payout that takes the total past 50. I don't have a per-payee daily cap yet.
All six are blocked now. These are unit tests, not live payments.
Does your business bank account cap the daily total, or only each payment?
Sources
Sources are in the first comment of the original post.