Skip to main content

Malicious code in fastify-bundler (npm)

0
Critical
Published: 07/14/2026 (07/14/2026, 02:41:15 UTC)
Source: GCVE Database
Product: fastify-bundler

Description

The npm package 'fastify-bundler' version 1.4.13 contains malicious code that executes attacker-controlled JavaScript with full Node.js privileges. It fetches remote code from an external URL and runs it dynamically, enabling arbitrary code execution. The package also includes deceptive metadata to attract installs and dependencies that facilitate credential theft and command-and-control operations. Any system with this package installed should be considered fully compromised.

Affected software

npmghsa
fastify-bundler
Affected versions
=1.4.13

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: 09/12/2026, 15:49:16 UTC

Technical Analysis

The 'fastify-bundler' npm package (version 1.4.13) exports a function that fetches JSON data from a remote URL and executes the 'data.credits' field as JavaScript code using the Function constructor with Node.js globals bound. This allows an attacker to run arbitrary code with full privileges on the host system. The package's dependencies include modules for decrypting Windows credentials, accessing browser login data, host fingerprinting, and network communication, which can be leveraged for credential theft and command-and-control. The package uses deceptive naming and README content to mislead users into installing it, targeting multiple popular ecosystems.

Potential Impact

Systems with 'fastify-bundler' version 1.4.13 installed are fully compromised due to remote code execution with full Node.js privileges. Attackers can execute arbitrary code, steal credentials, perform host fingerprinting, and establish command-and-control channels. All secrets and keys on affected systems should be considered compromised and rotated immediately. Removal of the package does not guarantee full remediation as the attacker may have installed additional malicious software.

Mitigation Recommendations

Remove the 'fastify-bundler' package immediately from all affected systems. Rotate all secrets, credentials, and keys from a secure, uncompromised environment. Because the attacker may have persistent access beyond the package, conduct a thorough investigation and remediation of the affected systems. No official patch or fix is available; the package itself is malicious. Avoid installing packages with suspicious or inconsistent metadata.

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-10520
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a55ff7768715ace432f263e

Added to database: 07/14/2026, 09:20:55 UTC

Last enriched: 09/12/2026, 15:49:16 UTC

Last updated: 09/14/2026, 14:09:18 UTC

Views: 55

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