cd /news/ai-agents/github-package-firewall-in-public-pr… · home › topics › ai-agents › article
[ARTICLE · art-153912] src=github.blog ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

GitHub package firewall in public preview

GitHub released a package firewall in public preview for all GitHub Enterprise Cloud customers, including data-resident GitHub Enterprise Cloud, to block malicious packages before installation. The firewall sits between endpoints such as Actions runners and coding agents and upstream package registries, inspecting metadata requests and downloads against administrator-set policies that include a configurable cooldown period, GitHub Advisory Database malware and vulnerability checks, and supply-chain checks like attestation downgrades. The service is free during the preview, will be charged on metered usage at general availability similar to Actions billing, and currently supports only npm packages.

by read2 min views6 publishedOct 20, 2026
GitHub package firewall in public preview
Image: GitHub Changelog

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.

How it works #

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.

Availability and limitations #

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.

## [How to use it](#how-to-use-it)

For detailed setup instructions, see [Protecting endpoints with package firewall](https://docs.github.com/enterprise-cloud@latest/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/protecting-endpoints-with-package-firewall). Join the discussion in [GitHub Community](https://github.com/orgs/community/discussions/210809).
── more in #ai-agents 4 stories · sorted by recency
── more on @github 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/github-package-firew…] indexed:0 read:2min 2026-10-20 · —