Evil Claude Cursor

Describe the Bug

Cursor just rm rf my entire Home folder LOL

Steps to Reproduce

I mean I dunno.. it just said " Oh that was a bad idea…
" Let me try and fix that…"

Expected Behavior

Not that?

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:13:33.781Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.15.3-200.fc42.x86_64

Please set rule in settings because cursor still doesn’t solve this problem :slight_smile: Yolo modeee

what rule it actually didn’t delete whole folder. just all files under folder. user holder stands whole

I have never done it myself haha

Try it

Cool beans didnt think something like that wouldn’t be on by default :wink: I am LOL’ing not being angry . still a bug. There about a trillion options. will make sure i dont give it the rm/rf* bc I should have expected it? Have a good one!

a lot of people have this issue. Cursor team said that it’s not a bug, it’s a feature

Hey, thanks for bringing this up again. I agree that potentially dangerous commands should be disabled by default, since they can really harm users who aren’t familiar with terminal commands.

But I also think this isn’t a bug, because the agent does need the ability to delete files and folders inside the project. Blocking these commands completely could really limit what the agent can do.

I think having them disabled by default, with an option to enable them if needed, would be a good solution.

I’ve also logged this issue in our internal tracker so the team can review it.

Just to be clear , im familiar enough with terminal commands to know what happened so I don’t think it’s just becaue Im an idiot . I just asked it to do a health check or something mundane and it decided things would be in fact better all gone. It was a fresh install and I was experimenting, simple as that. Thanks :slight_smile:

1 Like