Advisory

MAL-2026-5087

Also known as: GHSA-67mv-3xg7-3726

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in buffer-utilities (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (b3cf478b4c7637e44008fcc4590911059673b2efa3b3e956676ca18e5462c3d5)
buffer-utilities impersonates the legitimate buffer package by Feross Aboukhadijeh, copying its name, email, homepage, and GitHub repo metadata, and advertises itself as 'Node.js Buffer API, for the browser'. At require() time, index.js (lines 43-52) executes an IIFE that base64-decodes the string aHR0cHM6Ly93d3cuanNvbmtlZXBlci5jb20vYi9DV09WOQ== to https://www.jsonkeeper.com/b/CWOV9, performs an HTTP fetch, and passes the response's data.content field directly to eval(). jsonkeeper.com is a mutable anonymous JSON paste host: whoever controls the paste can change the executed payload at any time, with no version bump or republication of the package. Any application that imports buffer-utilities — including by accidental name confusion against the popular buffer package — runs whatever JavaScript the paste currently returns, with full process privileges. The base64-encoded URL constant is a deliberate obfuscation to defeat static URL scanning.

Source: ghsa-malware (ac9818418306f2a7e74562ae1c11bead29dcbcdb119e98734fdf8b3ac7a67d03)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Source: ossf-package-analysis (9d5f9cc02aafc6aacd829af1fe7b8adb4b215f176b9a412ee46ee28372b7805d)
The OpenSSF Package Analysis project identified 'buffer-utilities' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
  • The package executes one or more commands associated with malicious behavior.

Severity

Not rated by the source.

Dates

Published
2026-05-30 09:02 UTC
Modified
2026-07-08 23:01 UTC

Affected packages and fixes

buffer-utilities

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences