Skip to main content
MalwarePublished Updated

buffer-utilities (npm) · Malicious Code

Affects buffer-utilitiesSource GCVE Database

0

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

Data as of 9 Jul 2026, 10:08 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5087

What to do

Remove buffer-utilities 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-utilitiesAffected
  • =1.0.0
  • =1.1.1
  • =1.1.0
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-utilities' impersonates the legitimate 'buffer' package by copying its metadata and advertises itself as a Node.js Buffer API for browsers. Upon being required, it fetches and executes JavaScript code from a mutable external JSON paste service (jsonkeeper.com) using eval(), allowing remote code execution with full process privileges. This behavior enables an attacker controlling the paste to execute arbitrary code on any system importing this package. The package versions 1.0.0, 1.1.0, and 1.1.1 are affected. Removal of the package is recommended, but full system compromise is possible, so secrets and keys should be rotated immediately from a separate trusted environment.

References

Community reviews

Loading reviews…