webhook-integration

Pass

Audited by Gen Agent Trust Hub on Nov 3, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of untrusted JSON data from external webhook events, creating a potential attack surface for indirect injection if not handled correctly. However, the skill is designed defensively to mitigate this risk.
  • Ingestion points: Untrusted data enters the application via HTTP POST request bodies at the /webhook endpoint, as documented in SKILL.md.
  • Boundary markers: The instructions emphasize the use of the webhook-signature and webhook-id headers to validate the source and uniqueness of the data.
  • Capability inventory: The code examples demonstrate the capability to perform database writes and trigger business logic (e.g., handlePaymentSucceeded) based on the webhook content in SKILL.md.
  • Sanitization: The skill mandates the use of the official SDK's unwrap() method to perform HMAC-SHA256 signature verification on the raw request body. This ensures that only authenticated payloads from the vendor are processed.
  • [SAFE]: The skill follows industry-standard security practices for payment integrations. It correctly uses environment variables for sensitive API keys and signing secrets, provides guidance on avoiding common implementation mistakes (e.g., re-serializing bodies), and utilizes official vendor-provided libraries and tools.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 3, 2026, 05:27 PM