Deleting all files from a disk using an agent

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Deleting all files from disk by cursor agent on platforms

Steps to Reproduce

An artifact of the go build command that creates a folder (…) after the build, asking the agent to commit changes to Git. Seeing the folder (…) in Git, the agent executes the delete command, which on Windows results in the complete deletion of all files and folders on the disk.

Expected Behavior

This is too trivial a vector to enter such a catastrophic situation with deleting all files from the disk during development on Go. I don’t know what can solve this problem.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

ide 3.1.15

For AI issues: which model did you use?

auto

Additional Information

This behavior very quickly deletes system files from the disk without the possibility of recovering anything. I just want you to pay attention to this: after losing 1 TB of my work files, it cleared the entire disk in a matter of seconds.

Does this stop you from using Cursor

No - Cursor works, but with this issue

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.