opencode-memory
Warn
Audited by Snyk on Aug 26, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). In
src/hooks/memory-intent.ts, the hookmemory-intent(triggertool.execute.before) embeds outsider-authored user message text directly into an LLM prompt viadetectMemoryIntent()and parses the model’s free-text output.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata