# GitHub 推出 Package Firewall 拦截恶意安装

Original title: GitHub package firewall

> Hacker News story 50175063 · language: zh · submitted 2026-10-21
> Web version: https://zeli.app/zh/story/50175063
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 8 · by [soheilpro](<https://news.ycombinator.com/user?id=soheilpro>) · 💬 1
[original](<https://github.blog/changelog/2026-10-20-github-package-firewall-in-public-preview/>) · [HN discussion](<https://news.ycombinator.com/item?id=50175063>)

## Summary

越来越多的恶意软件攻击利用包安装时机窃取 CI/CD 主机或开发工作站的凭证，甚至无需运行代码。为应对这一威胁，GitHub 推出了全新的 Package Firewall 功能，目前已在 GitHub Enterprise Cloud 进入公开预览阶段。该防火墙部署在 Actions runners 或 coding agents 等端点与上游包仓库之间，能够深度检查元数据请求和包下载行为。管理员可配置冷却期、利用 GitHub Advisory Database 检测漏洞，以及执行供应链检查。目前该功能仅支持 npm 包，预览期间免费，未来将按用量计费。

---

## Cite

- Page: https://zeli.app/zh/story/50175063
- Date: 2026-10-21
- Source: github.blog (https://github.blog/changelog/2026-10-20-github-package-firewall-in-public-preview/)
- Hacker News: https://news.ycombinator.com/item?id=50175063

## Other languages

- en: https://zeli.app/story/50175063 · markdown: https://zeli.app/story/50175063.md
- ja: https://zeli.app/ja/story/50175063 · markdown: https://zeli.app/ja/story/50175063.md
- ko: https://zeli.app/ko/story/50175063 · markdown: https://zeli.app/ko/story/50175063.md
- de: https://zeli.app/de/story/50175063 · markdown: https://zeli.app/de/story/50175063.md
- es: https://zeli.app/es/story/50175063 · markdown: https://zeli.app/es/story/50175063.md
- ru: https://zeli.app/ru/story/50175063 · markdown: https://zeli.app/ru/story/50175063.md
