Bitwarden CLI npm Package Hijacked to Steal Developer and Cloud Credentials
A malicious version of Bitwarden’s CLI package, @bitwarden/cli 2026.4.0, was published to npm after attackers reportedly abused a compromised GitHub Action in Bitwarden’s CI/CD pipeline. The tainted release was available for about 90 minutes and was limited to the npm distribution channel; Bitwarden said its Chrome extension, MCP server, other official distribution paths, production systems, vault data, and legitimate CLI codebase were not affected. Researchers linked the incident to a broader software supply-chain campaign associated with infrastructure seen in the Checkmarx breach, with some reporting also tying the activity to TeamPCP.
The package reportedly used a malicious install chain that dropped files including bw1.js, fetched the Bun runtime, and executed a multi-stage payload designed to harvest GitHub, npm, AWS, Azure, GCP, SSH, and AI-tool credentials, including ~/.claude.json and MCP-related configuration files. Investigators said the malware exfiltrated data through attacker-controlled infrastructure including audit.checkmarx[.]cx, attempted persistence and self-propagation, and could enable follow-on compromise of repositories and GitHub Actions workflows. Security firms advised anyone who installed @bitwarden/cli 2026.4.0 to remove it, downgrade to a known-safe version such as 2026.3.0, rotate all potentially exposed secrets, inspect repositories and CI/CD workflows for unauthorized changes, and monitor for indicators including /tmp/tmp.987654321.lock and outbound connections to the command-and-control domain.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
6 events from the most recent confirmed update back to the earliest known activity.
Bitwarden releases clean @bitwarden/cli 2026.4.1
Bitwarden released a clean npm package version, @bitwarden/cli 2026.4.1, on 2026-04-23 after deprecating the malicious 2026.4.0 release. The company also said a CVE was being issued for the incident.
Security firms publish IOCs and remediation guidance
Researchers and vendors released technical details including malicious files, hashes, network indicators, and the C2 domain, and advised users to remove or downgrade the package, rotate exposed secrets, and audit repositories and workflows for unauthorized changes. Impacted organizations were told to treat installation of @bitwarden/cli 2026.4.0 as a full credential exposure incident.
Bitwarden says incident was limited to npm CLI package
Bitwarden stated that the compromise was confined to the npm-distributed CLI package and that there was no evidence of compromised vault data, production data, production systems, or the legitimate CLI codebase. Other official channels such as the Chrome extension and MCP server were reported as unaffected.
Attack tied to broader Checkmarx campaign and TeamPCP tooling
Researchers reported infrastructure and behavioral overlaps between the Bitwarden package compromise and the broader Checkmarx-related supply-chain campaign, including the audit.checkmarx.cx C2. The activity was also associated with TeamPCP, previously linked to the Trivy and LiteLLM supply-chain attacks.
Researchers link Bitwarden npm compromise to CI/CD GitHub Action abuse
Analysis by Socket, JFrog, OX Security, and others found the malicious package stemmed from abuse of a compromised GitHub Action in Bitwarden's CI/CD pipeline. The payload used multi-stage malware to steal developer, cloud, GitHub, SSH, and AI-tool credentials and attempted supply-chain propagation.
Malicious @bitwarden/cli 2026.4.0 published to npm
Attackers published a trojanized version of Bitwarden's CLI package, @bitwarden/cli 2026.4.0, to npm on 2026-04-22. The malicious release was available for about 90 minutes and affected only the npm distribution channel for the CLI package.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
24 references tracked. Mallory keeps watching after this page renders.
93 Minutes on npm: Inside the Bitwarden CLI Supply Chain Attack | by Sigmund Brandstaetter CISSP, CCSP, CISM, OSCP, CEH | Apr, 2026 | OSINT Team
osintteam.blog
Open sourceBitwarden Statement on Checkmarx Supply Chain Incident - Infosec.Pub
infosec.pub
Open sourceShai-Hulud: The Third Coming - Bitwarden CLI Backdoored in Latest Supply Chain Campaign - Infosec.Pub
infosec.pub
Open sourceTeamPCP Campaign Spreads to npm via a Hijacked Bitwarden CLI - Infosec.Pub
infosec.pub
Open sourceBitwarden CLI npm package compromised to steal developer credentials
bleepingcomputer.com
Open sourceJFrog Security: Possible compromised Supply-Chain of Bitwarden CLI · Issue #20353 · bitwarden/clients
github.com
Open sourceTeamPCP Campaign Spreads to npm via a Hijacked Bitwarden CLI - JFrog Security Research
research.jfrog.com
Open sourceBitwarden CLI npm package compromised to steal developer credentials
bleepingcomputer.com
Open sourceSee the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


