Audit TCC privacy permissions on macOS 27 with tccutil list

A read-only script that uses the new tccutil list command in macOS 27 to report which apps have privacy records for each TCC service, and whether each is granted or denied.

Transparency, Consent, and Control (TCC) is the macOS system behind privacy permissions such as Camera, Microphone, Screen Recording and Full Disk Access. Until now tccutil could reset those permissions but not list them.

macOS 27 changes that. Apple’s enterprise notes for macOS 27 say the new tccutil list command can report current privacy authorisations for specified services or apps on managed devices. The same notes say apps can no longer access the local TCC database directly.

tcc-audit.sh, part of Mac Admins Toolkit, wraps that command into a report.

What it does

For each service in its list, the script runs tccutil list -s <service> to find the apps with records. Then it runs tccutil list -s <service> -b <bundle id> for each app to get its state.

The second query matters. A service-level listing can include apps with granted and denied records together, so the script asks for the state of every app instead of assuming a listed app is granted.

The script does not create, modify, reset, grant or revoke any permission, and it does not read the TCC database directly.

Requirements

  • macOS 27 or later. The script exits with an error on macOS 26 and earlier, which do not have tccutil list
  • A managed Mac. tccutil list works only on devices enrolled in device management
  • Tools included with macOS: /bin/bash, /usr/bin/sw_vers, /usr/bin/tccutil and /bin/date

Run tccutil --info on a Mac for Apple’s own description of the command.

Running it

/bin/bash ./tcc-audit.sh

It takes no arguments. Run it in the user context whose records you want to inspect, because results depend on the account that runs tccutil. If you deploy it through an MDM, check whether it runs as root or as the logged-in user, and confirm the records match what you meant to audit.

Services it checks

The list covers Accessibility; Contacts, Calendars and Reminders; Apple Events; Audio Capture, Camera and Microphone; Bluetooth; Developer Tools; File Provider domains; Focus Status; Input Monitoring and Post Events; Media Library and Photos; Motion; Remote Desktop; Screen Recording; Siri and Speech Recognition; Full Disk Access; App Management and App Data; Desktop, Documents, Downloads, network volumes and removable volumes; system administration and developer files; web browser public-key credentials; and Home data.

The list is limited to services that tccutil list accepted during macOS 27 testing. Apple may change it in later releases.

The output

The report starts with the macOS version, build and date. Each service with records gets a block:

----------------------------------------
Service: Camera
----------------------------------------
com.example.application                                          granted
com.example.denied-application                                   denied

It ends with the services that have no records, any query errors, and a summary:

============================================================
TCC Audit Summary
============================================================
Services queried successfully : 34/34
TCC records found             : 25
Service query errors          : 0
Authorization state errors    : 0
============================================================
Exit code Meaning
0 The audit completed without query errors
1 Unsupported macOS, tccutil unavailable, or no service could be queried
2 The audit completed partially, with one or more failed queries

Limitations

  • Only the fixed list of services in the script is audited.
  • A record can remain after its app has been removed. The report shows the recorded state, not whether the app is installed or using the resource.
  • It does not tell you whether a permission came from the user, from an MDM profile or from somewhere else.
  • The report is for people to read. It is not a stable format for other tools to parse.

The output contains bundle identifiers and their privacy states. Treat it as device inventory data.

Get it

The script and README are in TCC-Audit.