Skip to main content
MalwarePublished

@krentzen/buffer-reverse (npm) · Malicious Code

Affects @krentzen/buffer-reverseSource GCVE Database

0

Malicious package : remove @krentzen/buffer-reverse and rotate any secrets on hosts that installed it.

Data as of 26 Jun 2026, 22:09 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6536

What to do

Remove @krentzen/buffer-reverse 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
npm@krentzen/buffer-reverseAffected
  • =1.0.3
Fixed in–

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

Description

The @krentzen/buffer-reverse npm package version 1.0.3 is a malicious package impersonating a legitimate utility. It contains heavily obfuscated code that executes at import time, detaching a child Node process which downloads and executes an attacker-controlled binary from the internet. This binary is unsigned and unverified, allowing execution of arbitrary native code on the host system. Any project requiring this package will run this malicious code, potentially compromising the environment.

References

Community reviews

Loading reviews…