Check the payment code your AI wrote
Find ways to get paid features without paying.
Check my payment code- Anyone can send refunds
- V.I.B.E names the open action
- Only staff can run it
What to paste
- The function that receives Stripe messages
- The function that creates a checkout
- The page or function that runs after payment
Checks
- Paid access granted because of the web address
- A Stripe amount taken from the request
- A payment message check that is missing or can be skipped
- Open email, text and master key functions
- Passwords and secret keys in the same file
Paid features unlocked by a web address
This made-up handler upgrades an account whenever the address says success=true. Anyone can type that. The repaired one asks Stripe whether the session was paid before acting, and hands the upgrade to a step that runs once.
- A paid setting is changed because the web address says payment workedLine 4
Change paid settings only on your server, after a checked payment notice or after looking the payment up with your payment company and seeing it is paid. Make it safe to run twice.
Checked again after the fix: none of these results come back.
A price the buyer gets to choose
Here the checkout takes its amount from the request, so someone who edits that request can pay far less for a class. In the repaired version the browser only names a product, and the server picks the matching Stripe price.
- A Stripe amount is taken from what the browser or caller sendsLine 8
Accept only product names or ids and quantities, then look each price up on your server or use Stripe price ids. If buyers choose the amount, such as a gift, set a lowest amount on your server.
Checked again after the fix: none of these results come back.
A message check that quietly switches off
A webhook is the message Stripe sends your server after an event. This code verifies it only when a signing secret is present. Deploy without that setting and every message is believed, forged ones included. The repaired code always verifies, so a missing secret stops the request instead.
- The Stripe payment notice check can be skippedLine 8
Check the Stripe signature on every payment notice with Stripe’s library, using the raw request body and the signing secret kept on your server. If the secret or signature is missing, or the check fails, refuse the message and stop.
Checked again after the fix: none of these results come back.
Why is a thank-you page not enough?
Stripe says fulfilment cannot depend on the landing page alone, because a customer may pay and lose their connection before it loads. Your server should act on the webhook too, look at the payment status and deliver once for each payment.
Ask your editor for one function that reads payment_status, records that it ran, and is called from both the webhook and the return page.
Could someone forge a paid message?
Your endpoint has a public web address. Stripe says that unverified events let an attacker trigger actions such as shipping an order or granting account access. The check uses the Stripe-Signature header, the untouched request body and the secret belonging to that endpoint.
Reject any message that fails, then send a test-mode payment to prove real ones still arrive.
Can the agent erase your live database?
One founder’s account, reported on 5 May 2026, says an agent working in Cursor deleted a production database and the backups stored with it in nine seconds. The hosting company later recovered newer data. It is a single incident and says nothing about how often this happens. It does show what is at stake when an agent can reach live systems.
Keep live database keys off the computer the agent works on, and hold one backup that those keys cannot delete.
Which commands should never touch real data?
Prisma, a common database library, documents migrate reset as a development command that drops the database, db push --force-reset as a wipe, and --accept-data-loss as a way past warnings. It blocks some destructive commands when it detects an AI agent, until you consent.
Search your scripts and the agent’s instruction files for all three. Run them only against a copy you can throw away.
Will rewind put everything back?
Check what your editor tracks. Claude Code says its checkpoints follow edits made with its own file tools. A file changed only by shell commands is not tracked, edits by helper agents are usually not captured, and snapshots are removed by default about 30 days after a session last saved one.
Commit to Git before each large request, and push to a private repository you control.
Does excluding a file keep it secret?
Not necessarily. GitHub offers Copilot content exclusion on its Business and Enterprise plans, and says it is not a filesystem security boundary: it cannot guarantee that every route to a file is blocked.
Keep live keys out of the project folder altogether, and build with test keys.
Can an assistant invent a package?
Yes. A study last revised on 9 November 2026 tested five models. Between 3.6% and 5.0% of the packages they mentioned did not exist, so roughly 4 mentions in every 100. About 1% of the invented names had been registered within six months, and at least 23 suggested names had earlier carried malware. The rates come from the study’s own tests, not from your project.
Before approving an install, open the package’s registry page and look at its age, source and users.
Can an installed package change your editor?
StepSecurity, a company selling security tools, reported on 11 May 2026 that a self-spreading npm worm wrote a start-up command into .claude/settings.json and a folder-open task into .vscode/tasks.json. Its clean-up advice treats those files as a job separate from reinstalling packages.
Look in both files for commands you did not add, restore them from a clean copy and get experienced help.
Where does this paste check stop?
It reads one file at a time, in your browser. Stripe is the only payment service it knows, it does not follow logic spread across files, and it ignores package lists, database scripts and editor settings. A quiet result is not proof that your checkout is safe.
How do you prove the checkout is fixed?
In Stripe test mode, pay normally, then open the success address without paying, then send an altered amount. Only the honest purchase should unlock anything. Publish, and run the free website check on the live address.
Sources, read 30 November 2026
- Stripe: fulfil ordersno date shown
- Stripe: webhooksno date shown
- Information Age: deleted database reportpublished 5 May 2026
- Prisma: command line referenceno date shown
- Claude Code: checkpointingno date shown
- GitHub: Copilot content exclusionno date shown
- Research paper: invented package namesrevised 9 November 2026
- StepSecurity: npm worm report (vendor research)published 11 May 2026
V.I.B.E is made by TNAADO. It is not part of, or endorsed by, Cursor, Anthropic, OpenAI, GitHub, Prisma or Stripe.
Advanced app builds
TNAADO builds multiplatform products that take payments and protect sensitive data.
Start a project