The Nx Console extension for Visual Studio Code was compromised by hackers affiliated with TeamPCP, turning a trusted development tool into a means of stealing credentials and internal code. The malicious release surfaced on May 18, 2026, as part of a broader campaign that had already targeted security scanners, software packages, and cloud infrastructure. In March, attackers compromised Aqua Security's Trivy vulnerability scanner and used stolen credentials to access additional tools, including Checkmarx KICS and LiteLLM.

The attacks followed a consistent pattern: compromise trusted software, execute credential-stealing code, collect accessible secrets, and reuse them against other systems. On self-hosted runners, it scanned over 50 locations, including SSH keys, cloud credentials, Kubernetes configuration files, and cryptocurrency wallet data. Later, the Nx Console compromise moved this threat directly onto developer machines, exposing accessible tokens and source code, which could then be used to access resources beyond the workstation.

Attackers can continue using valid tokens until they are revoked by defenders, allowing access to repositories, cloud services, or package publishing accounts. Kubernetes-related components could deploy privileged workloads. Preventive measures include pinning GitHub Actions to reviewed commit hashes, limiting job permissions, and using short-lived credentials through OIDC federation.

This incident underscores how a trusted development tool can become an entry point into a larger environment, emphasizing the importance of containing credentials during incident response.