News item

Known Shai-Hulud payload returns through four npm packages

A known Shai-Hulud software supply-chain payload resurfaced yesterday in four npm package releases published within an hour. Researchers found the files were a byte-for-byte match for malware used in an earlier compromise in May.

8 September 2026 | 1 minute read

The return of an unchanged, previously documented file after 111 days without sightings is a reminder that registry scanning is no panacea for malware detection. Since July, npm employs an automated system to check packages for known malicious content and runs them to look for new patterns of possible malicious behavior. Every package gets held for up to 15 minutes while it gets analyzed.

The worm runs through an installation lifecycle hook. Earlier analysis of the same payload found capabilities to collect npm and GitHub tokens, cloud credentials, SSH keys, and CI/CD secrets; validate stolen publishing tokens; modify package archives; increment versions; and republish poisoned releases. It can also alter developer-tool configuration files, creating a possible execution path after the original dependency is removed.

People responsible for application security should verify the four package versions below against lockfiles, artifact repositories, and recent build logs:

If traces of malware are found, incident response should scope execution rather than merely remove the dependency, rotate developer, npm, GitHub, cloud, and CI/CD credentials reachable from the affected host, and inspect VS Code, Claude, and repository configuration for persistence. Procurement and platform owners should require scanning vendors to explain why a known hash was not blocked.


Sources:

https://cybersecuritynews.com/shai-hulud-npm-worm/

https://gbhackers.com/npm-worm-returns-after-111-days/