Skip to main content
MalwarePublished Updated

layui.js (npm) · Malicious Code

Affects layui.jsSource GCVE Database

0

Malicious package : remove layui.js and rotate any secrets on hosts that installed it.

Data as of 25 Nov 2026, 12:20 UTC

Classification

Malicious package

Published to npm · OSV MAL-2024-2598

What to do

Remove layui.js 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
npmlayui.jspkg:npm/layui.jsOther threatsAffected
  • =6.0.2
Fixed in–

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

Description

A malicious code incident has been identified in the npm package layui.js version 6.0.2. The report indicates the presence of malicious content but provides no further technical details or impact description.

References

Community reviews

Loading reviews…