loader-utils-kit (npm) · Malicious Code
Affects loader-utils-kitSource GCVE Database
Malicious package : remove loader-utils-kit and rotate any secrets on hosts that installed it.
Data as of 13 Nov 2026, 04:29 UTC
Malicious package
Published to npm · OSV MAL-2026-18689
What to do
Remove loader-utils-kit 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 |
|---|---|---|
| npmloader-utils-kit | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The loader-utils-kit npm package is a typosquatting malware impersonating the legitimate webpack loader-utils package. It includes an obfuscated module lib/contract.js that decodes and executes code via the Function constructor, posing a risk if explicitly imported. The package metadata spoofs the original author and repository to appear legitimate. The malicious payload is dormant by default and only activates if the specific contract.js module is required by a consumer.