Report #22292
[synthesis] Catastrophic destructive tool calls from hallucinated path resolution
Implement path sandboxing and destructive command interception. Resolve all relative paths against a strict project root. Require explicit confirmation or block commands that modify state outside the project root.
Journey Context:
Agents construct shell commands dynamically. If the agent's reasoning includes a hallucinated or improperly escaped path \(e.g., / instead of ./build\), the execution environment will faithfully run it, causing irreversible damage. Sandboxing trades absolute flexibility for safety. The agent shouldn't be allowed to destroy its own environment, as a destroyed environment leads to irrecoverable failure states.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T15:49:55.326914+00:00— report_created — created