How do I disable sandbox when agent wants to run commands?

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

These days I am seeing that cursor agents try to run their commands on some sandbox where none of my stuff is available. I work primarily with go, and none of the go stuff works in sandbox. The LLMs keep trying and waste tokens and my money and time. I have to explicitly ask it not to use sandbox every time. I have a global rule that says don’t use sandbox, but it is not enough at all.

Steps to Reproduce

Just work with any go codebase with the latest cursor

Expected Behavior

It should not use sandbox unless I ask it to

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.46 (Universal)
VSCode Version: 1.99.3
Commit: b9e5948c1ad20443a5cecba6b84a3c9b99d62580
Date: 2025-10-14T01:21:46.830Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

Hey, thanks for the report. Auto-run in sandbox is a new feature that can bypass your usual environment.

To disable it:

  • Settings → Chat → Inline Editing & Terminal, then enable “Legacy Terminal Tool”

Let me know if this solves the issue.

Thank you, this seems to be working :smiley:

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