Skip to main content
MalwarePublished Updated

loader-utils-kit (npm) · Malicious Code

Affects loader-utils-kitSource GCVE Database

0

Malicious package : remove loader-utils-kit and rotate any secrets on hosts that installed it.

Data as of 13 Nov 2026, 04:29 UTC

Classification

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

ProductAffectedFixed in
npmloader-utils-kitAffected
  • =4.2.1
  • =4.3.5
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.

References

Community reviews

Loading reviews…