Anthropic 开源了 Claude Code 的沙箱运行时,Agent 以后不该靠一句“别乱动”来保证安全。 项目叫 sandbox-runtime(… · @TiagerBao · TwKit
@TiagerBao
Anthropic 开源了 Claude Code 的沙箱运行时,Agent 以后不该靠一句“别乱动”来保证安全。 项目叫 sandbox-runtime(srt)。 它能在操作系统层面限制 AI Agent 的权限: 文件权限:哪些目录能读,哪些文件能写 网络权限:只允许访问指定域名 MCP 隔离:限制第三方 MCP Server 的操作范围 违规记录:拦截越权操作,并提供排查信息 支持 macOS、Linux、Windows,不需要额外启动 Docker 容器。 例如,给 Agent 项目目录的写入权限,但禁止修改 .env,网络只允许访问 GitHub。 目前还是 Beta 研究预览版,并非绝对安全。 Agent 能不能自动执行是一回事,能执行到什么程度,必须由系统来限制。 安装:npm install -g @anthropic-ai/sandbox-runtime GitHub:https://github.com/anthropics/sandbox-runtime #ClaudeCode #Anthropic #AI #Agent #MCP #Security #OpenSource
曝光 67 · 评论 0 · 点赞 4 · 书签 1
查看原帖