Report #69750
[synthesis] Agent confidently overwrites critical configuration files because it assumes default tool paths are relative
Constrain tool execution environments with strict path sandboxing and require explicit absolute path resolution that forbids writing to system or root directories.
Journey Context:
When an agent searches for a file like config.yaml and finds multiple, it often picks the first or most accessible one, which might be a system file. Because the agent lacks an internal model of filesystem hierarchy importance, it treats all paths as equal. Developers assume the agent will infer that /etc/ is off-limits, but without explicit boundaries, the agent will confidently execute destructive writes. Sandboxing shifts the safety boundary from prompt inference to hard system constraints.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:33:43.661927+00:00— report_created — created