GitHub 软件包防火墙
GitHub package firewall

原始链接: https://github.blog/changelog/2026-10-20-github-package-firewall-in-public-preview/

GitHub 已为 GitHub Enterprise Cloud 客户推出包防火墙公开预览版,以帮助防止包安装过程中遭受恶意软件攻击。目前支持 npm,它位于 Actions runners 和 coding agents 等端点与上游包仓库之间,检查元数据请求和下载中的恶意活动。管理员配置企业策略,包括可配置的冷却期、对照 GitHub Advisory Database 进行恶意软件或漏洞检查,以及诸如证明降级等供应链检查。端点必须配置为通过防火墙路由包请求,防火墙会根据策略对其进行评估。如果包被错误阻止,用户可以请求例外。该服务在预览期间免费,正式发布时将按计量使用计费。

Hacker News 新 | 过去 | 评论 | 提问 | 展示 | 工作 | 提交 登录 GitHub 包防火墙 ( github.blog ) 7 分 由 soheilpro 47 分钟前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 考虑申请 YC 的 2027 冬季批次!申请开放至 11 月 2 日。 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

An increasing number of malware attacks exploit systems at package installation time, harvesting credentials on CI/CD hosts or developer workstations without even running the package’s code. To stem this tide of attacks, GitHub is introducing a new package firewall capability. The package firewall sits between endpoints like Actions runners or coding agents and the upstream package repositories, inspecting both metadata requests and package downloads for signs of malicious activity. The package firewall is available today in public preview for all GitHub Enterprise Cloud customers, including data-resident GitHub Enterprise Cloud.

First, administrators set policy controls for their enterprise. The controls available today include a configurable cooldown period, checking the GitHub Advisory Database for malware or vulnerability alerts, and supply-chain checks like attestation downgrades.

Then endpoints like coding agents and CI/CD hosts need configuration to use the firewall for their requests instead of pointing directly at the upstream package registries. Metadata requests for package lists as well as the actual package downloads then flow through the firewall, which evaluates them against the policy. If a package is blocked erroneously, the user can request an exception with a workflow similar to other GitHub Advanced Security features.

The package firewall is available in public preview as we scale up the infrastructure behind it and continue to add features based on customer demand. It is available to GitHub Enterprise Cloud customers, including GitHub Enterprise Cloud with data residency. The service is free while in the preview period. When it reaches general availability, it will be charged based on metered usage, similar to Actions billing.

Currently the package firewall only supports npm packages.

For detailed setup instructions, see Protecting endpoints with package firewall. Join the discussion in GitHub Community.

联系我们 contact @ memedata.com