The images in this article were generated with artificial intelligence. How we publish
A malicious package briefly published on npm compromised the distribution of Bitwarden's CLI and put at risk sensitive credentials from developers and CI / CD systems. Technical sources that investigated the incident identified the affected version as 2026.4.0 which was available for a short interval on 22 April 2026; Bitwarden confirmed that the problem was limited to its npm channel and to those who downloaded that specific package, and said that there is no evidence of access to user vault data or production systems, according to his public communication official.
The technical forensic analysis shows a supply chain attack pattern: the attackers would have manipulated the CI / CD process (possibly through a compromised GitHub Action) to inject a charger into the pre-installation scripts of the package. That charger downloads a runtime (Bun), runs an affuscated file and unfolds a infostealer that collects npm and GitHub tokens, SSH keys and public cloud credentials, encrypted the results with AES-256-GCM and exfiltrates the data by creating public repositories under the accounts of the victims - repositories that in several cases contain the chain "Shai-Hulud: The Third Coming" linked to previous campaigns - as documented by community analysis and response equipment independent and research providers technical.

In addition to extraction, malware incorporates propagation mechanisms: you can use stolen tokens to identify packages that the victim can publish and modify those projects to insert additional malicious code, making an initial commitment to an self-replicating threat within the package ecosystem. The profile of the campaign and certain technical coincidences point to an actor linked to previous incidents against development packages and tools, which underlines that today developers are a strategic objective for actors seeking to pivote towards more valuable infrastructure.
If you downloaded the affected version, you must assume that the secrets of the environment were compromised: immediately broken all the tokens, keys and credentials exposed especially those used by pipelines, CI / CD integrations and cloud services. Revise npm and GitHub tokens, replace SSH keys and cloud services access keys, invalidate credentials stored in runners and review GitHub's action histories to detect public repository creations or unusual activities. Change secrets without purging side access or credentials stored in runners or persistent servers leaves the door open for reuse by the attacker.

In the area of prevention and continuous mitigation, the development and supply chain should be strengthened: limiting the scope of tokens (the principle of less privilege), using short-term tokens and ephemeral credentials, activating multifactor authentication in developer accounts and in npm / GitHub, auditioning and setting versions in lockfiles, applying dependency scanning and detecting secrets in CI and adopting building integrity practices such as SLSA or artifacts signatures where possible. It is also recommended to review the GitHub Actions and other integration used in pipelines to detect unsafe or excessive third party components, and to implement policies to review changes in package publishing flows.
For researchers and response teams, the signals to be looked for include unusual pre-install scripts (for example references to bw _ setup.js in this case), downloads of unusual runtimes, processes that invoke binaries such as Bun from packages and the emergence of new public repositories with encrypted artifacts or names / strings already associated with previous campaigns. Organizations should combine log analysis, endpoint behavior detection and audit review in GitHub to rebuild the scope and confirm the breaking of secrets.
Bitwarden acted quickly to revoke committed accesses and depredate the affected publication, but this incident reinforces a recurring lesson: no unit for developers is inoculated by default. Equipment should treat development tools as risk speakers and apply controls similar to those that protect production environments: access control, active monitoring and automated response to commitment indicators. For more technical information and case tracking, see the public analyses and the Bitwarden note above.
Related
More news on the same subject.

Campaign at Hugging Face Spaces and GitHub uses game traps to steal passwords and sessions
A massive campaign has used Hugging Face Spaces pages and GitHub repositories to attract players with supposed traps and bots and push them to install malware that steals browse...

Canada detects NEXCOL intrusion and suspension of export permits
The Canadian government confirmed that its online system to manage permits for the export of military material and strategic goods, known as NEXCOL, suffered an intrusion detect...

CertiK shows Weight2Shell: identical weights, different outputs by inference environment
CertiK security researchers have demonstrated a technique - called Weight2Shell in their report - that allows two instances of the same artificial intelligence model, carrying i...

RabbitMQ: critical failure in the management interface exposes tokens OAuth2; patches 4.4.1 / 4.3.8
A critical vulnerability in RabbitMQ allows an attacker who has access to the management interface to get tokens OAuth2 signed by the identity provider without credentials and t...

Critical Vulnerability in Erlang / OTP client TLS allows MITM without certificate (CVE-2026-124286)
A critical vulnerability to the client implementation of TLS within Erlang / Open Telecom Platform (OTP) allows a malicious server to complete a TLS 1.2 handshake without presen...

pCloud Pass: cyber attack exposes emails from few users; undecipher encrypted vaults
This week pCloud Pass, the password manager integrated into the Swiss pCloud service, confirmed that it was the target of a "cyber attack" after several users reported early log...

SOCRadar identifies WeaveLotus / RedOps campaign in intrusions to Thailand and the Philippines
SOCRadar has published an analysis that attributes a series of intrusions to military, government and legislative institutions in South-East Asia to a set of tools and activitie...