Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
package-repository-poisoningbuild-pipeline-compromisecredential-stealer-activityvendor-distribution-compromise

Bitwarden CLI npm Package Hijacked to Steal Developer and Cloud Credentials

Updated 2mo agoFirst seen Apr 23, 202624 sources

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.

Share:
Bitwarden CLI npm Package Hijacked to Steal Developer and Cloud Credentials
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

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

6 EVENTS
Apr 23, 20262mo ago

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.

Bitwarden CLI Backdoored: 93-Minute npm Supply Chain Attack

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.

Apr 22, 20262mo ago

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.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

51 LINKEDOpen in app
Threat actors
2 linked
Affected products
21 linked
Github CliHarden RunnerClaudeVisual Studio CodeGithubHarden RunnerBitwarden Browser ExtensionCodex CliClaude CodeNpmBunCursorTrivyLitellmTravis CiBitwardenVercelTeamcityLitellmMacosJenkins
Organizations
24 linked
BitwardenCheckmarxJfrogSocketGitHubOx SecurityStepSecurityEndor Labsnpm, Inc.OvenAmazon Web ServicesGoogleAikido SecurityMicrosoft CorporationBleepingComputerMend.ioGitGuardianLitellmAnthropicOpenaiDockerSafeDepPhoenix SecurityDustico
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.