Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@zukhruf/tcc

Latest version: v0.8.128

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: ezzabuzaid
1 Stars
0 Forks
3 Versions
TypeScript Repo language

Scan summary

@zukhruf/tcc was last scanned on 25 Nov 2026 at version 0.8.128. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 25 Nov 2026.
  • Findings: No rules fired in version 0.8.128.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.129 25 Nov 2026 Not shown
0.8.128 25 Nov 2026 No rules fired
0.0.0-stage 25 Nov 2026 Not shown

No rules fired in 0.8.128

Findings

Findings for v0.8.128. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.8.128; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@zukhruf/tcc

macOS keeps personal data and devices behind privacy grants: Full Disk Access, Contacts, Camera, Screen Recording and more. The subsystem that keeps them is TCC (Transparency, Consent, and Control), with its daemon tccd, its tool tccutil(1) and its database TCC.db. A program that needs one must answer the same questions each time. What is the status of the grant for this process? How does the program ask the user? Which program does macOS charge the access to: the terminal app, or the program itself? What must the user turn on, and where? macOS gives no status and no prompt for Full Disk Access: how does the program find out, and get the user to the right pane? This package answers them once, for each service that the leading tools cover.

It uses the words of TCC: a service is a kind of grant (kTCCServiceSystemPolicyAllFiles is Full Disk Access), and a client is the program that macOS charges the access to: an app bundle or an executable (ADR 0001). Each service is a class with Apple's own status values (ADR 0002). The package depends on no other package. It uses node:ffi, node:fs and node:child_process, and it works only on macOS.

The words in these documents have one meaning each. See the glossary in CONTEXT.md.

Use it

npm install @zukhruf/tcc
import { Camera, Client } from '@zukhruf/tcc';

const camera = new Camera();
if (camera.status() === 'notDetermined') await camera.request({ signal });
if (camera.status() !== 'authorized')
  console.error(camera.remedy(Client.responsibleFor(process.pid)));

Read the status of a service

status() returns Apple's own value for the calling process. It never shows a prompt. The first call in a process loads node:ffi, and Node writes its ExperimentalWarning once.

Class TCC service status() values Apple's API
Contacts kTCCServiceAddressBook notDetermined, restricted, denied, authorized +[CNContactStore authorizationStatusForEntityType:]
Calendars kTCCServiceCalendar notDetermined, restricted, denied, fullAccess, writeOnly +[EKEventStore authorizationStatusForEntityType:], event
Reminders kTCCServiceReminders the same as Calendars the same, reminder
Camera kTCCServiceCamera notDetermined, restricted, denied, authorized +[AVCaptureDevice authorizationStatusForMediaType:], video
Microphone kTCCServiceMicrophone the same as Camera the same, audio
Photos kTCCServicePhotos notDetermined, restricted, denied, authorized, limited +[PHPhotoLibrary authorizationStatusForAccessLevel:], read-write
PhotosAdd kTCCServicePhotosAdd the same as Photos the same, add only
SpeechRecognition kTCCServiceSpeechRecognition notDetermined, denied, restricted, authorized +[SFSpeechRecognizer authorizationStatus]
Bluetooth kTCCServiceBluetoothAlways notDetermined, restricted, denied, allowedAlways CBManager.authorization
InputMonitoring kTCCServiceListenEvent granted, denied, unknown IOHIDCheckAccess(kIOHIDRequestTypeListenEvent)
Accessibility kTCCServiceAccessibility trusted, notTrusted AXIsProcessTrusted()
ScreenRecording kTCCServiceScreenCapture granted, notGranted CGPreflightScreenCaptureAccess()
Automation kTCCServiceAppleEvents permitted, notPermitted, wouldRequireUserConsent, notRunning AEDeterminePermissionToAutomateTarget(), with no prompt
FullDiskAccess kTCCServiceSystemPolicyAllFiles none: see the preflight below none

Automation is a grant for one target app: new Automation('com.apple.Finder'). Its status is notRunning while the target app does not run, because macOS asks the target (AppleEvents.h:346, ADR 0002).

Ask the user for a service

request() asks macOS to show its prompt, and resolves with the status after the user answers. It runs /usr/bin/osascript, because macOS shows the prompt only to a program that holds Apple's private entitlement com.apple.private.tcc.allow-prompting, and osascript holds it (ADR 0007). The grant goes to the client of the calling process, the same one that status() reads.

const status = await new Contacts().request({ signal }); // 'authorized' after Allow

macOS shows a prompt only while the status is notDetermined (or writeOnly for Calendars and Reminders, where the request asks for full access). After a denial it shows nothing, and request() resolves with the same status: send the user to the pane. For Accessibility, Input Monitoring and Screen Recording, macOS shows a dialog that sends the user to System Settings, where the user turns the client on; request() resolves when the dialog shows, with the status as it is then. FullDiskAccess has no request(): macOS shows nothing for it. The signal stops the wait: the package ends osascript, and the promise rejects with the signal's reason.

Check Full Disk Access with a preflight

Full Disk Access has no status. Apple gives no API for it, and no path that proves the grant (ADR 0003). A process learns whether it can read a protected path only when it reads that path. Thus preflight() opens each path that you give, the paths that your work will read, and sorts them by the result:

import { FullDiskAccess } from '@zukhruf/tcc';

const result = await new FullDiskAccess().preflight([
  `${home}/Library/Mail`,
  `${home}/Library/Messages/chat.db`,
]);
result.readable; // the paths that opened
result.denied; // the paths that macOS or the file mode keeps from this process (EPERM, EACCES)
result.missing; // the paths that are not there (ENOENT, ENOTDIR)

