Supply chain
s1ngularity: malicious Nx npm packages
What was reported
Wiz reported that malicious Nx versions published to npm on 26 August 2025 ran a post-install script that harvested GitHub and npm tokens, SSH keys and other secrets, prompting installed AI CLI tools with permission-skipping flags to search the filesystem. Wiz observed over a thousand valid GitHub tokens among the leaked data.
What is not known
- The Nx maintainers' own advisory is not yet captured as a source.
- How the npm publishing token was first stolen is reported by secondary sources only.
- Any relationship to the Shai-Hulud npm compromise is by ecosystem only and has not been reviewed.
- No ATT&CK technique is asserted until a separate sourced mapping review.
Sources (1)
Wiz Research · Security research
Published 27 Aug 2025 · Reviewed 17 Nov 2026
Rights: Citation and short paraphrase only; check publisher terms before reuse.
Open source from Wiz Research (external site) ↗
Classification
- MITRE ATT&CK
- Not evaluated
- Ecosystems
- npm
- Industry
- Not stated
- Secret type
- Git platform token, Package registry token, SSH key
- Where it was exposed
- Developer machine
- Packages
- None linked
Secret type and location are only what the sources state; “Not stated” means the sources don’t say. Location is where the first exposed secret sat. Techniques are listed only after a sourced mapping review. “Not evaluated” means nobody has reviewed it yet, not that the technique was absent.
Related market categories
- Software supply chain
Malicious versions of a widely used npm package ran a post-install script on install.
Does not imply: That any product in this category would have prevented it.
Reviewed 17 Nov 2026
- Secrets detection and remediation
The malware harvested tokens, keys and other secrets from developer machines.
Does not imply: That detection would have stopped the theft, or which secrets were used afterwards.
Reviewed 17 Nov 2026