Feature request for product/service
Cursor IDE
Describe the request
Context
I’ve configured sandbox.json in my project with networkPolicy: { default: "deny", allow: [] } to restrict network access.
Questions
-
Agent bypass
The agent can bypasssandbox.jsonrestrictions by specifyingrequired_permissions: ["network"], which allows network access after user approval. I couldn’t find any official way to disable this permission request. -
Purpose of sandbox.json
I understand it acts as a safety net when the agent forgets to request permissions, but since users can always approve and bypass it, the value of configuringsandbox.jsonfeels unclear.
Suggestions
- Add an option to disable bypass via
required_permissions(e.g. “Strict sandbox mode: do not allow permission requests”). - Or clarify in the docs how
sandbox.jsonandrequired_permissionsinteract and what the recommended usage is.
Environment
- Cursor 2.5+ (with Sandbox Network Access Controls)
sandbox.jsonconfigured withdefault: "deny"