Skip to content

Cursor

Validate Cursor's network egress (including extensions), integrated terminal behaviors, file associations, and data-motion surfaces under the Secure Sandbox.

Objectives

  • Enforce deny-by-default egress, proxy enforcement, and pinned roots for marketplace/extensions.
  • Verify integrated terminal commands (curl/wget/git/PowerShell) cannot bypass egress controls.
  • Confirm file associations, clipboard/drag-drop behave as intended.

Preconditions

  • Windows target with Turbo Launcher and Secure Sandbox.
  • Cursor installed.
  • Networking deny-by-default with proxy enforcement and pinned roots.
  • DataMotion posture configured for clipboard/dragDrop/screen capture.

Controls Under Test

  • runtime.networking.egressDefaultAction, proxy enforcement and pinned roots.
  • runtime.dataMotion.rules[] with channel: "clipboard"|"dragDrop"|"screenCapture".
  • File associations for file types Cursor handles.

Test Scenarios

IDCanonical IDScenarioProcedureExpected Outcome
SCEN-APP-CURSOR-01NET-ENCRYPT-01Marketplace via proxyInstall a popular extension from Marketplace.Requests traverse enforced proxy; pinning enforced; denied if not allowed.
SCEN-APP-CURSOR-02NET-EGRESS-01Direct IP from terminalcurl http://<IP>Denied per egress default deny.
SCEN-APP-CURSOR-03NET-PROTO-02IPv6 paritycurl -6 https://example.comBlocked same as IPv4 if not allowlisted.
SCEN-APP-CURSOR-04DM-CLIP-01Clipboard outboundCopy from editor; paste on host.Denied/processed per policy.
SCEN-APP-CURSOR-05DM-DRAG-01Drag-drop outboundDrag a file from Cursor to host.Blocked per policy.
SCEN-APP-CURSOR-06HARD-FILES-01Files tab boundariesOpen, edit, save within Storage Context; check host.Writes remain overlay-only unless mapped.
SCEN-APP-CURSOR-07HARD-PROCESS-04Malicious extension processInstall 'Hello World' extension; modify to spawn node.exe accessing env/net.Child process inherits sandbox; access denied.
SCEN-APP-CURSOR-08DM-CLIP-04CertUtil decode bypassPaste large base64 blob (> limit) to terminal; run certutil -decode.Pass: Paste blocked by DataMotion size limit; payload never reaches terminal. Audit shows channel: "clipboard", action: "deny".
SCEN-APP-CURSOR-09NET-EGRESS-01Third-party galleryConfigure serviceUrl to non-official gallery (e.g., OpenVSX) in settings.Connection denied by default egress unless allowlisted; audit shows action: deny; proxy/pinning enforced.

Evidence Requirements

  • network and dataMotion events as applicable; include rule.id, priority, and protocol fields.

Troubleshooting

  • Some extensions may batch requests; monitor audit over a longer window.
  • Integrated terminal may respect system proxy variables; ensure policy enforces proxy at the sandbox boundary.

Known Limitations & Negative Space

  • Extensions can vary widely; validate a representative set for the organization