Supply chain · May 18, 2026

Nx Console 18.95.0 VS Code extension shipped a credential stealer after a TanStack infection

On 18 May 2026 a malicious Nx Console VS Code extension, version 18.95.0, was published to the Visual Studio Marketplace and Open VSX for under an hour. It stole GitHub, npm, AWS, Google Cloud, Vault, Kubernetes, SSH and 1Password CLI credentials and installed a backdoor. Nx traced it to a contributor whose machine ran the compromised TanStack package a week earlier. Anyone who had 18.95.0 installed should rotate those credentials and rebuild the machine.

DisclosedMay 18, 2026
Earliest known activityMay 11, 2026
AffectedNx (Nrwl), nrwl.angular-console (Nx Console), Visual Studio Marketplace, Open VSX
TypeSupply chain
StatusResolved
CVECVE-2026-48027

What was exposed

Nx lists what the extension stole: Vault tokens (~/.vault-token, /etc/vault/token), Kubernetes service-account tokens, npm tokens from .npmrc and through OIDC exchange, AWS instance and container metadata credentials, Secrets Manager and SSM Parameter Store values, GitHub tokens from ~/.config/gh/hosts.yml, ~/.git-credentials, environment variables and process memory, the contents of an active 1Password op CLI session, SSH private keys, .env files, Google Cloud application-default credentials and Docker config. It exfiltrated over HTTPS, the GitHub API and DNS. It persisted with a Python backdoor at ~/.local/share/kitty/cat.py and a LaunchAgent on macOS, with Windows equivalents. Nx says the Nx CLI, the @nx/* plugins and Nx Cloud were not affected. The root cause it gives is four factors together: the upstream TanStack compromise, a minimum-release-age setting silently ignored by an older pnpm, a gh OAuth token readable by any local process, and single-person publishing.

Am I affected?

You are affected if VS Code, Cursor or another editor installed or auto-updated to Nx Console 18.95.0 on 18 May 2026 between 12:30 and 13:09 UTC. Run code --list-extensions --show-versions | grep angular-console. Check for ~/.local/share/kitty/cat.py, ~/Library/LaunchAgents/com.user.kitty-monitor.plist, /tmp/kitty-*, /var/tmp/.gh_update_state, or on Windows %USERPROFILE%\.local\share\kitty\cat.py and %TEMP%\.gh_update_state, and for a python process running cat.py.

What to do now

  1. Update Nx Console to 18.100.0 or later.
  2. Rotate every credential on disk or in the shell environment during the window: GitHub, npm, SSH, AWS, Google Cloud, Azure, Kubernetes, Vault and .env values, plus anything op, gcloud, aws sts or gh could mint.
  3. Remove the persistence files and processes, then rebuild the machine as Nx recommends.
  4. If you are part of the wider TanStack chain, review GitHub audit logs for deleted workflow runs.

Keys to rotate

Guides to the credentials this incident put at risk:

Timeline

  1. An Nx contributor's pnpm install resolves @tanstack/zod-adapter@1.166.15 at 20:43 UTC; 50 seconds later the stolen GitHub token pushes a malicious commit, and workflow-run records are deleted. Source
  2. Malicious v18.95.0 is uploaded at 12:30 UTC, live on Open VSX at 12:33, unpublished from the Visual Studio Marketplace at 12:47 and from Open VSX at 13:09. Nx publishes GHSA-c9j4-9m59-847w the same afternoon. Source
  3. Nx publishes its postmortem; it counts about 6,000 activations by its own telemetry, against 28 Marketplace installs and 41 Open VSX downloads. Source
  4. NVD publishes CVE-2026-48027, which CISA adds to the Known Exploited Vulnerabilities catalog. The NVD text dates the publish to 19 May; Nx's postmortem says 18 May. Source

Indicators

From the advisories listed below. Use them to search your logs, lockfiles and workflow runs.

  • Nx Console (nrwl.angular-console) 18.95.0.
  • ~/.local/share/kitty/cat.py, ~/Library/LaunchAgents/com.user.kitty-monitor.plist, /tmp/kitty-*, /var/tmp/.gh_update_state.
  • Any process with __DAEMONIZED=1 in its environment.

What this changes for credential handling

  • A gh token stored as a plain file was used within 74 seconds of the infection. BotPassword keeps such tokens encrypted at rest and releases them to an approved process only.

Frequently asked questions

Am I affected by the Nx (Nrwl) incident?

You are affected if VS Code, Cursor or another editor installed or auto-updated to Nx Console 18.95.0 on 18 May 2026 between 12:30 and 13:09 UTC. Run code --list-extensions --show-versions | grep angular-console. Check for ~/.local/share/kitty/cat.py, ~/Library/LaunchAgents/com.user.kitty-monitor.plist, /tmp/kitty-*, /var/tmp/.gh_update_state, or on Windows %USERPROFILE%\.local\share\kitty\cat.py and %TEMP%\.gh_update_state, and for a python process running cat.py.

What was exposed in the Nx (Nrwl) incident?

Nx lists what the extension stole: Vault tokens (~/.vault-token, /etc/vault/token), Kubernetes service-account tokens, npm tokens from .npmrc and through OIDC exchange, AWS instance and container metadata credentials, Secrets Manager and SSM Parameter Store values, GitHub tokens from ~/.config/gh/hosts.yml, ~/.git-credentials, environment variables and process memory, the contents of an active 1Password op CLI session, SSH private keys, .env files, Google Cloud application-default credentials and Docker config. It exfiltrated over HTTPS, the GitHub API and DNS. It persisted with a Python backdoor at ~/.local/share/kitty/cat.py and a LaunchAgent on macOS, with Windows equivalents. Nx says the Nx CLI, the @nx/* plugins and Nx Cloud were not affected. The root cause it gives is four factors together: the upstream TanStack compromise, a minimum-release-age setting silently ignored by an older pnpm, a gh OAuth token readable by any local process, and single-person publishing.

Which keys should I rotate?

Rotate any GitHub, npm, AWS (IAM access keys), Google Cloud (service account keys and API keys), Azure (Microsoft Entra app client secrets) credentials that were reachable from affected systems, starting with the ones that can publish code or reach production.

Keep keys out of reach of the next compromised package

BotPassword is in early access. Request an invite and we'll email you when your spot opens.