1libxmljs2 (npm) · Malicious Code
Affects 1libxmljs2Source GCVE Database
Malicious package : remove 1libxmljs2 and rotate any secrets on hosts that installed it.
Data as of 16 Nov 2026, 01:32 UTC
Malicious package
Published to npm · OSV MAL-2025-190556
What to do
Remove 1libxmljs2 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 |
|---|---|---|
| npm1libxmljs2 | 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 npm package 1libxmljs2 has been identified as containing malicious code. Any system with this package installed or running is considered fully compromised. It is advised to remove the package and immediately rotate all secrets and keys from a different, uncompromised machine. However, removal of the package may not fully eliminate the malicious presence due to potential full control granted to attackers.