Cursor 3.24 asks for confirmation before dangerous deletions, but Run Everything stays silent

Starting with version 3.24, Cursor's Auto-review mode asks for permission before risky deletions: recursive or forced deletion, wildcard deletion, or cases where the actual target may differ from the one written in the command. In Run Everything mode, the agent executes everything, and according to the documentation, there is neither a sandbox nor a risk classifier. The only way to restrict it is manually through permissions.json.

AI-processed from TG: @tekhnocafe (Технокафе / Вайбкодинг / AI-агенты); edited by Hamidun News
Cursor 3.24 asks for confirmation before dangerous deletions, but Run Everything stays silent
Source: TG: @tekhnocafe (Технокафе / Вайбкодинг / AI-агенты). Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceTG: @tekhnocafe (Технокафе / Вайбкодинг / AI-агенты) ↗
Editor-in-Chief
Key metric #1Keep Auto-review as your primary working mode
Key metric #2Make a git commit before a major agent-driven change
Key metric #3Cursor checkpoints are local; only git preserves project history

The most unpleasant agent failure is not broken code, but a command that silently deletes the wrong thing. One ill-fated rm -rf, one wildcard that expands more broadly than expected, and half the project is already gone. Recent Cursor versions have mitigated some of this risk, but only if you have not disabled the protection yourself.

What changed in 3.24

According to Cursor's release notes, starting with version 3.24, Auto-review mode asks for permission before risky deletions. Four cases fall into this category: recursive deletion, forced deletion, wildcard deletion, and situations where the actual target may differ from the one specified in the command.

The last case is the most insidious. Suppose the agent is about to clean the build directory, but the path is constructed from a variable that is empty or points one level higher. The command looks harmless but may delete something entirely different. Cursor now stops at that point and waits for your confirmation.

Where there is no protection

Run Everything mode works differently. According to Cursor's documentation, the agent executes every command in sequence, with neither a sandbox nor a risk classifier. Restrictions apply only if you define them yourself in permissions.json.

In effect, it is a single switch. While it is enabled, the “are you sure?” prompt will not appear at all, even for a command that wipes out a directory. That may be convenient for quick experiments in a disposable repository. For a working project without a backup, it is a bet that the agent will not make a mistake.

If speed is still essential, it is more sensible to define boundaries in permissions.json—specifying what the agent may and may not run—rather than disabling protection entirely. This way, the no-questions-asked mode at least does not extend to dangerous operations.

A simple habit: commit before making changes

The post's author recommends two things. First, keep Auto-review as the default mode. Second, make a commit before asking the agent to perform a major change.

The second point matters because of how Cursor checkpoints work. They are stored locally and separately from git. Their purpose is to roll back an agent's changes, not to maintain the project's history. Only git retains permanent history. A checkpoint therefore cannot be treated as a substitute for a commit: if the directory itself or the working environment is damaged, the only reliable recovery point will be in the repository.

In practice, the workflow looks like this:

  • before assigning a major task to the agent, capture the current state in a commit;
  • keep Auto-review enabled, especially in projects containing important data;
  • if you use Run Everything, narrow its permissions in permissions.json;
  • treat checkpoint rollback as a convenience, not as insurance.

Limitations and context

To be clear, this is not a study or a benchmark, but a brief note based on release notes and documentation. The post does not explain exactly how Cursor defines a “risky” deletion or how reliably it catches every variation. Auto-review should therefore not be trusted completely either: it reduces risk but does not eliminate the need for disciplined commits.

The post is partly promotional: it continues the animated series “Vibe Coder and Bug,” whose fifth episode covers this topic, and invites readers to join the NeyroMakers club. The author separately discloses the episode's cost: about $5 at API prices, equal to 0.5% of the subscription's weekly limit, plus around 9 cents for ElevenLabs voice-over. Claude wrote the script and animation in Claude Code.

Conclusion

If you work with agents in Cursor, take a minute to check which mode they are running in. If it is Run Everything and permissions.json contains no restrictions, you have effectively authorized the agent to do anything. Switch back to Auto-review and make a habit of committing before major tasks. It costs almost nothing and protects against the most unpleasant category of failures.

Story

Key Questions Answered

What changed in 3.24?

According to Cursor's release notes, starting with version 3.24, Auto-review mode asks for permission before risky deletions. Four cases fall into this category: recursive deletion, forced deletion, wildcard deletion, and situations where the actual target may differ from the one specified in the command. The last case is the most insidious. Suppose the agent is about to clean the build directory, but the path is constructed from a variable that is empty or points one level higher.

Where there is no protection?

Run Everything mode works differently. According to Cursor's documentation, the agent executes every command in sequence, with neither a sandbox nor a risk classifier. Restrictions apply only if you define them yourself in permissions.json. In effect, it is a single switch. While it is enabled, the “are you sure?” prompt will not appear at all, even for a command that wipes out a directory. That may be convenient for quick experiments in a disposable repository.

What are the key details on A simple habit: commit before making changes?

The post's author recommends two things. First, keep Auto-review as the default mode. Second, make a commit before asking the agent to perform a major change. The second point matters because of how Cursor checkpoints work. They are stored locally and separately from git. Their purpose is to roll back an agent's changes, not to maintain the project's history. Only git retains permanent history.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Hands-On AI Engineering · Hamidun Academy

Build & Ship Production AI Agents Without Boilerplate Code

Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.

Start 72h Free Trial →Vibe-Coding Intensive
What do you think?
Loading comments…