Malicious Packages Alert: The Qix npm Supply-Chain Attack: Lessons for the Ecosystem

The npm ecosystem is in the middle of a major supply-chain compromise. The maintainer known as Qix is currently targeted in a phishing campaign that allows attackers to bypass two-factor authentication and take over their npm account. This is happening right now, and malicious versions of widely used libraries are being published and distributed.

September 8, 2025
September 8, 2025

0 min read

Vulnerabilities
Malicious Packages Alert: The Qix npm Supply-Chain Attack: Lessons for the Ecosystem

Attack Vector

The attack initiates with a phishing email impersonating npm support. The address-forged npm support email deceives Qix into resetting two-factor authentication, handing full control of the account to the adversary. Once inside, the attackers publish compromised versions of foundational JavaScript packages, including chalk, strip-ansi, and debug. These dependencies are downloaded over 2 billion times each week and sit at the base of countless dependency trees. One successful phishing campaign against a single package maintainer is sufficient to compromise the integrity of the software supply chain, likely introducing malicious code that propagates throughout widespread downstream dependencies.

Compromised Packages

Malicious Payload

The injected code is designed to intercept and manipulate cryptocurrency transactions. By replacing transaction details with attacker-controlled values, the payload silently redirects funds. The goal is straightforward financial theft, but the delivery method, through trusted packages used everywhere, gives it reach and persistence that traditional malware campaigns rarely achieve.

Community Response

The developer community is actively surfacing and discussing the issue across GitHub, Hacker News, and research channels like vx-underground. Security research groups, including Socket, Aikido, and others, are analyzing the compromised releases in real time and advising developers on how to respond. The response demonstrates the open-source community’s resilience, but it also shows how quickly trust can be exploited when attackers move at this scale.

Immediate Steps for Developers and Security Teams

If you maintain or deploy applications that rely on npm:

  • Do not upgrade to the compromised package versions. Stick to earlier, verified stable releases.‍
  • Audit dependency trees immediately with tools like npm ls and confirm that malicious versions are not present in your node_modules directories.
  • ‍Check lock files (package-lock.json or yarn.lock) to ensure your builds are pinned to safe versions and haven’t silently pulled in tainted updates.‍
  • Review CI/CD pipelines for any automated upgrades that may have ingested malicious releases.‍
  • Monitor systems for unexpected network activity or anomalous behavior if compromised packages have been deployed.

The situation is active. Every build and every deployment using npm packages needs scrutiny until the ecosystem regains stability.

Lessons for the Ecosystem

The Qix compromise shows that two-factor authentication is not a silver bullet when phishing remains effective. The human layer of the supply chain is just as exploitable as the code itself. Package ecosystems need to adopt phishing-resistant authentication such as hardware keys, stronger verification workflows for critical maintainers, and anomaly detection for package publishing. Without these safeguards, the compromise of one individual will continue to ripple into systemic risk for millions of applications.

Conclusion

The npm ecosystem is still responding to this incident, and the full blast radius is not yet known. What is clear is that the global software supply chain remains highly vulnerable when trust in individual maintainers can be turned against the entire community.

References

  • Aikido Security. (2025, September). Analysis of the Qix npm compromise.
  • Latio Security. (2025, September). The Qix supply chain attack. Retrieved from https://www.latio.com/blog/qix-supply-chain-attack‍
  • Socket.dev. (2025, September). npm author Qix compromised in major supply chain attack.‍
  • GitHub. (2025, September). Issue: Qix npm account compromised, malicious versions published.
  • Hacker News. (2025, September). Discussion: npm maintainer Qix compromised, malicious versions pushed.
  • vx-underground. (2025, September). Coverage of npm Qix maintainer compromise.
Table of contents

Related blogs

PHP2Shell: CVE-2026-109618 and CVE-2026-109619 Explained

PHP2Shell: CVE-2026-109618 and CVE-2026-109619 Explained

PHP2Shell (CVE-2026-109618, CVE-2026-109619) is unauthenticated PHP RCE in mod_php and PHP-FPM. Get fixed versions, memory_limit mitigations, and the runbook.

October 21, 2026

14

LiteLLM Supply Chain Attack: The 1.107.0 Backdoor That Runs Without an Import

LiteLLM Supply Chain Attack: The 1.107.0 Backdoor That Runs Without an Import

The LiteLLM supply chain attack backdoored litellm 1.107.0 on PyPI and Docker. Get the IOCs, what the malware steals, and a first-hour response runbook.

October 21, 2026

12

MALFEX npm Campaign: Eight Malicious Packages, Three Payloads, 14 Months Without an Advisory

MALFEX npm Campaign: Eight Malicious Packages, Three Payloads, 14 Months Without an Advisory

MALFEX pushed eight malicious npm packages delivering Overlord RAT and the movinlike stealer. Get the versions, IOCs, and the first-hour response runbook.

October 5, 2026

14

A Primer on Runtime Intelligence

See how Kodem reads what actually loads and executes in your running applications, and why that changes which findings matter.

See the Kodem platform

Kodem shows which vulnerabilities actually load and execute in your running applications, so your team works the risk that is real.

The State of the Application Security Workflow

This report aims to equip readers with actionable insights that can help future-proof their security programs. Kodem, the publisher of this report, purpose built a platform that bridges these gaps by unifying shift-left strategies with runtime monitoring and protection.

3D book mockup of Kodem's State of the Application Security Workflow 2025 report

Get real-time insights across the full stack…code, containers, OS, and memory

Watch how Kodem’s runtime security platform detects and blocks attacks before they cause damage. No guesswork. Just precise, automated protection.

Kodem issues list with a magnified view of insight icons: runtime, ingress, and exploitability
Combined author
Kodem Security Research Team
Publish date

0 min read

Vulnerabilities