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…

MAL-2026-10211: Malicious code in react-next-vite (npm)

0
Critical
Published: 07/12/2026 (07/12/2026, 20:48:42 UTC)
Source: GCVE Database
Product: react-next-vite

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

npmghsa
react-next-vite
Affected versions
=1.2.9

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/13/2026, 09:58:12 UTC

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.

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-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 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