Skip to main content
MalwarePublished

lilys-builder (npm) · Malicious Code

Affects lilys-builderSource GCVE Database

0

Malicious package : remove lilys-builder and rotate any secrets on hosts that installed it.

Data as of 4 Dec 2026, 00:03 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-21080

What to do

Remove lilys-builder 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
npmlilys-builderAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'lilys-builder' version 1.0.0 contains malicious code embedded in its main JavaScript file. The package.json specifies a postinstall script that executes a heavily obfuscated ~6.3 MB JavaScript file using JSFuck encoding. This obfuscated code runs automatically on installation and also executes whenever the package is required, replacing the intended readable message builder functionality which is present but unused. The readable code is attributed to a third party and is not actually used, indicating the package is a repackaged malicious version. This behavior poses a risk to any project that installs or imports this package.

References

Community reviews

Loading reviews…