2026-11-29 · Daily security tips
Could someone fake a Stripe payment to your webhook?
A webhook is just a public URL. If your handler reads the JSON, sees type: "checkout.session.completed" and unlocks a plan, anyone who finds the URL can post that same JSON and get the plan for free. Stripe's docs say to verify every event before acting on it, using the Stripe-Signature header.
Check: open your webhook route and look for stripe.webhooks.constructEvent (or constructEventAsync) with a whsec_ signing secret, called before any database write. If the code goes straight from req.json() to event.type, it isn't verifying anything.
Fix: read the raw body, pass it with the header and your endpoint's signing secret to constructEvent, and return 400 if it throws. Keep the whsec_ secret in a server-only env var.
The full guide has the check and fix for Next.js, Express and Supabase Edge Functions, and what to do about the "No signatures found matching the expected signature" error.
Read the Stripe webhook guide →Is your live site exposing something like this?
The free quick check looks at what your site already serves publicly: secret keys in your JavaScript, open /.env files and /.git folders, Supabase tables readable with your public key, missing security headers, CORS misconfiguration, insecure cookie flags and TLS certificate expiry. No sign-up needed.
No app handy?
Example result · our deliberately broken demo app
6 issues found: 3 critical, 1 high, 1 medium, 1 low
- Critical: Stripe live secret key in public JavaScript
- Critical: /.env file readable by anyone
- High: Git repository exposed (/.git/HEAD)
The demo's problems are planted on purpose. Paste your own URL above to see yours.
No sign-up. Read-only public-resource and protocol metadata checks. No model prompts or tool execution. Scan only sites you own or are allowed to test.
Run on every deploy or use from Cursor / Claude Code via MCP →
Weekly AI-app security checklist
One short email a week: a practical check for apps built with Supabase, Next.js and AI tools (RLS, leaked keys, headers and more). Unsubscribe anytime.