whatsapp-cloud-api
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill is a legitimate tool for WhatsApp API integration and follows industry security standards.\n
- Secure Webhook Implementation: The provided boilerplate code in
assets/boilerplate/nodejs/src/webhook-handler.tsandassets/boilerplate/python/webhook_handler.pyincludes robust validation of incoming webhook signatures using theX-Hub-Signature-256header and timing-safe equality checks (crypto.timingSafeEqualandhmac.compare_digest).\n - Environment Variable Management: The skill correctly guides users to manage sensitive credentials (tokens, secrets) via
.envfiles rather than hardcoding them in the source code.\n - Project Setup Safety: The
scripts/setup_project.pyscript includes path validation logic to prevent accidental modification of the skill's own source files.\n- [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves receiving and processing external data from the WhatsApp platform, which introduces a potential attack surface for indirect prompt injection.\n - Ingestion points: Incoming messages and status updates are received via POST requests to the
/webhookendpoint inassets/boilerplate/python/app.pyandassets/boilerplate/nodejs/src/index.ts.\n - Boundary markers: The implementation logic separates message processing into discrete types (text, interactive, media), reducing the risk of instructions in user content being misinterpreted as commands.\n
- Capability inventory: The skill has the capability to interact with the Graph API to send messages, react to messages, and update statuses across multiple scripts (
whatsapp_client.py,whatsapp-client.ts).\n - Sanitization: Authentication and integrity are maintained through HMAC-SHA256 signature validation, ensuring that data is only processed from verified Meta servers.
Audit Metadata