building-ai-agent-on-cloudflare
Warn
Audited by Snyk on Jul 21, 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.95). The required runtime path builds the LLM prompt messages using
data.content/userMessagefrom the connected client over WebSocket (outsider-authored chat content, e.g., anyone other than the operating user), which is then passed intothis.env.AI.run(...)asmessages.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata