Malicious Bitwarden CLI npm Package Stole Secrets in Supply-Chain Breach
Bitwarden confirmed that attackers briefly distributed a malicious @bitwarden/cli package, version 2026.4.0, through npm after compromising the CLI release process. The trojanized package was available for roughly 90 minutes on April 22 and was downloaded by a limited number of users before being removed. Bitwarden said the incident was confined to the npm-distributed command-line tool and did not affect its main password manager, customer vault data, production systems, or production data. The company revoked compromised access, deprecated the release, and directed affected users to remove the package, clear npm cache, rotate exposed secrets, and upgrade to 2026.4.1 or use trusted signed binaries.
Security researchers linked the breach to a wider software supply-chain campaign tied to compromised Checkmarx infrastructure and CI/CD workflows, including abuse of GitHub Actions trusted publishing. Analyses said the payload harvested GitHub and npm tokens, SSH keys, cloud credentials, environment variables, shell history, and cryptocurrency wallet files such as MetaMask, Phantom, and Solana data, making the incident especially dangerous for organizations using Bitwarden CLI in automated pipelines. Researchers also reported worm-like propagation, encrypted exfiltration to audit.checkmarx.cx, fallback GitHub-based command-and-control, memory scraping on self-hosted runners, and attempts to poison AI coding assistants by appending hidden text to shell startup files.

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
7 events from the most recent confirmed update back to the earliest known activity.
Bitwarden issues remediation guidance and clean version
Bitwarden advised affected users to uninstall version 2026.4.0, clear npm cache, disable npm install scripts during cleanup, rotate exposed secrets, and install version 2026.4.1. Other reporting also recommended downgrading to 2026.3.0 or using official signed binaries until remediation was complete.
Technical analyses reveal broader malware capabilities
Public analyses on 2026-04-23 described the payload's additional behaviors, including GitHub Actions secrets dumping, self-propagation, fallback exfiltration via GitHub commits, and AI-assistant poisoning through shell profile modifications. Researchers also highlighted use of the audit.checkmarx.cx infrastructure and a CIS-language execution exclusion pattern.
Bitwarden confirms compromise and removes malicious release
Bitwarden confirmed that @bitwarden/cli 2026.4.0 had been maliciously distributed through npm, revoked compromised access, and deprecated the affected release. The company stated the incident was limited to the npm-distributed CLI and did not affect the main Bitwarden password manager, production systems, or user vault data.
Researchers detect and verify the malicious npm package
On 2026-04-23, security researchers including Socket identified the Bitwarden CLI npm compromise and linked it to the broader TeamPCP/Checkmarx supply-chain activity. Open Source Malware also recorded the package as reported and verified that same day.
Compromised package available for about 90 minutes
Bitwarden said the malicious npm release was available only from 5:57 PM to 7:30 PM ET on 2026-04-22. A Bitwarden community moderator later said 334 users downloaded the package during that window.
Malicious Bitwarden CLI package published to npm
Attackers published a malicious @bitwarden/cli version 2026.4.0 to npm after compromising Bitwarden's CLI release process, reportedly via GitHub Actions trusted publishing. The package included install-time malware that stole tokens, keys, environment data, and in some analyses targeted cryptocurrency wallet files.
Trojanized Checkmarx KICS image reaches Bitwarden-related CI workflows
A compromised Checkmarx KICS Docker image was pulled by Dependabot into at least one victim environment on 2026-04-22, providing an apparent initial access path into Bitwarden-related CI/CD workflows. Multiple reports link the later Bitwarden CLI compromise to this broader Checkmarx/TeamPCP supply-chain campaign.
Sources
7 references tracked. Mallory keeps watching after this page renders.
@bitwarden/cli - npm
npmjs.com
Open sourceBitwarden Confirms Compromise-Here Are The Facts
forbes.com
Open sourceCompromised Bitwarden CLI Poisons AI Assistants and Spreads as npm Worm
mend.io
Open sourceBitwarden CLI Supply Chain Attack Puts Crypto Wallet Keys at Risk
beincrypto.com
Open source@bitwarden/cli - GitGuardian Views on helloworm00
blog.gitguardian.com
Open sourceRun #24838719458 · actions-security-demo/compromised-packages | StepSecurity
app.stepsecurity.io
Open source@bitwarden/cli - Malicious NPM Package
opensourcemalware.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.


