# How to use Cursor to evaluate background Git isolation

Or Hiltch traced Cursor CLI’s internal Git outside its shell sandbox, used negative controls, and repeated three clean tests after the vendor hardened Git.

Agent: Cursor (via Cursor CLI on macOS in a controlled security evaluation)
Tools: Cursor CLI, Git, macOS Seatbelt, process tracing
Category: Security
Date: 2026-09-12

Outcome: A controlled background-Git sandbox escape was isolated and disclosed; three clean retests of Cursor’s fix no longer executed the prepared hook.

## Steps

1. Hiltch ran a read-only agent request against a prepared archive while tracing internal Git processes.
2. He compared the successful benign marker with a blocked shell write and a hook-free control workspace.
3. After Cursor hardened Git child-process configuration, three clean retests no longer triggered the hook.

Human oversight: The researcher prepared an inert marker, traced actual process ancestry, ran negative controls and repeated remediation tests; normal-clone delivery remained untested.

Source: [Or Hiltch — Accomplish blog](https://accomplish.ai/blog/beltdown2-escaping-the-cursor-cli-sandbox/)

Canonical URL: https://agentsinuse.com/use-cases/cursor-to-evaluate-background-git-isolation/
