seatbelt-sandboxer

Generate deny-by-default macOS Seatbelt sandbox profiles with precise allow rules.

Updated May 2, 2026
One-click install
npx skills add https://github.com/ayehiaa/my-travel-assistant --skill seatbelt-sandboxer-ayehiaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seatbelt-sandboxer
Source: https://github.com/ayehiaa/my-travel-assistant/tree/main/.agents/skills/seatbelt-sandboxer
Command: npx skills add https://github.com/ayehiaa/my-travel-assistant --skill seatbelt-sandboxer-ayehiaa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you restrict a macOS application’s capabilities by generating minimally-permissioned Seatbelt sandbox profiles, reducing the blast radius of misbehavior or compromise.

Core Features & Use Cases

  • Minimal allowlist generation: Produces deny-by-default Seatbelt configuration templates and guides you to add only the specific permissions your app needs.
  • Resource-scoped profiling: Covers common needs such as process spawning, filesystem metadata and content reads, file writes to working/temp directories, and selectable network behavior.
  • Iterative testing workflow: Enables you to test sandbox failures (like blocked file reads or hangs) and iteratively tighten or expand permissions until the app works.

Quick Start

Ask the AI to generate a Seatbelt profile for your app by specifying which subcommand(s) you want sandboxed and the working directory path you will use at runtime.

Frequently Asked Questions about seatbelt-sandboxer

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

FAQPage Schema
How do I generate a macOS Seatbelt profile to sandbox an application?

To generate a macOS Seatbelt profile, specify the application subcommands you want sandboxed and the runtime working directory path. The tool produces a deny-by-default configuration with precise allow rules for required filesystem, network, and process operations.

What is a deny-by-default sandbox profile and when do I need one for macOS?

A deny-by-default sandbox profile blocks all application access except explicitly allowed operations. You need one for macOS security hardening to reduce the blast radius of application compromise by enforcing strict allowlist-based permission scoping.

How do I allow filesystem and network permissions in a Seatbelt sandbox configuration?

You add filesystem and network permissions to a Seatbelt sandbox configuration by defining precise allow rules with path filters. This includes scoped access for file reads, writes to working directories, and selectable network behavior to preserve app functionality.

Can I restrict macOS binaries with Seatbelt profiles while preserving their required functionality?

Yes, you can restrict macOS binaries with Seatbelt profiles while preserving functionality by iteratively testing sandbox failures and expanding permissions. The workflow involves tightening allow rules for process spawning and IPC operations until the application works correctly.

Why does my macOS app hang or fail to read files after applying a Seatbelt sandbox profile?

An app hangs or fails to read files after applying a Seatbelt sandbox profile because the deny-by-default configuration blocks required filesystem metadata or content reads. You must iteratively add specific allow rules for the blocked working directory paths.

What is the best way to apply defense-in-depth isolation to macOS applications?

The best way to apply defense-in-depth isolation to macOS applications is generating minimal Seatbelt profiles that scope process, file, and network permissions. This allowlist-based approach safely restricts capabilities while maintaining required runtime functionality.