Npm Run Hack:Me - A Supply Chain Attack Journey
2025-03-10 • ronxjansen •
https://rxj.dev/posts/npm-run-hack-supply-chain-attack-journey/
A fake Web3 recruiting process led a freelance developer to run a project that installed malware through an unfamiliar npm package named process-log. The package started a second Node.js server, fetched obfuscated JavaScript from npoint.io JSON endpoints, and executed the returned "cookie" content with eval. The payload opened a persistent websocket, searched for browser cookies, Electron data, keychains, SSH keys, secrets files, and Web3 project material, then uploaded collected data to attacker infrastructure on a 15-second loop. The victim responded by wiping the workstation and rotating API keys and passwords, making the case a practical example of recruiter-led supply-chain compromise against developers.
Indicators of Compromise
| Type | Value | First Seen | Last Seen |
|---|---|---|---|
| URL | https://api.npoint.io/159a15993… | 2025-03-10 | 2026-02-19 |
| URL | https://api.npoint.io/af96f052f… | 2025-03-10 | 2025-03-10 |
| URL | https://api.npoint.io/025af1587… | 2025-03-10 | 2025-03-10 |
| URL | https://api.npoint.io/9f8dfa3cb… | 2025-03-10 | 2025-03-10 |
| URL | https://api.npoint.io/0d88d78a2… | 2025-03-10 | 2025-03-10 |
| URL | https://api.npoint.io/13ad0e1b2… | 2025-03-10 | 2025-03-10 |
| URL | https://api.npoint.io/4af1d76b3… | 2025-03-10 | 2025-03-10 |