AI 沙箱用策略语言锁死权限
Strands Box 是一个开源 AI 代理沙箱引擎,通过操作系统隔离 + Dogwood 策略语言实现细粒度权限控制。亮点是'harness-agnostic'设计,不绑定特定代理框架,且策略语义化而非写死规则,适合多代理场景的安全治理。
Run AI agents in a sandbox that restricts what they can execute, read, write, and reach on the network. Box combines OS isolation with default-deny Dogwood policies and credential injection that keeps secrets outside the agent. Written in Rust. Supports macOS on Apple silicon, with Linux support planned.
当前 AI 代理的安全方案大多是事后审计或粗粒度 API 密钥控制,比如 OpenAI 的函数调用权限或 LangChain 的回调拦截,缺乏运行时的系统级隔离。Box 把策略引擎嵌入到 Shell、Python runtime、网络出口和 MCP broker 四层,实现'任何操作先过策略'的主动防御。
跟同类工具比,Plandex 和 Open Interpreter 侧重任务执行而非安全隔离,E2B 的 sandbox 是容器级但无原生策略语言。Box 的 Dogwood 策略可表达'允许访问 /tmp 但禁止包含 password 的文件'这类语义规则,这是传统 ACL 做不到的。
如果你在用 MCP 连接多个工具或让 agent 访问本地文件系统,Box 值得作为基线安全层接入。269 star 但刚发布不久,早期采用者可以参与策略库共建。
AI代理安全基础设施层,专注OS级隔离与策略治理
独特价值:Harness-agnostic语义化策略,Rust实现跨平台零信任沙箱