Skip to main content
MalwarePublished

envpack-conf (npm) · Malicious Code

Affects envpack-confSource GCVE Database

0

Malicious package : remove envpack-conf and rotate any secrets on hosts that installed it.

Data as of 12 Aug 2026, 20:27 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13921

What to do

Remove envpack-conf 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
npmenvpack-confAffected
  • =1.0.1
Fixed in–

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

Description

envpack-conf version 1.0.1 is a trojanized npm package impersonating the legitimate pkg-conf utility. It contains malicious code that, when imported, asynchronously queries multiple public Ethereum RPC endpoints for transactions from a specific attacker address. It decodes transaction data to retrieve two IPv4 addresses, fetches an XOR-encrypted second-stage payload from these hosts, decrypts it, and executes it both via eval() and a detached Node.js child process. The package uses obfuscation techniques such as Unicode escapes and typosquatting to evade detection and impersonate the original maintainer.

References

Community reviews

Loading reviews…