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 AI usage API now returns per-model token counts, so Copilot spend can finally be traced to models

GitHub's AI credit usage REST API now returns six raw token counts per model for enterprises, organisations and individuals, giving Copilot cost tracking a real audit trail.

Read ›

Claude Code 2.1.335: add remote MCP servers from the terminal, a new Interrupt hook, and a harness audit for older models

Claude Code 2.1.335 adds a one-line command to register remote MCP servers as claude.ai connectors, an Interrupt hook event and a /claude-api harness-audit command for agent code written for older models.

Read ›

GitHub Copilot model controls shift: Claude Opus 4.8 (fast) retired, targeted model rules end 12 January 2027

GitHub retired Claude Opus 4.8 (fast) in Copilot on 30 November and is closing the targeted organisation model rules preview, with migration on 12 January 2027.

Read ›

Claude Code 2.1.334: REVIEW.md now works at folder level, plus a model search box and a visible auto-compact setting

Claude Code 2.1.334 extends REVIEW.md so AI code reviews follow rules held in folders, adds a search box for long model lists and shows the auto-compact window in settings.

Read ›

GitHub Copilot for JetBrains adds scheduled automations in preview and drops support for IDE 2025.2

GitHub Copilot for JetBrains can now run automated tasks on a schedule (preview), adds Microsoft Foundry and Azure OpenAI models to its agent, and no longer supports JetBrains IDEs 2025.2.

Read ›

Claude Code 2.1.333: REVIEW.md shapes AI code reviews, and you can stop one workflow agent

Claude Code 2.1.333 lets teams write their code review rules in a REVIEW.md file, lets one running agent in a workflow be stopped without halting the rest, and changes how permission lists are passed in scripts.

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