According to Insight Beating monitoring, the command-line tool @bitwarden/cli version 2026.4.0 of the password manager Bitwarden was compromised with malicious code. The attacker compromised a GitHub Action in the Bitwarden CI/CD pipeline and published a version to npm containing the malicious file bw1.js. The package had a monthly download count of over 250,000, and the affected window was approximately 93 minutes (April 22nd ET 17:57 to 19:30).
The malicious code exfiltrated GitHub/npm tokens, the `.ssh` directory, `.env` files, shell history, GitHub Actions keys, and cloud service credentials from the host machine, encrypted them, and uploaded them to a public GitHub repository. OX Security has observed real user data being leaked. Security researcher Adnan Khan pointed out that this might be the first case of a compromise through npm trusted publishing (allowing CI/CD pipelines to publish packages without human intervention).
This attack is part of the Checkmarx supply chain attack campaign. OX Security found the embedded string "Shai-Hulud: The Third Coming" in the package, indicating this is the third wave of attacks from the Shai-Hulud worm that was exposed last year. The attackers are suspected to be TeamPCP, and their X account has been suspended. The malicious code does not execute on host machines configured in Russian.
Bitwarden has acknowledged this incident, stating that user password vault data was not accessed, the malicious version has been removed from npm, and relevant CVEs are being released. Affected users are advised to downgrade to version 2026.3.0 and rotate all potentially exposed keys.