Do the preflight in the process that does the real work. A grant belongs to the client of a process, and other software, such as Endpoint Security, can also stop a read that Full Disk Access allows.

Find the client of a process

macOS charges the access of a process to its responsible process: the app that started it, or the process itself when launchd started it. Client.responsibleFor(pid) asks macOS (ADR 0004):

import { Client } from '@zukhruf/tcc';

const client = Client.responsibleFor(process.pid);
client.type; // 'bundle' from a terminal app, 'executable' when launchd started the process
client.path; // '/Applications/cmux.app' or '/Users/me/.nvm/versions/node/v26.13.1/bin/node'
client.name; // 'cmux', or the path of the executable: what the user finds in System Settings

A program that will run later, such as the node of a launchd job, has no process yet. Make its client from its path:

Client.executable('/Users/me/.nvm/versions/node/v26.13.1/bin/node');
Client.bundle('/Applications/cmux.app');

Tell the user what to turn on

remedy(client) gives the sentence that the user acts on (ADR 0005):

new Contacts().remedy(client);
// 'Turn on cmux in System Settings › Privacy & Security › Contacts.'

new Accessibility().remedy(client);
// on macOS 27: 'Turn on cmux in System Settings › Privacy & Security › Device Control and Data Access.'

new FullDiskAccess().remedy(client);
// 'Turn on cmux in System Settings › Privacy & Security › Full Disk Access, then quit and reopen cmux. macOS does not ask for this access.'

new FullDiskAccess().remedy(Client.executable(node));
// 'Turn on /Users/me/.nvm/versions/node/v26.13.1/bin/node in System Settings › Privacy & Security › Full Disk Access, then start it again. macOS does not ask for this access.'

The pane titles are read from System Settings of the Mac at each call (SecurityPrivacyExtension.appex, Localizable.loctable, in English), because macOS renames panes: Accessibility on macOS 26 is "Device Control and Data Access" on macOS 27 (ADR 0005). A grant of Full Disk Access applies to the processes that start after it, so its remedy tells the user to start the client again. A host that has its own command for that, such as a restart of a launchd job, writes its command after the remedy.

Open the pane

await new FullDiskAccess().openSettings();
// /usr/bin/open 'x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles'

Each service opens its own pane, with the anchor that TCCServiceList.plist of System Settings gives it, such as Privacy_Camera or Privacy_ListenEvent. Open a pane only when the user asked for the step: System Settings comes to the front.

Errors

Error When
The signal reason request() was waiting for the user's answer, and the caller's signal was aborted

A preflight gives a denied path and a missing path as data, because the caller does the same next step for each path of a kind. Any other failure of a read, such as EIO, is thrown as Node gives it. A failure to load node:ffi, for example in a process that runs with --permission and without --allow-ffi, is thrown as Node gives it.

What macOS does not do

  • It gives no API that tells whether a process has Full Disk Access. Kevin Elliott of Apple DTS, August 2026: "there isn't currently a 'general' solution to this issue". On macOS 27 the per-user TCC.db is in a protected container, so a read of it fails also when the grant is there (Apple Developer Forums thread 841091).
  • It shows no prompt for Full Disk Access. The user turns the client on in System Settings.
  • It shows the prompt of a request only to a program with Apple's private entitlement. The request of any other executable completes with no prompt and no grant (ADR 0007).
  • It asks the user once. After a denial, a request shows nothing. Only the user changes the grant, in System Settings.

What the package does not do

  • It does not grant access. Only the user grants it. The package never writes TCC.db and never runs tccutil reset.
  • It does not guess Full Disk Access. It has no call that reads a path of its own choice to say yes or no (ADR 0003).
  • It keeps no state. It exports classes, never an instance, and it has no slot in which a host installs a name (ADR 0006).
  • It does not cover Location. locationd, not TCC, keeps the location grant (ADR 0002).

Scope

Now (this release) Later Never
The 14 services of the status table, each with remedy() and openSettings(); the 13 other than Full Disk Access with status() and request() Media & Apple Music: its only API that is not deprecated, MusicKit, is Swift only A call that guesses Full Disk Access from a path the package chooses
preflight(paths) of Full Disk Access Motion, HomeKit and the other services of TCCServiceList.plist, when a leading tool covers them A write to TCC.db, or tccutil reset
Client.responsibleFor(pid), Client.bundle(path), Client.executable(path) A watch that tells when a grant changes Location, which locationd keeps
A spawn that makes a child process its own client (responsibility disclaim) Support for a macOS older than the newest

Who uses it

Consumer How Record
elt @eltjs/sdk-macos-app-database Each Store names a service class; StoreUnavailableError writes store.service.remedy(Client.responsibleFor(process.pid)). Replaces macOSAccess, an instance with an install({ program }) slot, its Grant type and its pane names (src/macos-access.ts, src/store.ts:5-18, src/unavailable.ts) elt #5754
elt @eltjs/sdk-apple-eventkit Calendars and Reminders give the remedy of its errors (src/errors.ts:8,19), and their request() replaces the request through osascript of its Swift helper (src/helper/Access.swift:44-68) elt #5754
context-compiler apps/cli Nothing at its entry point: responsibleProgram() and its macOSAccess.install() go (src/main.ts:39-59). sync watch start writes new FullDiskAccess().remedy(Client.executable(node)) (src/commands/sync-watch-start.ts:18) context-compiler #5755
context-compiler @workspace/connector Each connector names the services of its stores in place of guidance(), access() and fullDiskAccess (27 classes, packages/connectors/connector/src/connector.ts) context-compiler #5755

The same concepts in other systems

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @zukhruf/tcc

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229