AIToday
Open-Source AILarge Language ModelsZenn AI/MLPublished: Nov 8, 2026, 19:01 JST

Local LLM privacy project adds Seatbelt sandbox, passes 53 self-tests

Send on LINE
Local LLM privacy project adds Seatbelt sandbox, passes 53 self-tests

3 Key Points

  1. What happened

    The author placed the AI role inside a macOS Seatbelt sandbox (a built-in jail that limits what a program can run, write, or reach) and added a hash check on the rule file. Self-tests passed 53 items with 0 failures.

  2. Why it matters

    Because programs launched inside the jail stay inside it, the author could identify AI leftovers without relying on unreadable markers, and a second layer — the built-in pf firewall — blocks outbound traffic except to the AI's window.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

This is a hands-on engineering diary rather than a product launch, and its value is in the way the author worked around a limitation. In the previous installment, the safe-keeper found AI leftovers by reading a marker attached to processes, but programs made by Apple did not expose that marker at the user's permission level. Rather than strengthen the marker, the author changed the question from "does this process carry the tag?" to "is this process inside the jail?" — something the OS itself can answer. That shift matters to anyone building containment for on-device AI: the property you check should be one the operating system enforces, not one you attach yourself.

The first attempt also took down Mac background helpers that run under the user's name and sit in Apple's own sandboxes. Because those helpers come and go, a fixed exclusion list would break; the author instead added a second condition that only programs in locations the AI is permitted to use count as leftovers. Changing lineups defeat lists, but stable properties such as install location are better discriminators.

The network layer is deliberately a different mechanism from the sandbox. Seatbelt decides what the AI's program may do; pf decides what may leave the Mac. Because they are independent, the author argues a hole in one should still be caught by the other — but the body also shows the honest limits of that claim, since pf cannot block ICMP. The pending restart test is the open item before the setup can be called fully verified.

FAQ
What is the sandbox called on macOS?
Seatbelt (sandbox), a macOS mechanism that confines a program to rules written in a single file, limiting what it can run, write, and reach.
Did the self-checks all pass?
Yes. After adding a pf-firewall check the self-test reported 53 passed, 0 failed, and 0 untestable.
What can slip past the firewall?
Ping (ICMP). The author says pf only names TCP and UDP for blocking, and the sandboxed AI cannot issue ping anyway, so the gap matters only if the sandbox is broken.
What is still unverified?
Whether the firewall rules are properly applied after a Mac restart. The author plans to test this on a day when a screen is connected.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articlePangram AI Detection test: ChatGPT and Qwen Image 2.1 images caught