Security & macOS TCC Architecture FAQ

Because optional desktop embodiment (body eyes and body hands) uses macOS Accessibility (kTCCServiceAccessibility), security-conscious engineers rightly ask what permissions are required, what the blast radius is, and how pre-egress boundaries are enforced.

ZERO-TCC CORE GUARANTEE: You do not need to grant macOS Accessibility, Screen Recording, or Microphone permissions to use Whole Body Compute's core token shield (<3ms AST Symbol Slicer), Blood-Brain Barrier IDE hooks (body begin), local Metal offload, memory, or FinOps auditing. Every organ degrades cleanly when macOS permissions are withheld.

1. Permission Matrix: Zero-TCC Core vs. Opt-In Desktop Embodiment

Subsystem / CLI macOS TCC Permission Default Egress Zero-TCC / Linux
Blood-Brain Barrier (bin/body-immune-hook, body bbb)
AST Symbol Slicer, Secret Blindfold, Vascular Shell Guard & 3-Stage AST SecGate
None None (100% local) YES
The Heart (body heart, body doctor, body context)
Thermal pressure, Unified RAM headroom & Context Saturation Index
None None YES
The Brainstem (body scout, body perfusion)
On-device Apple Silicon Metal / Ollama inference & KV prefix cache
None Loopback only (127.0.0.1) YES
The Hippocampus (body memory, body flush, body audit-spend)
SQLite WAL memory, StateCapsule handoffs & 30-day FinOps receipts
None None YES
The Ears (body ears / body transcribe)
Hold-Fn 100% local voice-to-code dictation via Whole Body Compute.app
Microphone on Whole Body Compute.app only (0 Terminal/IDE TCC) None ($0 local weights) OPT-IN
The Eyes & Hands (body eyes, body hands)
Live AXUIElement DOM inspection & UI actuation via unified Whole Body Compute.app
Accessibility on Whole Body Compute.app only (0 Terminal/IDE TCC; Screen Recording only for OCR fallback) None OPT-IN

Strict Zero-TCC / Air-Gapped Setup

# 1. Disable anonymous operational vitals (100% offline Tier-0 mode)
export DO_NOT_TRACK=1
body telemetry disable

# 2. Disable passive cross-app workflow motif observation
export WBC_AMBIENT_DISCOVERY=0

# 3. Wire Blood-Brain Barrier IDE hooks (requires ZERO macOS TCC permissions)
body begin

2. Frequently Asked Security Questions

Q1: "Isn't granting macOS Accessibility effectively granting GUI-session root?"

Yes - at the macOS OS level, kTCCServiceAccessibility is one of the highest-privilege TCC entitlements on macOS, and treating it lightly is a mistake. Apple's TCC framework does not scope Accessibility to a single target window.

Q2: "How is body eyes safer than screenshot-based Computer Use agents?"

