stripe

Warn

Audited by Socket on Oct 8, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/webhook_handler.py

The code appears to be a legitimate Stripe webhook handler, not malware. Its principal security defect is that webhook authentication is disabled when STRIPE_WEBHOOK_SECRET is absent, permitting forged events to reach handlers. Running Flask with debug=True on 0.0.0.0 and returning raw exception messages further increases exposure. The fragment also appears syntactically incomplete at the final app.run call. Configure and require the webhook secret, disable debug mode in production, restrict binding through a production WSGI server, and avoid logging or returning sensitive details.

Confidence: 98%Severity: 78%
AnomalyLOW
references/stripe.md

The fragment is legitimate Stripe integration documentation and shows no evidence of malicious behavior or supply-chain compromise. It contains several security-relevant implementation gaps: unvalidated client-controlled priceId, mode, and userId; missing visible authentication in checkout; possible null dereference during webhook synchronization; and absent explicit idempotency handling. These should be corrected before production use, but the code itself does not exhibit malware, credential theft, exfiltration, or obfuscation.

Confidence: 97%Severity: 55%
Audit Metadata
Analyzed At
Oct 8, 2026, 08:59 PM
Package URL
pkg:socket/skills-sh/acaprino%2Fdaodan%2Fstripe%2F@7157eda2b37b95d9167f8889a4927dcb4b4962d40a9f66ecea054d1654d5f0a2