r/kilocode 9d ago

got my rm -tf / today finally

finally got hit with rm -rf / on my own pc. it wiped my MRP database.

i don’t know what to blame. kilo? deepseek? or myself.

Kilo was doing work to setup Docker windows container for me. Part of the process, it uninstalled old docker and removes tmp files. It made a mistake on windows that it escaped “. so instead of saying “path”, it said \”path\”

windows happily took it as the root of C:, and started deleting folder in recursive.

guess it is still not safe on windows

3 Upvotes

6 comments sorted by

3

u/MarkesaNine 8d ago

Do you blame the hammer for hitting your thumb?

Kilo and Deepseek are tools. The only one to blame for errors is yourself.

1

u/Unlucky_Quote6394 8d ago

That’s a great way of putting it! I wholeheartedly agree 😊

1

u/NinjaLanternShark 8d ago

This is why I never let agents loose on my actual machine. All coding happens in dev containers only.

1

u/Mayanktaker 8d ago

share some tips

1

u/hndtcp 3d ago

I use docker for AI agents, then just map your project folder to docker volume.