MAL-2026-10211: Malicious code in react-next-vite (npm)
The npm package react-next-vite version 1.2.9 impersonates the pino logger and contains malicious code that spawns a detached child process to fetch and execute remote JavaScript payloads. This payload is retrieved from a mutable IPFS gateway and executed with full access to the Node.js runtime via Function constructor and require. The package also uses base64-encoded URLs hidden in fake environment variables as a second-stage configuration channel, making it a fully weaponized dropper that activates when the module's default export is used.
AI Analysis
Technical Summary
The react-next-vite npm package (version 1.2.9) masquerades as the pino logger but contains malicious functionality. When its default export middleware factory is invoked, it spawns a detached child Node.js process that silently fetches a JavaScript payload from a mutable IPFS gateway URL. This payload is dynamically executed with require in scope, granting it full access to the host environment. Additional configuration endpoints are concealed as base64-encoded strings within fake environment variable objects, serving as a second-stage command and control channel. This combination of identity impersonation, stealthy detached child process execution, remote code fetch-and-eval, and hidden configuration URLs constitutes a fully weaponized dropper capable of compromising any consumer using this package version.
Potential Impact
Any application that installs and uses react-next-vite version 1.2.9 and invokes its default export middleware is at risk of remote code execution. The malicious code runs with full Node.js runtime privileges, enabling arbitrary code execution, potential data theft, system compromise, or further malware deployment. The use of a detached child process and hidden configuration URLs increases stealth and persistence, complicating detection and response.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. The best mitigation is to avoid using react-next-vite version 1.2.9 entirely. Remove this package from any projects and replace it with a trusted alternative. Monitor package sources carefully to avoid installing similarly impersonating or malicious packages. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
MAL-2026-10211: Malicious code in react-next-vite (npm)
Description
The npm package react-next-vite version 1.2.9 impersonates the pino logger and contains malicious code that spawns a detached child process to fetch and execute remote JavaScript payloads. This payload is retrieved from a mutable IPFS gateway and executed with full access to the Node.js runtime via Function constructor and require. The package also uses base64-encoded URLs hidden in fake environment variables as a second-stage configuration channel, making it a fully weaponized dropper that activates when the module's default export is used.
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 react-next-vite npm package (version 1.2.9) masquerades as the pino logger but contains malicious functionality. When its default export middleware factory is invoked, it spawns a detached child Node.js process that silently fetches a JavaScript payload from a mutable IPFS gateway URL. This payload is dynamically executed with require in scope, granting it full access to the host environment. Additional configuration endpoints are concealed as base64-encoded strings within fake environment variable objects, serving as a second-stage command and control channel. This combination of identity impersonation, stealthy detached child process execution, remote code fetch-and-eval, and hidden configuration URLs constitutes a fully weaponized dropper capable of compromising any consumer using this package version.
Potential Impact
Any application that installs and uses react-next-vite version 1.2.9 and invokes its default export middleware is at risk of remote code execution. The malicious code runs with full Node.js runtime privileges, enabling arbitrary code execution, potential data theft, system compromise, or further malware deployment. The use of a detached child process and hidden configuration URLs increases stealth and persistence, complicating detection and response.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. The best mitigation is to avoid using react-next-vite version 1.2.9 entirely. Remove this package from any projects and replace it with a trusted alternative. Monitor package sources carefully to avoid installing similarly impersonating or malicious packages. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10211
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ae0768715ace438f8521
Added to database: 07/13/2026, 09:21:11 UTC
Last enriched: 07/13/2026, 09:58:12 UTC
Last updated: 07/13/2026, 09:58:12 UTC
Views: 3
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.
External Links
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.