Bitwarden CLI malicious npm package exposed, encrypted wallets face risk of theft

MarketWhisper

Bitwarden security vulnerability

Misty’s Chief Information Security Officer 23pds forwards a Bitwarden security team warning. The Bitwarden CLI version 2026.4.0 that had been distributing malicious packages via npm within a 1.5-hour window from 5:57 to 7:30 p.m. Eastern Time on April 22 has been withdrawn. Bitwarden has officially confirmed that the password vault data and production systems were not affected.

Attack Details: Targeted Theft via bw1.js Malicious Payload

The malicious payload runs silently during npm package installation and collects the following types of data:

· GitHub and npm tokens

· SSH keys

· Environment variables

· Shell history

· Cloud credentials

· Encrypted wallet files (including MetaMask, Phantom, and Solana wallets)

The stolen data is exfiltrated to attacker-controlled domains and submitted to GitHub repositories via a persistence mechanism. Many cryptocurrency teams use the Bitwarden CLI in CI/CD automation workflows for key injection and deployment. Any workflow that ran an infiltrated version could leak high-value wallet private keys and exchange API credentials.

Emergency Response Steps for Affected Users

Only users who installed the 2026.4.0 version via npm within the April 22, 5:57 to 7:30 p.m. Eastern Time window need to take the following actions: immediately uninstall the 2026.4.0 version; clear the npm cache; rotate all sensitive credentials such as API tokens and SSH keys; check for abnormal activity in GitHub and CI/CD workflows; upgrade to the fixed 2026.4.1 version (or downgrade to 2026.3.0, or download the officially signed binary from the Bitwarden official website).

Attack Background: npm Trusted Publish Mechanism First Exploited

Security researcher Adnan Khan points out that this attack is a known first case of the npm trusted publish mechanism being used to compromise software packages. This attack is related to TeamPCP’s supply-chain attack activities. Since March 2026, TeamPCP has launched similar attacks against security tools Trivy, the code security platform Checkmarx, and the AI tool LiteLLM, aiming to embed developer tools within CI/CD build processes.

Frequently Asked Questions

How can I check whether I installed the affected 2026.4.0 version?

Run npm list -g @bitwarden/cli to see the installed version. If it shows 2026.4.0 and the installation time falls between 5:57 and 7:30 p.m. Eastern Time on April 22, you need to take immediate action. Even if you’re unsure of the installation time, it’s recommended to proactively rotate all related credentials.

Was Bitwarden vault data leaked?

No. Bitwarden has officially confirmed that user password vault data and production systems were not compromised. This attack only affected the CLI build process. The attack targets developer credentials and encrypted wallet files, not the Bitwarden platform’s user password database.

What is the broader context of TeamPCP supply-chain attack activities?

Since March 2026, TeamPCP has launched a series of supply-chain attacks targeting developer tools. Affected targets include Trivy, Checkmarx, and LiteLLM. The attack on the Bitwarden CLI is part of the same series of activities, aiming to steal high-value credentials in automated pipelines by embedding developer tools within CI/CD build processes.

Disclaimer: The information on this page may come from third parties and does not represent the views or opinions of Gate. The content displayed on this page is for reference only and does not constitute any financial, investment, or legal advice. Gate does not guarantee the accuracy or completeness of the information and shall not be liable for any losses arising from the use of this information. Virtual asset investments carry high risks and are subject to significant price volatility. You may lose all of your invested principal. Please fully understand the relevant risks and make prudent decisions based on your own financial situation and risk tolerance. For details, please refer to Disclaimer.

Related Articles

Colombia and U.S. Authorities Dismantle CJNG-Linked Crypto Laundering Network Worth $190M

Gate News message, April 25 — Colombian and U.S. law enforcement agencies have jointly dismantled a transnational cryptocurrency money laundering network linked to Mexico's Jalisco New Generation Cartel (CJNG). The network has transferred over $190 million in illicit funds through crypto channels

GateNews33m ago

France Reports 135 Crypto-Related Kidnapping Cases Since 2023, Including Minors; 75 Detained

Gate News message, April 25 — France's organized crime prosecution office (PNACO) reported that 135 cryptocurrency-related kidnapping or attempted kidnapping cases have been recorded in the country since 2023. Among the 12 cases currently under investigation, 88 individuals have been formally

GateNews1h ago

California Man Sentenced to 70 Months for Money Laundering in $263M Crypto Theft Scheme

Gate News message, April 25 — A 22-year-old man from Newport Beach, California, Evan Tangeman, has been sentenced to 70 months in federal prison and 3 years of supervised release for his role in a multi-state social engineering crime ring that stole over $263 million in cryptocurrency, according to

GateNews4h ago

41 Crypto Kidnappings in France in 3.5 Months; Durov Blames Data Leaks

Gate News message, April 24 — France has experienced 41 kidnappings of cryptocurrency holders in just 3.5 months of 2026, according to Pavel Durov, Telegram founder, who attributed the surge to widespread data leaks. Durov highlighted in an X post that sensitive personal data—including information h

GateNews7h ago

Italian Researcher Wins 1 BTC Bounty for 32,767-Bit Quantum Attack on Elliptic Curve Keys

Gate News message, April 24 — Giancarlo Lelli, an Italian researcher, has been awarded one Bitcoin after demonstrating the largest-scale quantum attack on elliptic curve cryptography to date. The breakthrough escalates concerns about quantum threats to Bitcoin, Ethereum, and other assets secured

GateNews9h ago

Luck.io, Solana's Non-Custodial Casino, Shuts Down; Users Urged to Withdraw Funds Immediately

Gate News message, April 24 — Luck.io, a non-custodial casino platform built on Solana, announced its closure on April 24, 2026, urging all users to withdraw their balances from Smart Vaults immediately. Withdrawals can be initiated through the luck.io website or via the Vault Withdrawal Tool at

GateNews12h ago
Comment
0/400
No comments