OSV Malicious Advisory
scanned 3h ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-5087 confirms this npm version as malicious. 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...
Advisory
MAL-2026-5087
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in buffer-utilities (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms buffer-utilities@1.1.0 as malicious (MAL-2026-5087): Malicious code in buffer-utilities (npm)
Source & flagged code
0 flaggedNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory