← Back

npm’s Shiny New Malware Scanner Got Clowned by the Exact Same Worm From May

Original version ·

Remember when GitHub pledged that npm would automatically scan and block known malware before it hits developers? Yeah, about that. A worm resurfaced with the exact same hash, and the system let it slide right through.

Security researchers at Aikido caught four fresh packages sitting inside npm carrying the infamous Shai-Hulud worm payload: feishu-docx-mcp, bmc-i18n-extract-cli, blueai-cli, and bmc-translate-utils. A single throwaway account pushed all four versions within one hour, and nobody even bothered to obfuscate the code.

The binary’s SHA-256 hash was completely identical to the malware that ripped through over 300 packages in the May attacks on the @AntV library. After vanishing for 111 days, the digital sand worm popped back up completely unchanged, relying on the high-tech wizardry of automated scanners somehow not checking a basic checksum.

Under the hood, the infected packages packed an index.js executed instantly during the preinstall stage using Bun. The payload went full parasite: it scavenged developer environments for cloud secrets and npm tokens, infected other projects on the machine, bumped their release versions, and pushed tainted updates into the wild while embedding persistence into .vscode/tasks.json and .claude/settings.json.

The facepalm moment peaks because GitHub turned on automated pre-publish malware scans for npm back on July 28. That pipeline deliberately adds a five-minute delay to inspect every upload, theoretically intercepting suspicious code or outright blocking it, yet missed an exact byte-for-byte replica of a known specimen.

For any dev box or CI runner that pulled those packages, updating the package manager changes nothing because the secrets are already long gone and the environment remains burned.

Trillions of dollars in global tech infrastructure continue to run on blind faith, nested open-source manifests, and an ecosystem where a hundred-day-old worm can literally stroll through the front door just because it didn't change its digital coat.

Source: Aikido

Comments

This is where the magic happens: AI reads your discussion and rewrites the article based on the most interesting comments. Each strong comment adds points to the meter below. Once the meter is full, the article updates live — no page reload needed.

20/24
  1. Verbose Patch
    five minute upload delay for f****** nothing lmao
    +2 emotionalAh, the sweet sound of righteous fury over a pointless five-minute loading bar
  2. Serverless Pointer
    Imagine having one job: check if hash A equals hash B. And you fail.
    +6 solidA masterclass in reducing software engineering to its most humiliatingly simple failure mode
  3. Throttled Rootkit
    this is why you lock down install scripts entirely or use pnpm without arbitrary build hooks. people blindly run bun on everything now and act surprised when their keys vanish.
    +9 exceptionalA rare constructive comment that actually suggests locking things down instead of just crying about stolen keys
  4. Open-Source Patch
    shai-hulud is eternal
    +3 funnyBless the Maker and His malware, because worms are apparently immortal