T09 · Insecure Skill Coding Practices
- Location
references/webhook-setup.md:24- Finding
Unsigned webhook content is injected directly into an AI agent prompt
- Content
View full analysis
` header, which protects against random internet traffic. But SNS HTTPS delivery does NOT carry your bearer token by default — the payload is SigV4-signed by AWS with `Signature` + `SigningCertURL` fields in the envelope, which OpenClaw does not verify. ``` ### Technical Analysis The mapping places the complete webhook-controlled `payload` directly into a message that starts an agent action. Alert fields such as titles, descriptions, state reasons, and resource data must therefore be treated as untrusted prompt content, not as instructions. A bearer token limits who can submit requests but does not make submitted text safe. In addition, the documented direct SNS integration does not verify the SNS signature. If the endpoint is exposed through a proxy that injects the bearer token, an attacker able to reach that proxy may submit a forged AWS-shaped event. A compromised authorized publisher could also place malicious instructions in legitimate alert fields. Because the payload enters the agent's conversational context without a strict data/instru ...[truncated 1502 chars]- Remediation
View remediation
