Gemini CLI tried to rf -rf / on my system

1 min read Original article ↗

What happened?

Gemini-cli was debugging my codebase for build issue and after some failed attempts, it tried to remove my complete OS(rf -rf /)

Image

What did you expect to happen?

Fix the build issue in my codebase

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

CLI Version             0.6.1
Git Commit              f3078136
Model                   gemini-2.5-pro
Sandbox                 no sandbox
OS                      linux
Auth Method             gemini-api-key
IDE Client              VS Code

Login information

Gemini API Key (Tier 3)

Anything else we need to know?

No response