Pull down to go back
One bash permission slipped... and an AI nearly deleted everything

One bash permission slipped... and an AI nearly deleted everything

一個 bash 權限洩漏...AI 差點把整個系統刪掉

A developer gave an AI access to run bash commands in an isolated VM, and it went wrong fast. The AI kept messing up command syntax and escaping, created a bunch of broken directories, then tried to "fix" its own mistakes by suggesting a massive bash command—complete with rm -rf. The developer almost ran it without noticing. Thankfully they push code constantly, but the damage was still significant. It's a sobering reminder that even in isolated environments, giving LLMs shell access is playing with fire.