init-router (npm) · Malicious Code
Affects init-routerSource GCVE Database
0
Malicious package : remove init-router and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 11:28 UTC
Classification
Malicious package
Published to npm · OSV MAL-2025-192803
What to do
Remove init-router from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npminit-routerpkg:npm/init-routerOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0d018c8963d1a91fc672bfe128a7699635fb3dd34a7df393119baee24d44a3d0) The package init-router was found to contain malicious code.
References
- socket.dev/blog/north-korea-contagious-interview-npm-attacks (opens in a new tab)
- thehackernews.com/2025/11/north-korean-hackers-deploy-197-npm.html (opens in a new tab)
- security.snyk.io/vuln/SNYK-JS-INITROUTER-14152257 (opens in a new tab)
- github.com/advisories/GHSA-h4mg-mc25-m3qv (opens in a new tab)
Community reviews
Loading reviews…