Repository navigation
Description
Operating system
macOS
Orca version
v1.4.137
Details
Summary
Related to #6996 / #7003 but a distinct case, on a build that already ships the login(1) wrapper. When a terminal under Orca runs ssh against a third-party SSH agent (Secretive's SecretAgent, via SSH_AUTH_SOCK), the kTCCServiceSystemPolicyAppData prompt ("'Orca' would like to access data from other apps") re-appears. Clicking Allow works for the moment but is not remembered across sessions.
Unlike #6996, the child's TCC identity is not collapsed into Orca's — the login(1) fix is working. The problem is different: the AppData grant is written session-scoped (tied to Orca's session pid) rather than as a durable per-identity grant, so a new Orca session/pid re-triggers the prompt.
Environment
- Orca: 1.4.137
- macOS: 26.5.2
- Secretive / SecretAgent: 3.0.4
- SSH via
SSH_AUTH_SOCKpointing at SecretAgent's socket
login(1) wrapper is active (not the #6996 bug)
/usr/bin/login -flpq <user> /usr/bin/env SHELL=/bin/zsh /bin/zsh -l
All terminal shells are correctly wrapped, so this is not the identity-collapse case #7003 fixed.
What the TCC log shows
The attribution chain is correct — accessing is ssh's own identity, cleanly separated from Orca as responsible:
AttributionChain: responsible={identifier=com.stablyai.orca, binary_path=/Applications/Orca.app/Contents/MacOS/Orca},
accessing={identifier=com.apple.ssh, binary_path=/usr/bin/ssh},
requesting={identifier=com.apple.sandboxd}
Two requests fire in sequence from sandboxd:
kTCCServiceSystemPolicyAllFiles→Auth Right: Denied (Service Policy)(Orca has no Full Disk Access).kTCCServiceSystemPolicyAppData→ prompts the user. On Allow it IS written, but scoped to the session pid:
Session authorization eval: 5
Session scoped auth is invalid for client
DB pid: <old_pid> Request pid: <orca_pid>
...
AUTHREQ_PROMPTING: service=kTCCServiceSystemPolicyAppData, subject=Sub:{com.stablyai.orca}
...
TCCDEvent: type=Create, service=kTCCServiceSystemPolicyAppData, identifier=com.stablyai.orca
REPLY_MSG: { session_pid=<orca_pid>, session_boot_UUID=..., auth_value=2 }
Because the grant carries session_pid / session_boot_UUID, it becomes invalid once Orca's pid changes (next launch), and the prompt returns. This is the key difference from #6996: the grant is written but session-scoped, not never written.
Note: I'm not certain whether the AllFiles check immediately preceding is a causal fallback path or just a check sandboxd always runs before AppData. Sharing the observation; you'll know the intended flow.
For contrast, later in the same log com.apple.Terminal is handled with com.apple.private.tcc.allow-prompting and promptPolicy = 2, whereas Orca gets promptPolicy = 0 — so the same ssh operation from Terminal.app is treated differently by TCC.
Question / expected behavior
Can the AppData decision for a third-party-SSH-agent accessor (/usr/bin/ssh reaching SecretAgent's container) be persisted per code-identity instead of session-scoped, so Allow is remembered across Orca sessions — without requiring the user to grant Orca Full Disk Access?
Granting Orca FDA does silence it, but that's a very broad grant for an agent that runs arbitrary code, and shouldn't be the expected fix. The earlier disclaim approach was dropped in #7003 because it broke protected-folder access for the platform-binary login shell — but the problematic accessor here is ssh at the end of the chain, not the shell itself, so a more targeted approach may be viable. Deferring to the maintainers on feasibility.
Workaround for other users hitting this
Run SSH operations from Terminal.app / iTerm rather than Orca's integrated terminal (Terminal has allow-prompting, Orca does not), or — if you accept the broad grant — enable Full Disk Access for Orca.
Happy to provide a fuller redacted log stream capture.
Activity
nwparker commentedon Jul 27, 2026
Attempted repro — cannot_repro
Tried
Reviewed the issue body/comments and surrounding code/context on current
main.Result
TCC AppData session-scoped grant with Secretive: Secretive/SecretAgent not installed on this host.
Correct root cause: this is Full Disk Access, not code signing
Eiji-Kudo commentedon Sep 25, 2026
Additional reproduction: Docker credential helper
I can reproduce the same session-scoped
SystemPolicyAppDatabehaviour without Secretive, using Docker Desktop's credential helper.Environment:
~/.docker/config.json:"credsStore": "desktop"In the last 24 hours, 16 of 19 Orca-attributed AppData prompts came from:
/Applications/Docker.app/Contents/Resources/bin/docker-credential-desktopThe other three were from Claude Code.
At the screenshot/reproduction time, TCC showed:
After clicking Allow:
A new helper process seconds later logged:
I saw prompts at 20:50:35 and 20:50:43, then again at 20:51:18 and 20:51:20. Thus, the grant is not merely lost across Orca relaunches: it becomes invalid between short-lived
docker-credential-desktopprocesses during the same Orca/daemon session. The TCC log also reportsFailed to fetch responsible file descriptor: [2: No such file or directory].The helper is entitled for
group.com.docker, which is consistent with it accessing Docker's protected app-group data. Orca's/usr/bin/loginwrapper is active. This may offer an easier reproduction than Secretive: run a Docker operation that consults the configured Desktop credential store from an Orca terminal.One extra observation: the currently retained terminal daemon was created by Orca 1.4.206 whilst the UI is 1.4.211, but repeated prompts occur without replacing that daemon, so the version mismatch does not appear to be the primary trigger.