Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
vendor-distribution-compromisebuild-pipeline-compromisecredential-stealer-activitypackage-repository-poisoning

Malicious Bitwarden CLI npm Package Stole Secrets in Supply-Chain Breach

Updated 1mo agoFirst seen May 25, 20267 sources

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.

Share:
Malicious Bitwarden CLI npm Package Stole Secrets in Supply-Chain Breach
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

7 events from the most recent confirmed update back to the earliest known activity.

7 EVENTS
Apr 24, 20262mo ago

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.

Apr 23, 20262mo ago

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.

Apr 22, 20262mo ago

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.

The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.

Malicious Bitwarden CLI npm Package Stole Secrets in Supply-Chain Breach | Mallory