We are designing a macOS privileged helper for attended local administrative operations. Each operation must require a new native administrator authentication, separate protected confirmation of the exact operation, and durable single-use consumption. The app must never collect administrator passwords. A successful right evaluation or an existing administrative session alone is insufficient.
In an isolated arm64 macOS VM (build 26B131), we tested a custom inert Authorization Services right with class=user, group=admin, authenticate-user=true, shared=false, timeout=0, allow-root=false. The noninteractive request was denied and cancellation was observed. A subsequent interactive request displayed a dialog without the expected custom prompt token; the test stopped without establishing positive exact consent. The temporary right has been removed. No privileged effect was performed.
We reviewed ES_EVENT_TYPE_NOTIFY_AUTHENTICATION, ES_EVENT_TYPE_NOTIFY_AUTHORIZATION_PETITION, and ES_EVENT_TYPE_NOTIFY_AUTHORIZATION_JUDGEMENT and the corresponding SDK structures. Audit tokens identify processes, but we could not identify a documented per-evaluation correlation identifier joining a specific authentication event to a particular right evaluation.
- Is there a supported public API or documented policy contract that guarantees a fresh native administrator authentication (not a cached credential or an existing session) for a specific custom right evaluation?
- If so, how can the trusted helper verify freshness, the authenticated administrator identity or membership, and association with that particular evaluation, without handling credentials?
- Is there a supported causal identifier or documented correlation guarantee for the three Endpoint Security notifications, including concurrent requests and lost events? If an authorization plug-in or AuthorizationCopyInfo is relevant, what guarantees are documented for freshness and provenance of the data returned?
- If no such mechanism is supported, is there an Apple-recommended architecture meeting these requirements without weakening them?
We are asking for API semantics and a supported design, not a workaround for security controls. We can provide a minimal inert reproducer if needed.