Skip to main content
VulnerabilityPublished

Second Sha1-Hulud Wave Affects 25,000+ Repositories via npm Preinstall Credential Theft

Source The Hacker News

0
Severity
Medium

Rated by Threat Radar

Data as of 1 Dec 2025, 12:23 UTC

What to do

AI-suggested

European organizations should implement a multi-layered mitigation strategy tailored to this threat: 1) Conduct immediate and comprehensive scans of all development and build environments to identify and remove compromised npm packages, focusing on those published between November 21-23, 2025. 2) Rotate all potentially exposed credentials, including NPM tokens, cloud provider keys (AWS, GCP, Azure), and environment variables, to invalidate stolen secrets. 3) Audit all GitHub repositories for unauthorized workflows, especially checking the .github/workflows directory for suspicious files such as discussion.yaml or shai-hulud-workflow.yml, and remove any unauthorized workflows or branches. 4) Restrict and monitor the use of self-hosted GitHub runners, implementing strict access controls and logging to detect anomalous runner registrations or activity. 5) Employ runtime protection and endpoint detection and response (EDR) solutions to monitor for unusual preinstall script executions and Bun runtime activity. 6) Enforce strict package integrity verification using tools like npm audit, package signing, and dependency allowlists to prevent installation of trojanized packages. 7) Educate developers and DevOps teams on supply chain risks and encourage the use of private registries or vetted package sources. 8) Implement network segmentation and least privilege principles to limit the impact of credential theft and lateral movement. 9) Regularly back up critical data and verify backup integrity to mitigate the impact of potential destructive payloads. 10) Monitor threat intelligence feeds and vendor advisories for updates on this evolving campaign to adapt defenses promptly.

Description

Multiple security vendors are sounding the alarm about a second wave of attacks targeting the npm registry in a manner that's reminiscent of the Shai-Hulud attack. The new supply chain campaign, dubbed Sha1-Hulud, has compromised hundreds of npm packages, according to reports from Aikido, HelixGuard, JFrog, Koi Security, ReversingLabs, SafeDep, Socket, Step Security, and Wiz. The trojanized

References

Community reviews

Loading reviews…