CTIPilot
AI-generated · no human review · verify critical claims against the linked source. how it works →
← Back to Daily brief 2026-05-20
NOTABLEupdatedNATOA1threat

Nx Console VS Code extension version 18.95.0 shipped a credential stealer, published with a contributor token stolen in the TanStack npm compromise

Malicious Nx Console 18.95.0 stayed up to 36 minutes on two extension marketplaces, stealing developer credentials

Analysis

An attacker published Nx Console version 18.95.0 to the Visual Studio Marketplace at 12:30 UTC on 2026-05-18, where it stayed until 12:48 UTC, and to Open VSX from 12:33 to 13:09 UTC (Nx GHSA-c9j4-9m59-847w, 2026-05-18), times StepSecurity's account puts at 12:36 UTC for the Marketplace publication (StepSecurity, 2026-05-18); the Marketplace upload passed Microsoft's automated verification, and a maintainer caught it from the routine publisher-notification e-mail (Nx, 2026-05-21). The attacker published as a legitimate core contributor whose GitHub CLI OAuth token had been exfiltrated seven days earlier by a credential stealer that arrived through the 2026-05-11 TanStack npm supply-chain compromise, and no approval gate stopped a single contributor from releasing (Nx, 2026-05-21). The attacker had also planted an unsigned orphan commit in the nrwl/nx repository; the code injected into the extension runs when any workspace opens, fetches the 498 KB obfuscated payload from that commit (StepSecurity, 2026-05-18) and installs the Bun JavaScript runtime to run it (The Hacker News, 2026-05-19). The payload harvests Vault, npm, AWS (including the instance and ECS metadata services), GitHub, 1Password and filesystem secrets, exfiltrates them over HTTPS, the GitHub API and DNS, writes a Python backdoor with a macOS LaunchAgent for persistence and on Linux attempts a sudoers change (Nx, 2026-05-21); the macOS backdoor takes commands signed with a 4096-bit RSA key through the GitHub Search API as a dead drop (StepSecurity, 2026-05-18). Microsoft counts 28 Marketplace installs and Open VSX 41 downloads, while Nx's own analytics registered about 6,000 activations; the Nx CLI, the official plugins and Nx Cloud were not affected (Nx, 2026-05-21).

Cited evidence

A malicious version of Nx Console 18.95.0 was published at 12:30 PM UTC and removed soon after at 12:48 PM UTC

Nx (GHSA-c9j4-9m59-847w) 2026-05-18

The attacker published the malicious version as a legitimate Nx core contributor.

Anyone who installed v18.95.0 during the exposure window (2026-05-18, 12:30-13:09 UTC) should treat their machine as compromised and rotate credentials.

Nx (postmortem) 2026-05-21

It also installs a persistent Python backdoor on macOS that uses the GitHub Search API as a dead-drop for receiving further commands signed with a 4096-bit RSA key.

StepSecurity 2026-05-18

Updates1

Correction

The malicious version was live on the Visual Studio Marketplace from 12:30 to 12:48 UTC and on Open VSX from 12:33 to 13:09 UTC (Nx GHSA-c9j4-9m59-847w, 2026-05-18); 12:36 to 12:47 UTC is only the span from the maintainer's alert e-mail to the Marketplace unpublish, and Nx gives the exposure window as 12:30 to 13:09 UTC (Nx, 2026-05-21). The publishing credential was a core contributor's GitHub CLI OAuth token, stolen a week earlier through the TanStack npm compromise (Nx, 2026-05-21). The 2.2 million installs are the extension's total (StepSecurity, 2026-05-18); only 18.95.0 was malicious, with 28 Marketplace installs by Microsoft's count and about 6,000 activations by Nx's, and the upload was not too short-lived to scan: it passed Microsoft's automated checks, basic malware scans included (Nx, 2026-05-21).

Sources5

Revision history

  1. Published 2026-05-20-a0f7b07f
  2. Correction 2026-10-21T1148Z-audit

    Malicious Nx Console 18.95.0 was live from 12:30 to 12:48 UTC on the Visual Studio Marketplace and 12:33 to 13:09 UTC on Open VSX by Nx's account, not in an 11-minute window, and was published with a core contributor's GitHub CLI token stolen in the TanStack npm compromise. The 2.2 million installs are the extension's total, against 28 Marketplace installs and about 6,000 activations of the bad version.

    Changed: affected_products body classification entities event_date evidence headline sources sourcing_note summary techniques title

PROVENANCE

AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.