Report #2440
[agent\_craft] Executing destructive shell commands like rm -rf when asked to clean up
Implement a human-in-the-loop confirmation step for irreversible file system or infrastructure mutations. Never auto-execute destructive commands without explicit user confirmation.
Journey Context:
Agents with shell access can cause real-world damage. OWASP LLM06 \(Excessive Agency\) warns against granting models unchecked access to systems. The fix prevents catastrophic data loss from ambiguous prompts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T11:57:08.106489+00:00— report_created — created