Skip to main content
MalwarePublished Updated

metadata-lib (npm) · Malicious Code

Affects metadata-libSource GCVE Database

0

Malicious package : remove metadata-lib and rotate any secrets on hosts that installed it.

Data as of 22 Nov 2026, 02:22 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-47999

What to do

Remove metadata-lib 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
npmmetadata-libAffected
  • >=2.0.0
  • =2.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 'metadata-lib' version 2.0.0 and later communicates with a domain linked to malicious activity. Installation or execution of this package results in a fully compromised system, potentially exposing all stored secrets and keys. Immediate removal of the package and rotation of all secrets from a separate, uncompromised system is strongly advised.

References

Community reviews

Loading reviews…