Hackers Are Turning Trusted Software Updates Into Credential-Stealing Malware
Supply-chain worms in npm packages, including Nx, steal developer credentials and can enlist local AI coding tools.
Attackers have compromised npm packages, including Nx, and used trusted install paths to deploy credential-stealing malware. After an npm publishing token was stolen through a GitHub Actions workflow flaw, malicious Nx releases ran post-install scripts that searched for secrets and uploaded them to public GitHub repositories. S1ngularity prompted local AI coding tools such as Claude and Gemini to locate GitHub, npm, cloud, and SSH credentials. Shai-Hulud then republished packages with stolen maintainer tokens; Microsoft said August's ChainDrop campaign infected more than 400 npm packages, while authorities allege TeamPCP exposed over 500,000 credentials across more than 1,000 organizations.
- Malicious Nx npm releases ran post-install scripts that exfiltrated secrets to GitHub.
- S1ngularity prompted local Claude and Gemini assistants to find credentials and tokens.
- Shai-Hulud reused stolen npm tokens to publish further malicious package versions.
- ChainDrop infected over 400 npm packages with a Mini Shai-Hulud variant.
- Authorities allege TeamPCP exposed over 500,000 credentials; two Australian men were charged.
- ATT&CK
- T1195.001 Compromise Software Dependencies and Development ToolsT1059.007 JavaScriptT1552.001 Credentials In FilesT1567.001 Exfiltration to Code RepositoryT1078 Valid Accounts
- Threat actors
- TeamPCP
- Countries
- AustraliaUnited States
From the original article
3 min read at gbhackers.com
A growing wave of supply-chain attacks is proving the opposite: attackers are compromising legitimate open-source packages and using trusted update channels to deploy credential-stealing malware directly into developer and enterprise environments.
By Mayura Kathir · gbhackers.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.