Skip to main content
MalwarePublished

buffer-envjs (npm) · Malicious Code

Affects buffer-envjsSource GCVE Database

0

Malicious package : remove buffer-envjs and rotate any secrets on hosts that installed it.

Data as of 22 Nov 2026, 03:14 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-191979

What to do

Remove buffer-envjs 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
npmbuffer-envjsAffected–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 buffer-envjs was found to contain malicious code. Installation or execution of this package may lead to full compromise of the affected computer. Secrets and keys stored on the compromised system should be rotated immediately from a different, secure machine. Removal of the package does not guarantee elimination of all malicious software introduced by it.

References

Community reviews

Loading reviews…