gangprompting
Warn
Audited by Snyk on Jul 19, 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). Yes: the required runtime workflow runs
discord-agent-bridge.ts monitorand pipes its NDJSON (containingcontentfrom Discord users) intoopencode-relay.ts, which injects it into the OpenCode session viaPOST /session/:id/prompt_asyncas free text (parts[0].text), so outsider-authored Discord message content can reach the agent’s LLM context.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata