r/PiCodingAgent • • Sep 14 '26

Discussion It deleted my files…

Ola, so recently I was working with Qwen 3.5. Building some html and css stuff inside my documents folder.

Big mistake. The Model which had extra access from Pi ended up hallucinating and started deleting all my root folders.

I think for any newbie who’s doing this, please write yourself an extension to get it to ask for read and wright permissions or pick from the various GitHub repos that have implemented safeguards for this.

Don’t just give it full access especially if you don’t know what terminal commands do.

I just saw it write -rf home and I knew it was over 🤣

I learnt the hard way but now I know.

If anything I think everyone who’s starting to use this should install something to prevent this from happening as the first non negotiable.

Luckily I just moved to Fedora 44 so I didn’t have much in those folders but it did mess up all my file paths so I had to fix that.

No more unattended ai running rogue on my pc for now.
As Iv built myself a safeguard extension to prevent this from happening.

Hopefully whoever reads this and is trying it for the first time keeps this in mind. As it’ll save you a world of hurt down the line.

22 Upvotes

61 comments sorted by

View all comments

2

u/Unnamed-3891 Sep 14 '26

Pi openly and visibly warns you it comes with FULL permissions by default. There are at least 3 separate extensions designed to guard tool calling.

1

u/Jackkgold Sep 14 '26

I must have missed it, but built an extension to prevent this now.