TL;DR: A compromised Nx package used post-install malware to steal developer secrets, abuse AI CLI tools, and publish exfiltrated data to attacker-controlled GitHub repositories, according to Exaforce. The incident shows that package trust, developer tooling, and repository controls now form one identity attack surface, not separate ones.
Editorial analysis by NHI Mgmt Group, based on content published by Exaforce: “s1ngularity supply chain attack: What happened & how Exaforce protected customers”.
Key questions
Q: What breaks when a trusted package can run code on developer or CI systems?
A: The main failure is that software provenance does not stop runtime abuse.
Q: Why do compromised build tools increase NHI risk so quickly?
A: Build tools often run with access to service accounts, API tokens, and repository credentials that are more privileged than a human user realises.
Q: What are the warning signs that supply-chain compromise is spilling into identity abuse?
A: Look for unexpected token use, unusual repository creation, secrets appearing in locations they should not be, and automation that suddenly starts making broader tool calls than normal.
Practitioner guidance
- Harden package execution during install Block or tightly control post-install scripts for high-risk dependencies and require review for packages that can execute code during installation.
- Inventory and protect developer secrets Map where GitHub tokens, npm tokens, SSH keys, and other runtime secrets are stored or cached, then reduce their exposure in developer and CI environments.
- Constrain AI CLI permissions Disable reckless execution flags, limit file and tool access, and review any AI CLI that can inspect local context or launch other commands.
Bottom line: The Nx compromise demonstrates that package trust can become a direct path into developer secrets, AI tooling, and repository abuse.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Package trust has become an identity control problem, not just a software supply-chain problem. The Nx compromise shows that package installation can directly bridge into secrets, tokens, and repository access. Once a trusted dependency can execute code at install time, the governance boundary is no longer the registry alone. Practitioners should treat package trust as part of NHI lifecycle control, because the credentials embedded in developer and pipeline environments are what make the attack useful.
A few things that frame the scale:
- 59% of compromised machines in a major 2025 supply chain attack were CI/CD runners rather than personal workstations, according to the State of Secrets Sprawl 2026.
A question worth separating out:
Q: How should security teams respond when a dependency may have accessed secrets at runtime?
A: Contain first by identifying which credentials were exposed, then revoke or rotate the secrets that are still valid. Review pipeline logs, runtime telemetry, and outbound traffic for evidence of reuse. The goal is to cut off legitimate authentication paths that attackers can reuse, not just to remove the malicious package.
👉 Read our full editorial: s1ngularity supply chain attack shows how NHI trust breaks