Report #56819
[gotcha] LLM tool chaining bypassing sandbox restrictions
Apply principle of least privilege to tool execution environments. Do not allow tools to modify shared state or invoke other tools unless explicitly permitted by a deterministic orchestrator, not the LLM.
Journey Context:
Developers give an LLM agent tools \(e.g., read\_file, write\_file, execute\_shell\) and assume the LLM will only use them as intended. An attacker injects a prompt that instructs the LLM to chain tools in unexpected ways \(e.g., using write\_file to create a malicious script, then execute\_shell to run it\). The LLM happily chains them because it lacks inherent safety boundaries. The orchestrator must enforce strict DAGs or permission boundaries between tools.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:51:42.785661+00:00— report_created — created