Skip to content
tmsdnl
Go back

Be careful letting coding agents run tccutil

Original post on X

PSA for macOS dev/testing: be very careful letting coding agents run tccutil, especially with broad permissions.

Codex ran tccutil reset Accessibility instead of resetting permissions for a specific app. That wiped Accessibility grants across all apps, broke input/control permissions, triggered WindowServer/HID weirdness, and made keyboard/clicks appear partially dead until sleep/wake, followed by a full reboot.

Thankfully this happened inside a macOS VM and not on my host machine.