Report #79141
[gotcha] Command injection through unsanitized tool return values
Enforce strict boundaries between tool output and tool execution; never pass the raw output of one tool directly as a shell command to another without explicit user confirmation or strict parsing.
Journey Context:
It's tempting to let agents chain tools fluidly \(e.g., Tool A returns a script, Tool B runs it\). However, if Tool A is compromised or returns malicious content \(e.g., from a web scrape\), the agent will execute it with local privileges. Output must be treated as data, not code.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:26:09.021548+00:00— report_created — created