跳到主内容
@wquguru
精选80GitHub ChangelogAI 编程与模型

GitHub Copilot CLI、App及VS Code启用本地沙箱隔离

Local sandboxing for GitHub Copilot now generally available

原文
发到 X
推荐理由

AI 编程助手获得关键的安全隔离能力,直接影响依赖 Copilot 进行自动化操作的开发者的数据安全风险。建议立即检查并配置本地沙箱策略,以收紧对文件和凭据的访问权限。

Local sandboxing for GitHub Copilot is now generally available in GitHub Copilot CLI, the GitHub Copilot app, and VS Code sessions using Agent Host.

GitHub Copilot CLI、GitHub Copilot 应用以及使用 Agent Host 的 VS Code 会话中的 GitHub Copilot 本地沙箱功能现已全面可用。

Local sandboxes give developers a secure execution boundary for agentic workflows on their own machines. Tools and commands initiated by Copilot run with restricted access to the filesystem, network, credentials, and other system capabilities, based on policies defined by the developer or their organization.

本地沙箱为开发者在其自有机器上执行智能体工作流提供了安全的执行边界。Copilot 启动的工具和命令在文件系统、网络、凭据及其他系统能力的访问权限方面受到限制,具体策略由开发者或其组织定义。

Local sandboxing is powered by Microsoft eXecution Container (MXC), which translates a common sandbox policy into native operating-system controls across Windows, macOS, and Linux.

本地沙箱由 Microsoft eXecution Container (MXC) 提供支持,后者可将通用的沙箱策略转换为适用于 Windows、macOS 和 Linux 的原生操作系统控制机制。

With local sandboxing, developers and organizations can:

借助本地沙箱,开发者和组织可以:

  • Limit the files and directories that agent-run commands can read or modify.
  • Control access to the internet, local networks, Git credentials, and GitHub CLI credentials.
  • Apply sandboxing to local tools and services, including local MCP and language servers where supported.
  • Use enterprise-managed settings to require sandboxing and enforce policies that developers cannot weaken.
  • Adopt more autonomous agent workflows while maintaining clear boundaries around what Copilot can access.
  • 限制智能体运行的命令可读取或修改的文件和目录。
  • 控制对互联网、本地网络、Git 凭据和 GitHub CLI 凭据的访问。
  • 将沙箱应用于本地工具和服务,包括支持情况下的本地 MCP 和语言服务器。
  • 使用企业托管设置来要求启用沙箱,并强制执行开发者无法削弱的安全策略。
  • 采用更自主的智能体工作流,同时明确界定 Copilot 可访问的范围。

Model execution and tool isolation are separate concerns. Sandbox policies apply to tool execution regardless of which model Copilot uses.

模型执行与工具隔离是两个独立的问题。无论 Copilot 使用哪个模型,沙箱策略均适用于工具执行。

Local sandboxing is included with GitHub Copilot at no additional cost. To get started, see About cloud and local sandboxes for GitHub Copilot.

本地沙箱包含在 GitHub Copilot 中,无需额外付费。如需开始使用,请参阅关于 GitHub Copilot 的云沙箱和本地沙箱。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件