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

Source: https://botpassword.com/incidents/2026-05-nx-console-extension-compromise
Disclosed: 2026-05-18 · Type: Supply chain · Status: Resolved · Updated: 2026-10-25

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.

Identifiers: CVE-2026-48027, GHSA-c9j4-9m59-847w

## 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.

## Who is 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

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

- [GitHub](https://botpassword.com/keys/github)
- [npm](https://botpassword.com/keys/npm)
- [AWS (IAM access keys)](https://botpassword.com/keys/aws)
- [Google Cloud (service account keys and API keys)](https://botpassword.com/keys/google-cloud)
- [Azure (Microsoft Entra app client secrets)](https://botpassword.com/keys/azure)

## Timeline

- 2026-05-11: 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](https://nx.dev/blog/nx-console-v18-95-0-postmortem))
- 2026-05-18: 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](https://nx.dev/blog/nx-console-v18-95-0-postmortem))
- 2026-05-21: Nx publishes its postmortem; it counts about 6,000 activations by its own telemetry, against 28 Marketplace installs and 41 Open VSX downloads. ([source](https://nx.dev/blog/nx-console-v18-95-0-postmortem))
- 2026-05-27: 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](https://nvd.nist.gov/vuln/detail/CVE-2026-48027))

## Indicators

- 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.

## Sources

- https://nx.dev/blog/nx-console-v18-95-0-postmortem
- https://github.com/nrwl/nx-console/security/advisories/GHSA-c9j4-9m59-847w
- https://nvd.nist.gov/vuln/detail/CVE-2026-48027
