Official MASTR logo MASTR
Menu
Read the publication

Phishing, exploits & privacy

The JavaScript supply-chain worm: a warning for Web3 builders

The injected code auto-executes after install, pulls Trufflehog to hunt for secrets (tokens, API keys, passwords), then uses stolen maintainer creds to infect even more packages, a classic self-propagating supply-chain attack.

The original publications are in English. Navigation is available in seven languages.

01

Original on X ↗

🚨 JS Devs & Web3 Builders – Pay Attention! 🚨

A massive worm-style malware is ripping through the JavaScript ecosystem.

Nearly 500 compromised NPM package versions are confirmed.

It all started with @ctrl/tinycolor (2M+ weekly downloads!) and spread like wildfire.

Attack nicknamed “Shai-Hulud” – a Dune reference.

The injected code auto-executes after install, pulls Trufflehog to hunt for secrets (tokens, API keys, passwords), then uses stolen maintainer creds to infect even more packages, a classic self-propagating supply-chain attack.

Even CrowdStrike’s packages were briefly hit.

They’ve rotated keys and removed the bad versions, but this shows how deep the breach went.

🛡 What you MUST do right now;

-Audit dependencies: Pin versions, re-check package-lock.json or yarn.lock.

-Rotate secrets: Any leaked keys are now burned.

-Scan repos: Use Trivy, Socket, Step Security or Aikido scanners.

-Enable 2FA on NPM & GitHub.

-Watch maintainer accounts: Compromised maintainers are the worm’s fuel.

Supply-chain attacks are getting smart, fast, and relentless.

If you’re in DeFi, NFTs, or any JS-heavy project, one compromised build step can drain wallets or leak critical infra keys.

Don’t sleep on this. Verify.

02

Original on X ↗

This is also still relevant

https://t.co/3khWO2LNaR

Mentioned accounts

Find where an X account appears in the selected publications. A mention is not an allegation or an endorsement.

@ctrl

Related research

Phishing, exploits & privacy

Privacy, surveillance and control

A discussion of surveillance, data collection and the relationship between privacy and personal autonomy.

Original articles4 min
MASTR

Support independent research

The investigations, original evidence and guides here are free to read. Voluntary donations help fund the research and keep MASTR’s tools available.

Open wallet