Skip to content

Add hazmat to For Developers#695

Open
dredozubov wants to merge 1 commit intoalebcay:masterfrom
dredozubov:add-hazmat
Open

Add hazmat to For Developers#695
dredozubov wants to merge 1 commit intoalebcay:masterfrom
dredozubov:add-hazmat

Conversation

@dredozubov
Copy link
Copy Markdown

Adding hazmat under For Developers.

hazmat is a macOS CLI that contains AI/coding agents and risky shell tasks. The agent runs under its own UID (not the operator's), under a Seatbelt policy applied via sandbox_init() from a small privileged helper (not sandbox-exec), with PF anchors and DNS blocklists for per-session network policy, plus backup/rollback for reversible host setup.

Particularly useful for developers running coding agents (Claude Code, Codex, etc.) where generated shell commands would otherwise execute with full user authority.

https://github.com/dredozubov/hazmat

macOS containment for AI coding agents and risky shell tasks: separate
UID, Seatbelt sandboxing, PF anchors, DNS blocklists, backup/rollback.
TLA+-checked design.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant