Can one send go through twice?
I gave myself $500 in a demo payment app. When I sent it 100 times at the same moment, my friend ended up with $20,500.
Only check apps you own or have permission to test.
- 110K+
- views on my bank statement reel
- 507
- people sent the free check from a reel comment
- 1,395
- people follow along on Instagram
Counted from Instagram and my DM log.
What I found
$20,500
41 of 100 went through
Same account, same $500 balance every time. Sent one at a time, only the first goes through. Sent all at once, the app keeps saying yes.
| Sent | Went through | Friend got |
|---|---|---|
| One | 1 of 1 | $500 |
| Two, a fifth of a second apart | 1 of 2 | $500 |
| Two at the same moment | 2 of 2 | $1,000 |
| Ten at once | 10 of 10 | $5,000 |
| 100 at once, first try | 32 of 100 | $16,000 |
| 100 at once, second try | 41 of 100 | $20,500 |
A fifth of a second apart, the app behaves. That's why clicking fast by hand almost never finds this, and a script finds it straight away. The money is made up. The hole is real.
Why AI-built apps end up like this
The app checks your balance, then takes the money, as two separate steps. "Read the balance, then write the new one" is the first code an AI writes. Every send that lands in the gap between those two steps sees $500 and passes.
It isn't only money. Coupons, one-per-person rewards, credits, stock and votes all have the same shape.
Check yours in 5 minutes
Do this on a test copy of your app, like a preview or staging deploy, with test accounts. Not on the live one.
- Give a test account exactly one send's worth. A $50 balance for a $50 send, one single-use coupon, one credit.
- Press F12, open Network, and press the button once. Right-click the request, Copy, Copy as fetch.
- Reset the balance or coupon. Open Console, paste your call inside this, and press Enter:
const send = () => /* paste your fetch(...) call here */;
const res = await Promise.all(Array.from({ length: 20 }, send));
console.log(res.map(r => r.status));
Now look at what actually changed: the balance, the order history, the coupon uses. Not the status codes, because a refused send can still come back as 200. Reset and run it twice more, because one clean run can be luck. More than one going through, even once, is the hole.
More than one went through?
The fix is below. If it's money or credits on a live app, send it to me. I fix one finding from $150, and you get the price in writing before I start.
Get it fixedLet your AI run it, free
For Claude Code, Cursor, Lovable or Bolt
Paste it into the chat that has your app open. It runs the check itself and asks before it changes anything.
No coding tool? Open it in a chat that walks you through each step:
Back from your AI without a result link? Tap what it found:
Make it a free account. Run every free check from inside your AI with no copying, see what an add-on can touch before you install it, and keep your results in one place. Your email is already filled in.
Want to see exactly what your AI is told? Here's the page it reads. Not you?
Your AI runs it on your side. VXSec never sees your code or data, only which check ran, when, and how many holes it found. Use a test copy for checks that change data. Nothing gets fixed until you say yes.
How to fix it
Make the check and the change one step, inside the database. I tested this on Postgres 17: 20 sends of $50 at once against a $50 balance, exactly 1 went through.
-- before: check, then change. Two steps, with a gap.
select balance from accounts where id = $1;
update accounts set balance = balance - 50 where id = $1;
-- after: one step. The database refuses if the money isn't there.
update accounts set balance = balance - 50
where id = $1 and balance >= 50
returning balance;
-- no row back = not enough money. Stop.
For one-per-person things, let the database refuse the second one:
create unique index one_use_per_user on coupon_uses (coupon_id, user_id);
On Supabase, never read a balance in the browser and write it back. Do it in a database function and call it with rpc. For payments, send one idempotency key per payment so a double press counts once. Stripe supports this. It stops the same payment twice, not two different ones, so you still need the one-step balance check.
What still catches people
- Testing by clicking fast. You can't click at the same moment. A script can.
- Judging by status codes instead of the balance.
- Disabling the button after one press. That stops the page, not a script.
Questions
My app has no money in it. Does this matter?
If anything is limited, yes. Free credits, invite codes, one vote each, one trial each.
I ran it three times and one went through each time. Am I safe?
That test passed. It doesn't prove a race is impossible, so the fix is still worth it on anything with money.
Can I test someone else's app?
Only with their written permission.
Before you launch
This is one check. Launch Gate runs six in one go on a test copy of your app, this one included, and gives you one page of results with proof. Members get it inside their own AI.
VXSec Membership
$19a month, or $190 a year
- Workspace Setup
- AI Reach Map
- Agent Brakes
- Launch Gate
- Leaver Check
- Every new helper, the day it's out
New members first month $7, then $19 a month. Cancel anytime.
Rather have it done for you? I fix it $150 and up, 20% off for members · Launch Review $297 once, I check and fix the top 3 · Built for you $1,500 a month and up
Want to practise on an app built to be broken first? Open the practice lab.