@library-dev-team/data-sanitizer (npm) · Malicious Code
Affects @library-dev-team/data-sanitizerSource GCVE Database
Malicious package : remove @library-dev-team/data-sanitizer and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:53 UTC
Malicious package
Published to npm · OSV MAL-2026-14160
What to do
Remove @library-dev-team/data-sanitizer 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 |
|---|---|---|
| npm@library-dev-team/data-sanitizer | 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 @library-dev-team/data-sanitizer version 1.3.0 contains malicious code that executes immediately upon being required. This code reads environment variables from a .env file in the current working directory, extracting sensitive values such as PRIVATE_KEY, SECRET, and MNEMONIC. It then uses these private keys to create wallet objects for multiple blockchain networks and automatically transfers funds to attacker-controlled addresses. The malicious code employs obfuscation and masquerades as a system daemon process to evade detection. This behavior is unrelated to the package's advertised purpose as a data sanitizer.