Bitwarden Confirms CLI NPM Package Compromise in Supply-Chain Attack

· Original article ↗

Summary

Bitwarden confirmed its CLI NPM package version 2026.4.0 was compromised with malware designed to steal cloud, developer, SSH and AI-tooling secrets. It said there was no evidence end-user vault data or production systems were affected.

Key points

  • Bitwarden confirmed that CLI NPM package version 2026.4.0 was compromised.
  • The package’s altered execution path runs a loader that downloads a Bun archive from GitHub and executes a JavaScript payload.
  • The payload targets secrets and tokens from Azure, AWS, GitHub, GCP and NPM, as well as SSH material, shell history and AI-tooling and MCP-related files.
  • The malware uses harvested GitHub tokens to create repositories, branches and workflow files, then retrieves artifacts to seek additional secrets; it attempts exfiltration over HTTPS and falls back to GitHub paths.
  • Bitwarden said its investigation found no evidence that end-user vault data was accessed or at risk, or that production data or systems were compromised.
  • Socket identified shared tooling with the Checkmarx attack. TeamPCP claimed the Checkmarx incident; researchers cite a Shai-Hulud string in the Bitwarden payload but do not definitively link TeamPCP to the prior attacks.

Article Details

Victim Organization
Bitwarden
Incident Type
Supply-chain attack compromising the Bitwarden CLI NPM package with malicious code designed to steal credentials and secrets.
Data Types Exposed
  • Credentials and secrets/tokens targeted for theft; successful exfiltration from the Bitwarden incident is not confirmed
  • SSH material, shell history, AI tooling configuration, and MCP-related files targeted for collection
Affected Records
Unknown
Affected Data Size
Unknown
Operational Impact
Version 2026.4.0 of the Bitwarden CLI NPM package contained malicious code. Bitwarden reported no evidence that end-user vault data was accessed or at risk, or that production data or systems were compromised.
Ransom Or Extortion
None reported
Claim Status
confirmed

Indicators of compromise

TypeIndicatorContext
DOMAINcheckmarx[.]cxMalware exfiltration destination identified in the related Checkmarx attack; the article describes a similar exfiltration pattern in the Bitwarden attack.

MITRE ATT&CK

People

Threat Actors

Malware

Vendors

Products

Related Articles