codex-companion

Warn

Audited by Snyk on Apr 2, 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.80). The companion runtime (scripts/lib/codex.mjs and the runAppServerTurn/captureTurn flow) explicitly records and ingests tool outputs such as "webSearch", "dynamicToolCall", and "mcpToolCall" into the assistant's reasoningSummary/final message and into actionable outputs (fileChanges/touchedFiles), and SKILL.md / PROMPTING.md encourage using tasks for "research" — meaning untrusted public web or tool results can be read and used to drive decisions or writes.

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 2, 2026, 02:54 PM
Issues
1