Cybersecurity news

Jessica Doner

Back to the list

GitHub’s npm package firewall can block brand-new versions before they install

Help Net Security,

GitHub announced a firewall that checks npm packages against enterprise policy before installation, blocking malware, vulnerabilities, and new versions.

Networks and the webAI and securityLaw, policy and arrests

Overview

GitHub announced a package firewallA network barrier in software or hardware that allows or blocks traffic based on security rules that checks npm packagesA reusable web code library published to the public npm registry for developers to install against an enterprise's policy before they install. The system blocks known malwareSoftware built to steal data, spy on users, lock files, or take control of a computer, critical vulnerabilities, and brand-new versions to prevent issues from reaching a laptop, a build, or a coding agent. Any developer can turn on the feature by pointing npm at the firewall. GitHub stated that AI agentsArtificial intelligence software that can plan steps, call tools, and take actions on its own are helping developers build more software faster, and this firewall is one of four security additions aimed at catching problems earlier. The rule on brand-new versions depends on when a release is dated, and users can create custom policies that include a soak time or cool down period. The other three additions work on code and alerts, including AI Scan which checks pull requestsA proposed set of code changes submitted to a software repository for maintainers to review and merge for vulnerabilities in languages like PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers, ShellThe command-line interpreter program that accepts text commands and runs them on an operating system, and COBOL.

Terms in this story

firewall
A network barrier in software or hardware that allows or blocks traffic based on security rules. Organizations place a firewall between their internal network and the internet to block unwanted connections, and attackers often look for flaws in the firewall appliance itself. Security+ objective 3.2 lists the term
npm package
A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
malware
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
AI agents
Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
pull request
A proposed set of code changes submitted to a software repository for maintainers to review and merge. In open-source security news, attackers sometimes submit a normal-looking pull request that hides a backdoor or exploits the project's automated test pipeline.
PHP
A widely used server-side scripting language that builds dynamic web pages before sending them to browsers. Because millions of websites and content management systems run on PHP, a newly discovered vulnerability in the PHP engine can put a huge portion of the web at risk.
Shell
The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
package managers
A developer tool that downloads, installs, and updates software libraries from a central registry. Every major programming language has a package manager, and supply chain attackers target them by uploading trojanized libraries that install automatically when developers build an app.
repository
A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
extension
A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.
remediation
The steps taken to fix a security flaw or clean up a system after a breach. In incident reports, remediation includes installing patches, revoking stolen keys, removing backdoors, and changing configuration settings so the attacker cannot get back in.
dependency
An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Help Net Security website. Cite the article, not this page.

Read the full article on Help Net Security (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related