MAL-2026-10207: Malicious code in react-dom-v17 (npm)
The npm package 'react-dom-v17' impersonates the legitimate 'react-dom' package and contains malicious code. During installation, a preinstall script executes commands to gather host and user information, including system identifiers and user details. This data is sent to an attacker-controlled external server, indicating data exfiltration intent. The preinstall script also enables arbitrary command execution on the installer system at install time, allowing potential follow-on malicious actions.
AI Analysis
Technical Summary
The malicious npm package 'react-dom-v17' (version 15.0.1) uses a preinstall script declared in its package.json to execute 'node index.js' automatically during installation. This script runs shell commands ('whoami' and 'id') to collect user and system information, gathers additional environment details via Node.js APIs, and sends this information as a JSON payload to a hardcoded attacker-controlled domain (oastify.com). The execution of arbitrary shell commands during installation provides an attack surface for further malicious payloads. This package impersonates the widely-used 'react-dom' package to deceive users into installing it.
Potential Impact
Installation of this malicious package results in unauthorized collection and exfiltration of sensitive host and user information to an attacker-controlled server. Additionally, the arbitrary command execution capability during installation can lead to further compromise of the installing system. This poses a significant risk to confidentiality and system integrity for users who install this package.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing the 'react-dom-v17' package, especially version 15.0.1, as it is malicious. Verify package authenticity by using official package sources and names. Monitor package dependencies for suspicious or impersonating packages. Patch status is not yet confirmed — check the vendor advisory or trusted sources for current remediation guidance.
MAL-2026-10207: Malicious code in react-dom-v17 (npm)
Description
The npm package 'react-dom-v17' impersonates the legitimate 'react-dom' package and contains malicious code. During installation, a preinstall script executes commands to gather host and user information, including system identifiers and user details. This data is sent to an attacker-controlled external server, indicating data exfiltration intent. The preinstall script also enables arbitrary command execution on the installer system at install time, allowing potential follow-on malicious actions.
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 malicious npm package 'react-dom-v17' (version 15.0.1) uses a preinstall script declared in its package.json to execute 'node index.js' automatically during installation. This script runs shell commands ('whoami' and 'id') to collect user and system information, gathers additional environment details via Node.js APIs, and sends this information as a JSON payload to a hardcoded attacker-controlled domain (oastify.com). The execution of arbitrary shell commands during installation provides an attack surface for further malicious payloads. This package impersonates the widely-used 'react-dom' package to deceive users into installing it.
Potential Impact
Installation of this malicious package results in unauthorized collection and exfiltration of sensitive host and user information to an attacker-controlled server. Additionally, the arbitrary command execution capability during installation can lead to further compromise of the installing system. This poses a significant risk to confidentiality and system integrity for users who install this package.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing the 'react-dom-v17' package, especially version 15.0.1, as it is malicious. Verify package authenticity by using official package sources and names. Monitor package dependencies for suspicious or impersonating packages. Patch status is not yet confirmed — check the vendor advisory or trusted sources for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10207
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ae1068715ace438f8cf2
Added to database: 07/13/2026, 09:21:20 UTC
Last enriched: 07/13/2026, 09:58:41 UTC
Last updated: 07/13/2026, 09:58:41 UTC
Views: 2
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.