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.
| Disclosed | May 18, 2026 |
|---|---|
| Earliest known activity | May 11, 2026 |
| Affected | Nx (Nrwl), nrwl.angular-console (Nx Console), Visual Studio Marketplace, Open VSX |
| Type | Supply chain |
| Status | Resolved |
| CVE | CVE-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
- Update Nx Console to 18.100.0 or later.
- Rotate every credential on disk or in the shell environment during the window: GitHub, npm, SSH, AWS, Google Cloud, Azure, Kubernetes, Vault and
.envvalues, plus anythingop,gcloud,aws stsorghcould mint. - Remove the persistence files and processes, then rebuild the machine as Nx recommends.
- 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:
- Rotate GitHub keys
- Rotate npm keys
- Rotate AWS (IAM access keys) keys
- Rotate Google Cloud (service account keys and API keys) keys
- Rotate Azure (Microsoft Entra app client secrets) keys
Timeline
- An Nx contributor's
pnpm installresolves@tanstack/zod-adapter@1.166.15at 20:43 UTC; 50 seconds later the stolen GitHub token pushes a malicious commit, and workflow-run records are deleted. Source - 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
- Nx publishes its postmortem; it counts about 6,000 activations by its own telemetry, against 28 Marketplace installs and 41 Open VSX downloads. Source
- 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=1in its environment.
What this changes for credential handling
- A
ghtoken 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.
Other supply-chain compromises
- LiteLLM 1.107.0 on PyPI and Docker carried a credential stealer after a leaked master key 2026-10-21
- tensorlake 0.5.144 on npm shipped a Shai-Hulud variant with a wipe-on-revoke dead-man's switch 2026-10-08
- keyv, flat-cache and cache-manager npm releases carried a CI-secret stealer with a revocation trap 2026-08-04
- 32 @redhat-cloud-services npm packages compromised after a VS Code extension hijacked a GitHub account 2026-06-01
- 14 typosquatted OpenSearch and DevOps npm packages stole AWS, Vault, GitHub Actions and npm secrets 2026-05-28
- TanStack npm compromise: 84 versions of 42 @tanstack packages stole cloud, GitHub and SSH credentials 2026-05-11