One of the critical security bugs I found in the payment code I reviewed and eachOne of the critical security bugs I found in the payment code I reviewed and each
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
One of the critical security bugs I found in the payment code I reviewed
and each of the bugs could have caused serious financial loss
Bug #1: Trusting the payment gateway's response amount 💸
The code:
Gateway says: charge $1,000,000
System credits: $1,000,000
User actually paid: $1,000
One compromised API response = $999,000 loss.
The fix?
YOUR database is the source of truth.
✅ Store amount at initialization
✅ Verify gateway matches YOUR record
✅ Credit from YOUR database, not theirs
Small businesses lose 10+ hours a week on manual invoicing. 🧾
I built InvoiceFlow to fix that: a full-stack web app to create invoices, manage clients and track Paid / Unpaid / Overdue status from one live dashboard.