Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in buffer-utilities (npm)

0
Critical
Published: 05/30/2026 (05/30/2026, 09:02:03 UTC)
Source: GCVE Database
Product: buffer-utilities

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.

Affected software

npmghsa
buffer-utilities
Affected versions
=1.0.0=1.1.1=1.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/09/2026, 10:08:56 UTC

Technical Analysis

The 'buffer-utilities' npm package (versions 1.0.0, 1.1.0, and 1.1.1) is a malicious package that impersonates the legitimate 'buffer' package by copying its metadata. It contains code that, when imported, base64-decodes a URL pointing to a mutable JSON paste on jsonkeeper.com and fetches JavaScript code from this URL. The fetched code is then executed via eval(), allowing an attacker who controls the paste to run arbitrary code with full privileges on the host system. This design enables dynamic and stealthy remote code execution without any version bump or package update. The package is considered fully compromising any system where it is installed or running.

Potential Impact

Any system that imports the 'buffer-utilities' package versions 1.0.0, 1.1.0, or 1.1.1 is at risk of full compromise. The package executes arbitrary JavaScript code fetched from a remote mutable source with full process privileges, potentially allowing attackers to execute any commands, steal secrets, or take complete control of the system. The compromise includes risk to all secrets and keys stored on the affected system, which should be considered exposed.

Mitigation Recommendations

Remove the 'buffer-utilities' package immediately from all affected systems. Rotate all secrets, keys, and credentials that were stored or accessible on the compromised systems from a separate, trusted environment. Because the package enables full system compromise, assume the system may be persistently compromised and consider rebuilding or thoroughly investigating the affected hosts. There is no official patch or fix available; the package is malicious by design and should not be used.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5087
Osv Schema Version
1.7.4
Aliases
["GHSA-67mv-3xg7-3726"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4f6c7468715ace4315ac4f

Added to database: 07/09/2026, 09:40:04 UTC

Last enriched: 07/09/2026, 10:08:56 UTC

Last updated: 07/26/2026, 11:07:24 UTC

Views: 18

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses