Back to Skills

seatbelt-sandboxer

Generates minimal macOS Seatbelt sandbox configurations. Use when sandboxing, isolating, or restricting macOS applications with allowlist-based profiles.

5,542stars484forksUpdated 6/4/2026

Security Assessment

Safe(90/100)

Detected risks:

Sensitive File Access([SKILL.md] .ssh/)
Security Score90/100

About seatbelt-sandboxer

The seatbelt-sandboxer skill helps generate minimal macOS Seatbelt sandbox configurations for applications that need to run with restricted permissions. Its primary purpose is to support allowlist-based sandboxing, where only explicitly permitted resources and operations are available to a process. By starting from a deny-all baseline and progressively granting only the access an application requires, the skill assists in reducing the attack surface of macOS applications and improving defense-in-depth against potential security threats, including supply chain risks.

The skill follows a structured profiling methodology that evaluates application requirements across multiple resource categories, including file access, networking, process management, Mach IPC, POSIX IPC, system information, hardware access, notifications, AppleEvents, dynamic code generation, and more. It guides users through identifying required permissions, defining specific scopes such as file paths or services, and building minimal Seatbelt profiles with a deny-by-default approach. For applications with multiple subcommands that perform different operations, the skill recommends profiling each subcommand separately and creating dedicated sandbox configurations.

This skill is intended for developers, security engineers, system administrators, and macOS users who need to isolate applications or restrict their access to system resources. Common use cases include sandboxing development tools, limiting network or filesystem access for applications, and creating additional security controls around software execution. It is specifically designed for macOS environments using Seatbelt and is not intended for Linux container technologies, Windows applications, or software that requires broad unrestricted system access.

FAQ

When should I use this skill?

Use it when you need to sandbox, isolate, or restrict a macOS application using allowlist-based Seatbelt profiles.

Does this skill work for Linux or Windows applications?

No. The skill is focused on macOS Seatbelt sandbox configurations and is not intended for Linux or Windows environments.

How does the skill determine required permissions?

It profiles the application across resource categories such as file access, networking, process operations, IPC mechanisms, system information, hardware access, and other macOS-specific capabilities.

Can it handle applications with multiple subcommands?

Yes. The methodology recommends profiling significantly different subcommands separately and creating dedicated sandbox configurations for each.

What are the limitations of the generated profiles?

The profiles are based on identified application requirements and a minimal-permission approach. Applications that legitimately require broad system access may not be suitable candidates for restrictive sandboxing.

Install seatbelt-sandboxer

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill