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's Copilot metrics now count OpenCode and Claude Code traffic: who really uses which AI coding tool

On 23 October 2026 GitHub added a per-tool breakdown to the Copilot usage metrics API, so tools such as OpenCode and Claude Code are counted even without editor telemetry. It shows how mixed the AI coding tool stack inside software teams has become.

Read ›

GitHub Copilot retires Claude Opus 5 and GPT-5.6 Terra on 16 November: the model-churn bill for buyers

GitHub has announced that Claude Opus 4.8, Claude Opus 5 and GPT-5.6 Terra leave every Copilot experience on 16 November 2026. For anyone commissioning AI-assisted development, model retirement is now a monthly event to plan around.

Read ›

GitHub Copilot now benchmarks how 'agent-first' your developers are against your industry

On 22 October 2026 GitHub added opt-in industry comparisons to its Copilot impact dashboard, ranking firms by share of agent-first developers and by the merge rate of agentic pull requests. Here is how to read the numbers when you are buying software.

Read ›

Apple's new bait-and-switch rule 2.5.19: what it means for AI-built and fast-shipped apps

On 16 October 2026 Apple updated its App Review Guidelines: apps that change after approval can be removed from the App Store and the Developer Program, and AI-generated intimate imagery is now explicitly covered. Here is what founders commissioning an iOS app should check.

Read ›

GitHub Copilot agentic autofix is generally available: AI now fixes security alerts, and bills for it

GitHub made agentic autofix for code scanning alerts generally available on 15 October 2026. Copilot can now fix up to 25 security alerts in one pull request, using AI credits your supplier or your team pays for.

Read ›

GitHub AI Scan for pull requests goes GA: AI security checks for PHP, Terraform and Dockerfiles

GitHub's AI Scan for pull requests became generally available on 15 October 2026, checking languages the standard scanner misses. Findings are advisory and cannot block a merge, which matters when you buy 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