# TeamPCP Campaign Spreads to npm via a Hijacked Bitwarden CLI

**URL:** <https://ifin.network/t/teampcp-campaign-spreads-to-npm-via-a-hijacked-bitwarden-cli/305>\
**Category:** Threat Intel\
**Tags:** bitwarden, teampcp, npm\
**Created:** [April 23, 2026, 2:46pm UTC](https://ifin.network/t/teampcp-campaign-spreads-to-npm-via-a-hijacked-bitwarden-cli/305 "2026-04-23T14:46:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sylvie](https://ifin.network/user_avatar/ifin.network/sylvie/32/415_2.png) [@Sylvie](https://ifin.network/u/Sylvie)\
**Post date:** [April 23, 2026, 2:46pm UTC](https://ifin.network/t/teampcp-campaign-spreads-to-npm-via-a-hijacked-bitwarden-cli/305/1 "2026-04-23T14:46:04Z")

</div>

From:

> **[TeamPCP Campaign Spreads to npm via a Hijacked Bitwarden CLI - JFrog Security...](https://research.jfrog.com/post/bitwarden-cli-hijack/)**
>
> JFrog security researchers identified a hijacked npm package published as @bitwarden/cli version 2026.4.0, impersonating the legitimate Bitwarden command line client.

**Kill Chain:**

> The root `package.json` advertises `@bitwarden/cli` version `2026.4.0`, while the embedded application metadata in `build/bw.js` still references `2026.3.0`. That mismatch strongly suggests the malicious packaging layer was added on top of an older legitimate Bitwarden CLI release rather than being produced through the normal vendor build pipeline.
> 
> Operationally, the infection flow is simple:
> 
> 1. A victim installs or runs `@bitwarden/cli` version `2026.4.0`
> 
> 2. npm executes `preinstall`, which runs `bw_setup.js`
> 
> 3. The loader downloads Bun from GitHub if needed
> 
> 4. Bun runs the malicious payload
> 
> 5. The payload steals local, CI, GitHub, and cloud secrets
> 
> 6. The result set is encrypted and sent to `audit[.]checkmarx[.]cx`
> 
> 7. If that path fails, the malware pivots to GitHub-based fallback channels

**Remediation:**

> If `@bitwarden/cli` version `2026.4.0` was installed, responders should assume developer and cloud credentials exposed on that host are compromised.
> 
> Immediate containment:
> 
> ```auto
> npm uninstall -g @bitwarden/cli
> npm cache clean --force
> npm config set ignore-scripts true
> 
> ```
> 
> Search for loader artifacts and downloaded Bun runtime in working directories where the package may have executed:
> 
> ```auto
> rg -n "audit\\.checkmarx\\.cx|LongLiveTheResistanceAgainstMachines|beautifulcastle" .
> ls -la bun bun.exe bw1.js bw_setup.js 2>/dev/null
> 
> ```
> 
> Review and rotate likely exposed secrets:
> 
> ```auto
> gh auth logout
> npm token list
> aws configure list
> 
> ```
> 
> Additional response actions:
> 
> - Revoke all GitHub PATs present on affected systems
> 
> - Rotate npm tokens and invalidate CI publishing tokens
> 
> - Rotate AWS access keys and review access to SSM and Secrets Manager
> 
> - Review Azure Key Vault audit logs and rotate affected secrets
> 
> - Review GCP Secret Manager access logs and rotate affected secrets
> 
> - Inspect GitHub Actions workflows and repository artifacts for unauthorized runs or branches
> 
> - Review shell history and AI tooling configuration files for sensitive data leakage
> 
> - Block `audit[.]checkmarx[.]cx` and `94[.]154[.]172[.]43` at network egress points
> 
> - Enforce npm script controls where possible, including `ignore-scripts` for untrusted installs
> 
> - Use JFrog Xray and JFrog Curation to block malicious and hijacked packages before installation

---

<div class="post-metadata">

**Author:** ![mttaggart](https://ifin.network/user_avatar/ifin.network/mttaggart/32/7_2.png) [@mttaggart](https://ifin.network/u/mttaggart)\
**Post date:** [April 23, 2026, 3:06pm UTC](https://ifin.network/t/teampcp-campaign-spreads-to-npm-via-a-hijacked-bitwarden-cli/305/2 "2026-04-23T15:06:10Z")

</div>

Socket has more information here, linking this to the Checkmarx compromise:

> **[Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain Campaign](https://socket.dev/blog/bitwarden-cli-compromised)**
>
> Bitwarden CLI 2026.4.0 was compromised in the Checkmarx supply chain campaign after attackers abused a GitHub Action in Bitwarden’s CI/CD pipeline.

Malicious package overview:

> **[@bitwarden/cli - npm Package Security Analysis - Socket](https://socket.dev/npm/package/@bitwarden/cli/overview/2026.4.0)**
>
> A secure and free password manager for all of your devices. Version: 2026.8.0 was published by mchecinskibw. Start using Socket to analyze @bitwarden/...

---

<div class="post-metadata">

**Author:** ![mttaggart](https://ifin.network/user_avatar/ifin.network/mttaggart/32/7_2.png) [@mttaggart](https://ifin.network/u/mttaggart)\
**Post date:** [April 23, 2026, 4:56pm UTC](https://ifin.network/t/teampcp-campaign-spreads-to-npm-via-a-hijacked-bitwarden-cli/305/3 "2026-04-23T16:56:55Z")

</div>

Bitwarden’s official statement:

> **[Bitwarden Statement on Checkmarx Supply Chain Incident](https://community.bitwarden.com/t/bitwarden-statement-on-checkmarx-supply-chain-incident/96127)**
>
> The Bitwarden security team identified and contained a malicious package that was briefly distributed through the npm delivery path for @bitwarden/cli@2026.4.0 between 5:57 PM and 7:30 PM (ET) on April 22, 2026, in connection with a broader...

They have yet to comment on the exact method by which the NPM package was compromised, but we do know this is downstream of Checkmarx, so educated guesses are available.

---

<div class="post-metadata">

**Author:** ![mttaggart](https://ifin.network/user_avatar/ifin.network/mttaggart/32/7_2.png) [@mttaggart](https://ifin.network/u/mttaggart)\
**Post date:** [April 23, 2026, 5:53pm UTC](https://ifin.network/t/teampcp-campaign-spreads-to-npm-via-a-hijacked-bitwarden-cli/305/4 "2026-04-23T17:53:50Z")

</div>

This article has a ton of IoCs the JFrog article did not, including a bunch of strings to check for repos made under your account.
