# Nx (Nrwl) (2025): what the sources say about the cloud incident

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

Nx (Nrwl) disclosed the incident on 26 Aug 2025. What was exposed, as the sources state it: The company's npm publishing token; malicious package versions scanned users' systems and uploaded results to public GitHub repositories. The company stated Nx Cloud was not affected.

- **Disclosed:** 26 Aug 2025
- **Incident window:** August 26, 2025 (malicious packages live for 4 hours)
- **Cloud or provider:** GitHub
- **What was exposed:** The company's npm publishing token; malicious package versions scanned users' systems and uploaded results to public GitHub repositories. The company stated Nx Cloud was not affected.
- **How access was gained:** The post-mortem says attackers exploited a GitHub Actions injection vulnerability to steal the npm publishing token; the repository's workflow permissions were read and write.
- **Access path:** [Leaked access keys and secrets](/access-paths/leaked-access-key/); also [Over-permissioned identities](/access-paths/over-permissioned-identity/)
- **Kind of control that addresses it:** set CI workflow tokens to read-only by default, avoid running untrusted pull request input with repository secrets, and publish with short-lived trusted-publisher credentials

## In the words of the source

“Attackers exploited a GitHub Actions injection vulnerability to steal our NPM publishing token and publish malicious packages for 4 hours.” (provider post mortem, [S1ngularity - What Happened, How We Responded, What We Learned](https://nx.dev/blog/s1ngularity-postmortem))

## Primary sources

- provider post mortem: [S1ngularity - What Happened, How We Responded, What We Learned](https://nx.dev/blog/s1ngularity-postmortem), dated 5 Sep 2025

If a field is wrong or a newer primary source exists, [write to the editor](mailto:editor@cloudsecuritybreaches.com?subject=Correction%3A%20Nx%20(Nrwl)%20(nx-github-actions-2025)) with the entry name in the subject.

## Related pages

- [Salesloft (Drift) 2025: leaked access keys and secrets](/incidents/salesloft-drift-2025/)
- [Google 2025: salesforce instance](/incidents/google-salesforce-instance-2025/)
- [Amazon Web Services 2025: aws q extension](/incidents/aws-amazon-q-extension-2025/)

## Sources

- S1ngularity - What Happened, How We Responded, What We Learned: https://nx.dev/blog/s1ngularity-postmortem (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudsecuritybreaches.com/incidents/nx-github-actions-2025/
