encore-webhook
Warn
Audited by Snyk on Jun 26, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.85). The required workflow is an
api.rawwebhook endpoint that ingests third-party HTTP request bodies (outsider-authored free text) into the handler viafor await (const chunk of req)/rawBody = ...toString("utf8"), which is then passed to signature verification and potentially parsed/used in LLM context.
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (high risk: 1.00). The skill includes explicit integration with a payment gateway: Stripe. It shows using the Stripe SDK (new Stripe(stripeApiKey())), verifying Stripe webhook signatures (stripe.webhooks.constructEvent), and references a Stripe webhook secret — all specific to a payment gateway API. Even though the example focuses on webhook verification, this is a specific Stripe integration (not a generic HTTP tool) and therefore grants potential direct financial execution capability.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata