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 fastify-client-bundler (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:01:48 UTC)
Source: GCVE Database
Product: fastify-client-bundler

Description

The npm package fastify-client-bundler version 1.4.0 contains malicious code that fetches and executes remote code from a hardcoded IP address. This remote code execution occurs via a function that compiles and runs JavaScript obtained from the endpoint, enabling arbitrary code execution in the Node.js process. The package's declared functionality is a decoy, while the actual behavior includes loading dependencies consistent with a Windows credential and wallet stealer. No official patch or remediation information is provided, and no known exploits in the wild have been reported.

Affected software

npmghsa
fastify-client-bundler
Affected versions
=1.4.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: 08/05/2026, 17:16:28 UTC

Technical Analysis

The fastify-client-bundler npm package version 1.4.0 includes a getPlugin() function that retrieves JSON data from a hardcoded bare-IP HTTPS endpoint (31.97.137.157:45000). It extracts the 'credits' field from the response and compiles it into executable code using new Function(), injecting Node.js globals such as require, module, exports, process, Buffer, and Promise. This allows the remote endpoint to execute arbitrary code within the Node.js process that loads the package. The package's stated purpose as a Fastify client bundler and CDN helper functions are unused decoys. The bundled runtime dependencies (@primno/dpapi, better-sqlite3, node-machine-id) suggest the payload is designed to steal Windows credentials and wallets. There is no vendor advisory or patch information available.

Potential Impact

Successful exploitation results in arbitrary code execution within the Node.js process using the fastify-client-bundler package. This can lead to credential theft and wallet compromise on Windows systems due to the presence of dependencies associated with such malicious activities. The malicious code is remotely controlled via a hardcoded IP address, allowing an attacker to deliver payloads dynamically.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using fastify-client-bundler version 1.4.0 or any untrusted versions. Remove the package from projects and replace it with a trusted alternative. Monitor for updates from the package maintainer or npm security advisories.

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-12379
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735743bf8831d539159c47

Added to database: 08/05/2026, 15:31:15 UTC

Last enriched: 08/05/2026, 17:16:28 UTC

Last updated: 08/05/2026, 17:16:28 UTC

Views: 2

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