Invisible Security for Apple Silicon

When AI inference moves to local hardware, every security boundary becomes a liability. Invisible Mac SSI makes macOS security infrastructure disappear — so your models can run without friction.

Invisible Security for Apple Silicon — Open Interface Engineering
Invisible Security for Apple Silicon (Founding Essay (unmetered deployment tool; ad-hoc signing scope clarified) → 11.43 nJ Commit Gates (measured_j)).

Temporal & Archival Scope: Era I Founding Essay (Originally published February 21, 2026; verbatim essay followed below by dated November 25, 2026 Errata & Related Work Addendum) · Canonical OpenIE Chronicle Entry: https://blog.openie.dev/posts/invisible-security-for-apple-silicon/

Provenance & Telemetry Hygiene: Signed Provenance · Self-Checked (automated OpenIE internal gates; not externally peer-reviewed) · Energy Class: unmetered (measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered — Verification, Licensing & AI-Use Disclosure · Glossary & Non-Mixing Rules).

The moment you run a large language model on your own hardware, you inherit a security problem that cloud providers used to solve for you.

Code signing. Secure enclave access. Binary attestation. Keychain entitlements. Sandboxing. Notarization. Each one is a gate between your model and the metal — and each gate costs time, complexity, and energy.

On Apple Silicon, these gates are particularly unforgiving. macOS will kill an unsigned binary before it executes a single instruction. LaunchDaemons refuse to start without proper codesigning. The Secure Enclave won’t talk to processes that haven’t been explicitly blessed.

We kept hitting the same wall across our projects: every time we deployed a new service to our M4 Metal server, we’d spend more time fighting macOS security than writing actual code.

So we built a tool to make it invisible.

The Problem: Security as Friction

Apple’s security model is excellent — for consumer applications distributed through the App Store. For server-side AI workloads running on bare metal, it’s a minefield.

Consider what happens when you build a Rust binary on your development machine and rsync it to an EC2 Mac instance:

  1. The binary arrives with your local machine’s ad-hoc signature
  2. launchd refuses to run it — OS_REASON_CODESIGNING
  3. You SSH in, run codesign -s - --force <binary>
  4. Now launchd starts it, but the Secure Enclave still doesn’t trust it (Superseded / corrected — ad-hoc signing (-s -) lacks a stable Apple Developer Team ID / provisioning profile required by restricted entitlements (com.apple.developer.authentication-services, Data Protection Keychain), and cannot establish cryptographic identity; see Nov 25, 2026 Errata & Addendum below)
  5. Any keychain access fails silently

Multiply this by a dozen services — a TTS server, a game backend, a benchmark runner, a signaling server — and you’re spending significant engineering time on ceremony that adds no value to your actual product.


The Approach: Make It Disappear

Invisible Mac SSI takes the position that security infrastructure should be exactly that — infrastructure. You shouldn’t see it, think about it, or fight with it.

The tool handles three critical workflows:

Deployment signing. When a binary lands on the server via CI/CD, SSI automatically ad-hoc signs it with the correct entitlements for its target execution context. LaunchDaemons get one set of entitlements, PM2-managed processes get another. (Superseded / corrected — ad-hoc signing (codesign -s -) computes unauthenticated SHA-256 page hashes for arm64 AMFI execution only, without Developer ID identity, notarization, or revocation; see Threat Model & Errata below)

Enclave management. For services that need to store secrets — API keys, TLS certificates, model authentication tokens — SSI provides a thin wrapper around the Secure Enclave that handles keychain access without requiring each service to implement its own keychain code. (Superseded / corrected — wraps local macOS Keychain / Secure Enclave P-256 key handles for operator convenience, not hardware-rooted remote binary attestation; see Threat Model & Errata below)

Trust chain verification. Before a service starts, SSI verifies the entire trust chain: the binary is signed, its entitlements match the expected set, and any dependencies (shared libraries, model files) haven’t been tampered with. (Superseded / corrected — verifies local manifest checksums against accidental rsync corruption/drift, NOT against a local user/root attacker who can modify both the binary and its ad-hoc signature; see Threat Model & Errata below)


Why This Matters for Local AI

The shift to local AI inference is accelerating. Apple Silicon’s unified memory architecture makes it possible to run 70B-parameter models on hardware that sits under a desk. Our M4 Metal instance runs Kokoro TTS at 9.8x real-time speed with 622MB of memory — performance that would cost $3/hour in the cloud. (Superseded / corrected — informal February spot comparison without pinned cloud instance SKU or energy telemetry (unmetered); see Nov 25, 2026 Errata & Addendum below)

But the economic advantage of local inference evaporates if every deployment requires manual security intervention. A CI/CD pipeline that deploys in 30 seconds but requires 10 minutes of SSH-and-sign afterwards isn’t really automated.

SSI closes that gap. Deploy, sign, verify, start — all in one pipeline, all invisible.


Open Source

Invisible Mac SSI is open source under the MIT license. It’s built in Rust, compiles to a single static binary, and runs on any Apple Silicon Mac running macOS Ventura or later. (Superseded / corrected — on macOS, Rust binaries dynamically link libSystem.B.dylib rather than compiling to a fully static syscall binary, as Apple does not guarantee raw XNU syscall ABI stability; see Nov 25, 2026 Errata & Addendum below)

If you’re running AI workloads on Mac hardware — whether it’s a Mac Mini cluster, a Mac Studio, or an EC2 Metal instance — SSI removes the security friction that slows you down.


Security should protect your work, not prevent it. When the infrastructure is invisible, you can focus on what matters: building things that work.

Strength and Honor.


View Repository OpenIE Research (URL updated Nov 25, 2026 from retired Feb 2026 subdomain — see Changelog)

Learn more at openie.dev (URL updated Nov 25, 2026 from retired Feb 2026 subdomain — see Changelog)


Archival Note & Technical Errata (codesign -s - and Threat Model)

The February 21, 2026 essay above is restored verbatim from founding commit 5e5f2a3 (reversing silent mid-year wording edits and updating only two retired OpenIE subdomain URLs). Because security claims require exact precision about guarantees and adversaries, our November 25, 2026 audit adds a mandatory disclosure on ad-hoc code signing and an explicit Threat Model.

1. What macOS Ad-Hoc Code Signing (codesign -s -) Does and Does NOT Provide

On Apple Silicon (arm64), the XNU kernel and Apple Mobile File Integrity (AMFI) enforce mandatory code-directory page hashes on every executable before mapping PROT_EXEC memory pages (SIGKILL / OS_REASON_CODESIGNING if absent or mismatched, e.g., when rsync overwrites a file in place inside the macOS vnode/UBC page cache without unlinking first). Running codesign -s - (“sign to run locally”):

Calling this workflow “binary attestation” and “trust chain verification” in February 2026 overstated operational checksum/deployment hygiene as cryptographic security. (Additionally, on macOS, "single static binary" meant a self-contained Rust executable with no third-party .dylib dependencies beyond Apple’s mandatory dynamic libSystem.B.dylib.)

2. Explicit Threat Model (In-Scope vs. Out-of-Scope)

How This Seed Evolved by November 2026

Recognizing that ad-hoc OS deployment scripts do nothing to stop compromised artifacts or autonomous AI tool misuse pushed us to build genuine cryptographic and hardware-enforced boundaries:

Diff & Changelog (commit 5e5f2a3 → 2026-11-25)


Canonical Provenance, Primary Artifacts & Independent Replication