seatbelt-sandboxer

Generate minimal macOS Seatbelt sandbox configurations for process isolation.

Updated Nov 23, 2025
One-click install
npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill seatbelt-sandboxer-manuelbrandner85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seatbelt-sandboxer
Source: https://github.com/manuelbrandner85/Weltenbibliothekapp/tree/main/.agents/skills/seatbelt-sandboxer
Command: npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill seatbelt-sandboxer-manuelbrandner85

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of creating secure, least-privilege isolation for macOS applications, preventing unauthorized system access and mitigating supply chain risks.

Core Features & Use Cases

  • Minimalist Allowlisting: Generates strict Seatbelt profiles that deny all operations by default, only permitting necessary file, network, and process access.
  • Defense-in-Depth: Provides a structured methodology to isolate binaries, protecting the host system from potentially malicious or compromised software.
  • Use Case: If you need to run an untrusted build tool or a third-party CLI utility, use this Skill to generate a sandbox profile that restricts the tool to only the specific project directory and necessary system libraries.

Quick Start

Use the seatbelt-sandboxer skill to generate a restrictive sandbox profile for the application located at /usr/local/bin/my-tool.

Frequently Asked Questions about seatbelt-sandboxer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a macOS Seatbelt sandbox profile for an untrusted CLI utility?

To create a macOS Seatbelt sandbox profile, you apply an allowlist-based methodology that denies all operations by default, only permitting necessary file, network, and IPC access for the untrusted CLI utility. This enforces strict process isolation.

What is the best way to isolate build tools on macOS to restrict system resource access?

The best way to isolate build tools on macOS is generating a minimal Seatbelt configuration using sandbox-exec, which restricts system resource access by denying default operations and only allowing necessary file and process operations for the host system's protection.

Can I use sandbox-exec to restrict a third-party application to only a specific project directory?

Yes, you can use sandbox-exec to restrict a third-party application by generating a restrictive Seatbelt profile that limits file access to only the specific project directory and necessary system libraries, mitigating supply chain risks through defense-in-depth.

Does the macOS Seatbelt sandboxing approach require an allowlist for file and network operations?

Yes, macOS Seatbelt sandboxing requires an allowlist for file and network operations. It uses minimalist allowlisting to enforce least-privilege isolation, denying all operations by default and only explicitly permitting necessary system resource access.

When should I use a Seatbelt sandbox profile instead of running applications normally on macOS?

You should use a Seatbelt sandbox profile when you need to run an untrusted build tool or a third-party CLI utility, requiring strict process isolation and least-privilege access to prevent unauthorized system access and mitigate supply chain risks.