Attackers Target Developer Credentials to Expand Supply Chain Intrusions Beyond Source Code
Malicious npm packages, including Mini Shai-Hulud, steal developer and CI/CD cloud credentials during install.
Supply-chain intrusions are using trusted package updates to run install-time scripts that harvest cloud and developer credentials before an application executes. Microsoft's analysis of Mini Shai-Hulud found malicious @antv npm packages using a preinstall hook to run an obfuscated payload during npm install. Qualys said the malware targeted GitHub Actions, AWS, Kubernetes, HashiCorp Vault, npm, and 1Password secrets, so removing the package does not revoke stolen credentials.
- Mini Shai-Hulud abused an npm preinstall hook in malicious @antv packages.
- Install scripts stole AWS, Azure, GCP, GitHub, Kubernetes, and Vault credentials.
- Initial access maps to MITRE T1195.001, compromised software dependencies.
- Stolen tokens can enable more package tampering and cloud takeover.
- Deleting the package does not revoke credentials already harvested.
- ATT&CK
- T1195.001 Compromise Software Dependencies and Development ToolsT1552.001 Credentials In FilesT1078 Valid Accounts
- Malware
- Mini Shai-Hulud
From the original article
3 min read at gbhackers.com
Software supply chain attacks are increasingly evolving into cloud identity breaches, as attackers weaponize trusted packages to steal credentials from developer workstations and CI/CD environments before an application is ever executed.
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.