GitHub package firewall: a new guard against malware that AI coding agents can install

GitHub put a package firewall into public preview on 20 October 2026 to block malicious npm packages before AI coding agents or build servers install them. Here is what that means for anyone commissioning AI software development.

On 20 October 2026 GitHub announced a package firewall in public preview. Its stated reason: “An increasing number of malware attacks exploit systems at package installation time.” In other words, the danger is not only in the code your developers write, but in the third-party packages their tools pull in while building your product.

How it works

The firewall sits between a company’s machines and the public package registry. Administrators set a policy, and every request is checked against it. GitHub lists three controls today: a cooldown period for newly published packages, checks against GitHub’s malware and vulnerability database, and checks for suspicious supply-chain changes. Coding agents and build servers have to be pointed at the firewall rather than straight at the registry. Mistaken blocks can be challenged through an exception request.

The limits

It is for GitHub Enterprise Cloud customers, it supports npm packages only for now, and it is free during the preview. After general availability GitHub says it will be billed on metered usage. It is a preview, not a finished product.

Why this matters outside engineering

AI coding agents install packages quickly and without much hesitation. That is a large part of why they are fast, and also why a poisoned package can reach a developer machine or a build server before anyone has looked at it. The malware GitHub describes steals credentials, which means access to your cloud accounts, app store accounts and customer data.

So what

If you are commissioning software from a team that uses AI coding tools, ask a plain question: how do you control which packages your tools and agents can install, and who is accountable when one goes wrong? A good supplier will have an answer, whether that is a firewall, a private registry, pinned versions or a review step. A vague answer is a warning sign.

That discipline is part of how we run AI-assisted development at BuildApps. If you want a supplier conversation that starts with this kind of control, start a project.

← All research

More research.

GitHub secret scanning cuts false alarms for AWS, Google and Alibaba cloud keys and adds a SpaceX detector

GitHub's 5 November 2026 secret scanning update tightens detectors for AWS, Google Cloud and Alibaba keys, relevant to teams building software with AI coding tools that can paste credentials into code.

Read ›

GitHub's Copilot code review can now be managed by API, with review effort levels and AI credit costs shown

GitHub's 6 November 2026 update lets organisations manage Copilot code review by API and see the review effort and AI credits each AI code review used, a sign AI-assisted development is becoming auditable.

Read ›

GitHub's Copilot impact dashboard now counts chat and VS Code agent use, and drops the 'passive users' label

On 6 November 2026 GitHub added Copilot Chat and the VS Code Agents window to its Copilot impact dashboard, bringing it to nine tracked experiences, and renamed 'Passive users' to 'Chat-first users'.

Read ›

Claude Code 2.1.319: a setting that denies permission prompts so AI agent runs don't stall

Claude Code 2.1.319 (6 November 2026) adds a permissions.denyInsteadOfPrompting setting and moves long MCP tool calls to the background, a sign AI-assisted development is being built for unattended runs.

Read ›

GitHub now reports how often developers act on Copilot code review comments

On 5 November 2026 GitHub added code review metrics, including an addressed rate, to the Copilot usage metrics API. For AI software development buyers, it is the first first-party number for how much AI review feedback is acted on.

Read ›

Dependabot can now keep AI agent skills and prompts up to date

GitHub's Dependabot gained Agent Package Manager (APM) support on 3 November 2026, treating AI agent skills, prompts and instructions as dependencies that need updating like any other software.

Read ›

Start a project

Building with AI? Let's talk.

Tell us what you are building. We'll give you an honest view of the right approach.

Start a projectSee our work