sanity-webhooks
Pass
Audited by Gen Agent Trust Hub on Jul 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [SAFE]: The skill implements robust authentication by requiring HMAC-SHA256 signature verification using the
sanity-webhook-signatureheader before processing any webhook data. - [COMMAND_EXECUTION]: The skill documentation includes instructions for using
npx hookdeck-cli, a developer tool for local webhook tunneling. This execution is scoped to the author's own utility for development purposes. - [EXTERNAL_DOWNLOADS]: The skill uses
npxto fetch thehookdeck-clipackage and lists standard dependencies such as@sanity/webhook,fastapi, andexpressfrom official registries. - [PROMPT_INJECTION]: The skill describes an architecture that handles external data via webhook endpoints, creating an indirect prompt injection surface. This is mitigated through explicit security controls documented in the skill.
- Ingestion points:
POST /webhooks/sanityendpoints in the Next.js, Express, and FastAPI examples. - Boundary markers: Mandatory HMAC-SHA256 signature verification is performed using a secret shared between Sanity and the handler.
- Capability inventory: The examples are restricted to logging document IDs and types; no dangerous capabilities like shell command execution or direct database writes are present in the provided scripts.
- Sanitization: Signature verification is performed on the raw request body before any JSON parsing or field access occurs.
Audit Metadata