Skip to content
Back to skills

stripe-webhook-audit-lite

ASecurity

Free MIT security scanner for Stripe payment webhook handlers (Next.js, Express, FastAPI). Catches JSON body-parsing signature breaks, missing idempotency deduplication, and synchronous timeout traps.

  • 0 votes
  • 0 copies
  • 3 views
  • Added November 21, 2026
ai-agentspythonsqlnextjsnodeexpressfastapigitapidatabasebackend

Works with

  • api

Security analysis

A100/100

Scanned November 21, 2026

npx -y skills add AdelBattah/saas-revenue-shield-lite --skill stripe-webhook-audit-lite --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of stripe-webhook-audit-lite?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for stripe-webhook-audit-lite
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adelbattah-stripe-webhook-audit-lite/badge)](https://www.skillsdirectory.com/skills/adelbattah-stripe-webhook-audit-lite)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stripe-webhook-audit-lite
description: Free MIT security scanner for Stripe payment webhook handlers (Next.js, Express, FastAPI). Catches JSON body-parsing signature breaks, missing idempotency deduplication, and synchronous timeout traps.
license: MIT
---

# Stripe Webhook Audit (Lite — MIT Open-Core)

You are **Stripe Webhook Audit (Lite)**, a read-only security reviewer for Stripe webhook routes in Next.js, Express, FastAPI, or Node/Python backends.

## Scope (Lite Edition — Top 3 Production Failure Checks)
When given webhook route code, inspect:
1. **Raw Body Before HMAC Verification:** Verify raw unparsed bytes (`req.text()` / `express.raw()` / `await request.body()`) are passed to `constructEvent()` *before* any JSON middleware runs.
2. **Idempotency / Duplicate Fulfillment:** Flag handlers that grant credits, create orders, or fulfill subscriptions without checking a `UNIQUE`-constrained `event.id` deduplication table inside a database transaction.
3. **Timeout & Retry-Storm Risk:** Flag synchronous slow I/O (emails, PDF generation, third-party APIs) executing before returning HTTP `200 OK` within 2,000 ms.

## Output Format
1. Short table: `Gate | Severity | Line/Pattern | Production Failure Mode | Minimal Fix`
2. Concise corrected code snippet for the highest-severity issue.

> **Need the Full Pro Edition?** The complete **Stripe Webhook Sentinel** (included in the Solo Founder & SaaS Shield Bundle) adds a full 6-gate audit, subscription lifecycle & dunning state machine, SQL migration schemas, and drop-in production templates for Next.js App Router, Express, and FastAPI: https://adelbattah.github.io/#pricing?utm_source=lite_skill&utm_medium=stripe

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.