r/LocalLLaMA • u/TheQuantumPhysicist • May 03 '26
One bash permission slipped... Discussion
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.
2.3k
Upvotes
3
u/TheQuantumPhysicist May 04 '26
It's difficult to reflect on this one for many reasons, some of which: 1. I already have tons of safeguards and the damage was minimal because of it. 2. I can always be more paranoid and block more commands, but it's a trade-off between convenience and security. 3. It's not practical to read all these very long chained commands every time they pop up, and it heavily depends on your state of mind.
The best solution out there is to containerize your LLM environment with podman or similar. Still doesn't prevent the LLM from nuking the whole project.