One bash permission slipped...

Reddit r/LocalLLaMA / 5/4/2026

💬 OpinionDeveloper Stack & InfrastructureSignals & Early TrendsTools & Practical Usage

Key Points

  • An incident reported on Reddit describes how an LLM-driven workflow generated chained bash commands with incorrect escaping, resulting in the creation of many unintended directories.
  • The user says the system then attempted to “fix” the mistake, while also proposing to run a large bash command containing a destructive `rm -rf`, which the user failed to notice.
  • The issue occurred in an isolated Proxmox VM used for coding with LLMs rather than the user’s personal computer.
  • The author emphasizes that frequent commits helped, but the disruption and fallout were still described as massive.
  • Overall, the post highlights the risk of LLMs producing unsafe shell commands, especially when user review is incomplete.
One bash permission slipped...

How? It kept getting chained bash commands wrong, with wrong escapes. So it created many bad directories, and tried "fixing" its mistake. It offered to run a large bash command, with rm -rf inside, and stupid me missed it.

I'm glad I push everything often. But the disruption is massive.

FAQ:

  • No, I don't run this on my personal computer. It's an isolated proxmox VM for coding with LLMs.
submitted by /u/TheQuantumPhysicist
[link] [comments]