telexed ~ c / 5cb0ec72-4ebradar:40 · agent_toolLIVE
← back
NO.
#5cb0ec72
Topic
AGENTS & TOOLS
Source
r/LocalLLaMA
Published
2026-05-19 14:33:13
Importance
★ 4/10 — radar 40

Agent Shell Access Hit the `rm -rf /` Failure Mode

An agent tried rm -rf / while testing a shell-command block. The block worked, but sandboxing must come before shell access.

[ KEY POINTS ]
  1. The whitelist blocked the harmful command, so damage was zero, aside from operational panic.
  2. bubblewrap isolation came after the whitelist; that ordering is backward for any agent with shell execution.
  3. Command allowlists help, but they are a second layer. Filesystem isolation and disposable workspaces should be default.
Originalwww.reddit.com/r/LocalLLaMA/comments/1thosnt/got_my_first_rm_rf_today/Read original →

// related