Supply Chain Security Bitwarden NPM Package Hit in Supply Chain Attack Tied to a fresh Checkmarx supply chain attack claimed by TeamPCP, the incident references the Shai-Hulud worm. By Ionut Arghire | April 24, 2026 (4:07 AM ET) Flipboard Reddit Whatsapp Whatsapp Email The Bitwarden command-line interface (CLI) NPM package was compromised in a supply chain attack that appears tied to previous campaigns against the open source software (OSS) ecosystem. One of the most popular open source password management platforms, with over 250,000 monthly downloads, Bitwarden allows enterprises to secure authentication with zero-knowledge encryption, password sharing, and policy and credential management. On Thursday, multiple security firms warned that version 2026.4.0 of the Bitwarden CLIâs NPM package contained malicious code to fetch a JavaScript payload designed to steal credentials and secrets from victim machines. The malicious package contained an altered execution path to run a malicious loader, download a Bun archive from GitHub, extract it, and execute the JavaScript payload. The malware contains three collectors targeting secrets and tokens across Azure, AWS, GitHub, GCP, and NPM, as well as SSH material, shell history, and AI tooling configuration and MCP-related files, JFrog explains. Additionally, the payload weaponizes the identified GitHub tokens and abuses GitHub Actions to create repositories in the victimsâ accounts, create branches, commit workflow files, and download the resulting artifacts to extract more secret material. Advertisement. Scroll to continue reading. The malware attempts to exfiltrate the collected data via HTTPS but switches to GitHub paths if that fails. âThe most notable aspect of this package is that it combines a supply chain compromise of a legitimate CLI identity with a broad post-install secret theft framework. Instead of stopping at .npmrc or a single PAT, the malware systematically pivots across local credentials, CI secrets, GitHub repositories, and multiple cloud secret stores,â JFrog notes. Bitwarden confirmed the supply chain hack, but noted that its investigation âfound no evidence that end user vault data was accessed or at risk, or that production data or production systems were compromisedâ. The Checkmarx attack The Bitwarden CLI compromise is linked to the recent supply chain attack on Checkmarx, which hit the companyâs public DockerHub KICS image, public ast-github-action, VS Code extension, and Developer Assist extension. On April 22, Checkmarx confirmed the incident, sharing details on the malicious artifacts associated with the attack and urging users to immediately rotate secrets and credentials if they were affected. The malware used in the attack was designed to harvest credentials and exfiltrate them to the checkmarx[.]cx domain, or to repositories created under the victimâs GitHub account, a pattern used in the Bitwarden supply chain attack as well. Socketâs analysis of the two incidents also revealed the use of the same embedded payload structure, credential harvesting method, propagation technique, and Russian locale kill switch. âThe shared tooling strongly suggests a connection to the same malware ecosystem, but the operational signatures differ in ways that complicate attribution,â Socket notes. The TeamPCP and Shai-Hulud connections The complication, the cybersecurity firm explains, comes from the fact that the Checkmarx attack was claimed by TeamPCP, while the Bitwarden incident references the Shai-Hulud worm that crawled through NPM last year. Also known as DeadCatx3, PCPcat, and ShellForce, TeamPCP is a hacking group active since at least 2024 that has been focusing on supply chain attacks for the past year. The hacking group made headlines over the past month after it compromised Aqua Securityâs Trivy vulnerability scanner to steal secrets and pivot across the OSS ecosystem and beyond . As Socket notes , TeamPCP apparently claimed responsibility for the Checkmarx incident on social media, which did not come as a surprise, as it had hit the companyâs GitHub Actions and OpenVSX plugins as part of the March campaign. However, the Bitwarden payload contains the âShai-Hulud: The Third Comingâ string, suggesting that the incident represents the latest phase of the previous campaign, OX Security says. Terms such as atreides, fremen, sandworm, and sardaukar were also found in the code, which points to a possible overlap with the Shai-Hulud campaigns, but it does not definitely link TeamPCP to the previous attacks, JFrog notes. Shai-Hulud first emerged in the NPM registry in September, when it spread to more than 180 packages using stolen developer credentials. During a second wave in November, it infected over 640 packages . âUser data is being publicly exfiltrated to GitHub, often going undetected because security tools typically donât flag data being sent there. This makes the risk significantly more dangerous: anyone searching GitHub can potentially find and access those credentials. At that point, sensitive data is no longer in the hands of a single threat actor; itâs exposed to anyone,â said OX Security team lead Moshe Ben Siman Tov. Related: Are SBOMs Failing? Supply Chain Attacks Rise as Security Teams Struggle With SBOM Data Related: âBy Designâ Flaw in MCP Could Enable Widespread AI Supply Chain Attacks Related: OpenAI Impacted by North Korea-Linked Axios Supply Chain Hack Related: European Commission Confirms Data Breach Linked to Trivy Supply Chain Attack Written By Ionut Arghire Ionut Arghire is an international correspondent for SecurityWeek. More from Ionut Arghire Recent Microsoft Defender Vulnerability Exploited as Zero-Day New Wiper Malware Targeted Venezuelan Energy Sector Prior to US Intervention Mirai Botnet Targets Flaw in Discontinued D-Link Routers North Korean Hackers Use AppleScript, ClickFix in Fresh macOS Attacks Oracle Patches 450 Vulnerabilities With April 2026 CPU Dozens of Malicious Crypto Apps Land in Apple App Store Progress Patches Multiple Vulnerabilities in MOVEit WAF, LoadMaster Organizations Warned of Exploited Cisco, Kentico, Zimbra Vulnerabilities Latest News Copperhelm Raises $7 Million for Agentic Cloud Security Platform Cloudsmith Raises $72 Million in Series C Funding Chinese Cybersecurity Firmâs AI Hacking Claims Draw Comparisons to Claude Mythos Rilian Raises $17.5 Million for AI-Native Security Orchestration The Behavioral Shift: Why Trusted Relationships Are the Newest Attack Surface Luxury Cosmetics Giant Rituals Discloses Data Breach AI Can Autonomously Hack Cloud Systems With Minimal Oversight: Researchers Apple Patches iOS Flaw Allowing Recovery of Deleted Chats Trending Daily Briefing Newsletter Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts. Webinar: A Step-by-Step Approach to AI Governance April 28, 2026 With "Shadow AI" usage becoming prevalent in organizations, learn how to balance the need for rapid experimentation with the rigorous controls required for enterprise-grade deployment. Register Virtual Event: Threat Detection and Incident Response Summit May 20, 2026 Delve into big-picture strategies to reduce attack surfaces, improve patch management, conduct post-incident forensics, and tools and tricks needed in a modern organization. Register People on the Move Anti-ransomware platform Halcyon has named Kirstjen Nielsen and Chris Inglis as Strategic Advisors. ThreatModeler has appointed Kevin Gallagher as Chief Executive Officer. Thomas Bain has been appointed Chief Marketing Officer at Silent Push. More People On The Move Expert Insights Government Canât Win the Cyber War Without the Private Sector Securing national resilience now depends on faster, deeper partnerships with the private sector. (Steve Durbin) The Hidden ROI of Visibility: Better Decisions, Better Behavior, Better Security Beyond monitoring and compliance, visibility acts as a powerful deterrent, shaping user behavior, improving collaboration, and enabling more accurate, data-driven security decisions. (Joshua Goldfarb) The New Rules of Engagement: Matching Agentic Attack Speed The cybersecurity response to AI-enabled nation-state threats cannot be incremental. It must be architectural. (Nadir Izrael) The Next Cybersecurity Crisis Isnât BreachesâItâs Data You Canât Trust Data integrity shouldnât be seen only through the prism of a technical concern but also as a leadership issue. (Steve Durbin) Why Agentic AI Systems Need Better Governance â Lessons from OpenClaw Agentic AI platforms are shifting from passive recommendation tools to autonomous action-takers with real system access, (Etay Maor) Flipboard Reddit Whatsapp Whatsapp Email
The Bitwarden CLI NPM package was compromised in a supply chain attack where version 2026.4.0 contained malicious code designed to fetch a JavaScript payload that steals credentials and secrets from AWS, Azure, GitHub, GCP, and other local stores. The malware then weaponizes stolen GitHub tokens to create repositories and workflows in victims' accounts to exfiltrate further data. Bitwarden confirmed the incident but found no evidence that end-user vault data or production systems were accessed.