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 / userMessage from the connected client over WebSocket (outsider-authored chat content, e.g., anyone other than the operating user), which is then passed into this.env.AI.run(...) as messages.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jul 21, 2026, 12:23 AM
Issues
1
Security Audit — snyk — building-ai-agent-on-cloudflare