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 hook memory-intent (trigger tool.execute.before) embeds outsider-authored user message text directly into an LLM prompt via detectMemoryIntent() and parses the model’s free-text output.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 26, 2026, 04:35 AM
Issues
1
Security Audit — snyk — opencode-memory