• News/
  • https://www.bleepingcomputer.com/news/security/hackers-can-bypass-npms-shai-hulud-defenses-via-git-dependencies/

Hackers can bypass npm’s Shai-Hulud defenses via Git dependencies

BleepingComputer
·
Bill Toulas
·
Published Jan 26, 2026
·
Updated

The defense mechanisms that NPM introduced after the 'Shai-Hulud' supply-chain attacks have weaknesses that allow threat actors to bypass them via Git dependencies. Collectively called PackageGate, the vulnerabilities were discovered in multiple utilities in the JavaScript ecosystem that allow managing dependencies, like pnpm, vlt, Bun, and NPM. Researchers at endpoint and supply-chain security company Koi discovered the issues and reported them to the vendors. They say that the problems were addressed in all tools except for NPM, who closed the report stating that the behavior "works as expected." The self-spreading Shai-Hulud supply-chain attack initially impacted npm in mid-September 2025 and compromised 187 packages. A month later, the attack returned in a new 500-package wave, which was later evaluated to have exposed 400,000 developer secrets in over 30,000 auto-generated GitHub repositories. In response to the Shai-Hulud attacks and other supply-chain incidents such as "s1ngularity" and "GhostAction," GitHub, the operator of NPM, announced a plan to implement additional security measures and suggested several mitigations. Among them are recommendations to disable lifecycle scripts during installation (‘--ignore-scripts=true’) and to enable lockfile integrity and dependency pinning. Koi security researchers found that when NPM installs a dependency from a Git repository, configuration files such as a malicious ‘.npmrc’ can override the git binary path, leading to full ...

Read full article

Affected Software

3 affected components
GitHub npm
GitHub Bun=1.3.5
Unknown pnpm
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the main topic of this article?

The article discusses vulnerabilities in npm's Shai-Hulud defenses that allow hackers to exploit Git dependencies.

2

What security implications are discussed in the article?

The article highlights how threat actors can bypass npm's security measures, potentially compromising the integrity of software supply chains.

3

What vulnerabilities are referred to as PackageGate?

PackageGate refers to the weaknesses found in npm's defenses that can be exploited through Git dependencies.

4

What software products are affected by these vulnerabilities?

The affected products include npm, Bun version 1.3.5, and pnpm.

5

Who discovered these vulnerabilities in npm's defenses?

The article mentions that the vulnerabilities were discovered collectively under the term PackageGate.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203