Screenshot-loop agents upload full-screen PNGs every 1-2 seconds to cloud vision APIs - leaking Slack banners, .env terminal splits, and password toasts as raw pixels before any redactor can touch them. By contrast, body eyes parses structured AXUIElement nodes locally in <15ms with zero screenshots, scrubs 23+ secret vendor formats (sk-, ghp_, AKIA, ya29., DB URIs, Base64 tokens, SSNs, cards) in <1ms, and neutralizes DOM prompt-injection breakouts (including invisible Plane-14 Unicode Tags, Base64/Hex/Binary/Caesar smuggling, and #-wrapped multi-line comments) via EpithelialScreenFilter before any token reaches an LLM.

Q3: "If I grant Accessibility to my Terminal or IDE, doesn't every child process inherit it?"

Yes - which is why Whole Body Compute isolates kTCCServiceAccessibility and kTCCServiceMicrophone inside one unified notarized app: Whole Body Compute.app (com.wholebodycompute.app, Team ID Y25SHBA3P5). macOS TCC attributes permissions to the responsible parent application bundle (e.g. Terminal.app or Cursor.app). Granting Accessibility to a general-purpose terminal would expose it to untrusted child scripts.

Q4: "Does WBC watch my clipboard or send code/screen data to external servers?"

3. Empirical Security Scorecard & 60-Second Local Verification

Live A/B and verbatim upstream benchmarks across AgentDojo (live 36-pair / 72-trial A/B + choke-point), MCPTox (485 poisoned MCP tools across 45 real servers + 1,348 server bundles + 100 schema rug-pulls + 386 benign MCP schemas), OS-Harm (51 GUI/DOM IPI + 83 boundary + 375 benign), Meta CyberSecEval 3/4 (500 Interpreter + 1,255 PI + 750 MITRE-FRR benign), InjecAgent (2,108 IPI cases + 1,066 benign controls), and RedCode-Exec (1,410 Python/Bash payloads) executing the real bin/body-immune-hook binary and in-process organ gates (live AgentDojo A/B receipts • MCPTox MCP security receipts • OS-Harm + CyberSecEval receipts • InjecAgent + RedCode receipts):

Benchmark / Metric Unshielded Baseline Agent + Whole Body Compute (BBB)
Live Upstream AgentDojo A/B (72 trials: Workspace, Slack, Banking) 0.0% ASR (0/36) • 91.7% Utility (33/36) on Gemini 3.8 Flash 0.0% ASR (0/36) • 91.7% Utility parity (33/36) • 36/36 neutralized at ingress in 0.148ms
AgentDojo + CyberSecEval 3 Choke-Point (12 attacks / 6 benign) 100.0% ASR (12/12 compromised) 0.0% ASR (12/12 blocked • 0.0% FPR)
Verbatim Upstream OS-Harm GUI/DOM & Boundary (51 IPI / 83 boundary) 0% deterministic Foveal/OS gate 0.0% ASR (51/51 GUI IPI & 83/83 boundary blocked • 375/375 0.0% FPR)
Verbatim Upstream CyberSecEval 3/4 (500 Interpreter / 55 EN Indirect) 25.45% ASR (14/55 live local LLM) • 0% AST/egress gate 97.6% Interpreter blocked (488/500) • 0.0% ASR (55/55 EN PI neutralized & defended)
Verbatim Upstream InjecAgent (2,108 IPI cases / 1,066 benign) 0% deterministic pre-tool defense 0.0% ASR (2,108/2,108 defended • 0.0% FPR in 0.07ms)
Verbatim Upstream RedCode-Exec Host/OS Boundary (750 payloads) 0% deterministic AST/shell gate 94.53% blocked (709/750 • benign /proc & JSON preserved)
Verbatim Upstream MCPTox Tool-Poisoning, Rug-Pulls & Shadowing (485 tools / 1,348 bundles / 100 rug-pulls) 0.82% pre-hardening (4/485) • 50.0% ASR (10/20 live local LLM) 100.0% Neutralized (485/485 tools & 1,348/1,348 bundles • 100/100 rug-pulls • 386/386 0.0% FPR in 0.28ms) • 50% → 5% live LLM ASR
Combined Benign Developer & User Utility (2,583 total controls) 100.0% 100.0% (2,583/2,583 allowed • 0.0% FPR)

Verify Every Gate Locally in <60 Seconds

# 1. Run the live 18-scenario AgentDojo + CyberSecEval 3 choke-point benchmark (<1s)
uv run python3 benchmarks/agentdojo_wbc_security_suite.py

# 1b. Run the 4,584-evaluation verbatim upstream InjecAgent + RedCode-Exec sweep (~11s, $0)
uv run python3 benchmarks/upstream_redcode_injecagent_suite.py

# 1c. Run the 3,031-evaluation verbatim upstream OS-Harm + CyberSecEval 3/4 sweep (~3s, $0)
uv run python3 benchmarks/upstream_osharm_cyberseceval_suite.py

# 1d. Run the 2,361-evaluation verbatim upstream MCPTox + rug-pull + shadowing sweep (~2s, $0)
uv run python3 benchmarks/upstream_mcptox_security_suite.py

# 2. Verify WBC Eyes.app Hardened Runtime, Kill Switch, Accessibility vault blocking & actuation gates
WBC_HEADLESS=1 WBC_TESTING=1 uv run pytest -q tests/test_wbc_eyes_helper.py tests/test_bbb_computer_use_wiring.py tests/test_hands_zero_cursor_background.py

# 3. Verify AST SecGate, APFS symlink escape blocks, Keychain/SSH guards & hook symlink checks
WBC_HEADLESS=1 WBC_TESTING=1 uv run pytest -q tests/test_red_team_hardened.py tests/test_safeagents_organ5_upgrades.py tests/test_neon_xhigh_audit_hardening.py tests/test_agentdojo_live_ab_suite.py tests/test_upstream_osharm_cyberseceval_suite.py

# 4. Run the 5-organ adversarial chaos & concurrency fuzzer
uv run body chaos

4. Responsible Disclosure

Found a bypass in bin/body-immune-hook, VascularTrafficMonitor, FovealVisionEngine, APFSCoWSandbox, or redact_secrets? Report it with a minimal reproduction to [email protected].