---
title: "Agent Sandbox For Mac | Ash"
url: "https://xlrocket.men/agent-sandbox-for-mac-or-ash-pf01g"
markdown_url: "https://xlrocket.men/agent-sandbox-for-mac-or-ash-pf01g.md"
format: "link"
published: "2026-09-21T12:43:43.000Z"
link_url: "https://ashell.dev/"
site: "火箭君 MEN"
---

# [Agent Sandbox For Mac | Ash](https://ashell.dev/)

译：Ash——Mac 上用系统级策略限制 AI coding agent 的沙箱

- 基于 Endpoint Security / Network Extension，约束文件、网络、进程、IO 设备与环境变量
- `ash init` 生成 policy.yml，`ash run -- claude --dangerously-skip-permissions` 在沙箱内跑 agent
- 子进程一并圈定：只放行你声明的资源，降低误删/外泄/乱执行风险的可审批沙箱路径
