Malicious Nx npm releases used local AI coding CLIs to hunt for secrets
Attackers abused a GitHub Actions injection flaw in the Nx repository to steal an npm publishing token, then published malicious versions of nx and several plugins on August 26, 2025. For about four hours, installs ran a script that searched machines for credentials, tried to use local AI tools such as Claude and Gemini to help, and uploaded the results to public GitHub repositories under the victims' own accounts.
Sources
- Primary: https://nx.dev/blog/s1ngularity-postmortem
- Upstream: Editorial
- Entered by the cybermap.lol editors, with sources on the entry
Defenses for this class of incident
all categoriesA supply chain sits in these classes of the AI-security landscape. The companies below work on that class of problem. This is a taxonomy, not a claim that any of them would have changed this incident.
Vendor data: AI Security Startups Map by Prompt Security (CC BY 4.0), synced daily. startups.prompt.security. Paid placements are labelled Sponsored; HeimWall, which runs this site, is labelled Operator. 451 companies in the directory.
Wrong or missing? Email founders@heimwall.ai. Corrections are logged here, in place. How corrections and takedowns work.