Malicious code in fastify-bundler (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in fastify-bundler (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.