Malicious code in react-dom-helpers (npm)
The npm package react-dom-helpers version 3.3.3 contains malicious code that exfiltrates host information. Upon loading, it decodes a base64-encoded Slack bot token and channel ID, enumerates local IPv4 addresses, retrieves the public IP address, and sends this data to a Slack channel using the hardcoded token. This exfiltration occurs unconditionally when the module is loaded.
AI Analysis
Technical Summary
The react-dom-helpers package (npm ecosystem) version 3.3.3 is a typosquatting malicious package targeting the legitimate react-dom package name. Its client.js module contains code that decodes a base64-obfuscated Slack bot token and channel ID to bypass secret scanners. It collects local IPv4 addresses via os.networkInterfaces() and fetches the public IP from api.ipify.org. The collected host identifiers are then sent via a POST request to Slack's chat.postMessage API endpoint using the hardcoded bearer token. This data exfiltration routine is triggered automatically upon module load, indicating the package is designed to stealthily collect and leak environment information.
Potential Impact
This malicious package compromises the confidentiality of the host environment by exfiltrating network interface details and public IP address to an attacker-controlled Slack channel. This can lead to information leakage about the infected system, potentially aiding further targeted attacks or reconnaissance. There is no indication of direct code execution beyond the exfiltration or other impacts from the provided data.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should avoid installing react-dom-helpers version 3.3.3 and verify dependencies to prevent typosquatting attacks. Remove any installations of this package immediately. Employ supply chain security measures such as verifying package authenticity and using trusted sources. Monitor for suspicious network activity related to Slack API endpoints. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in react-dom-helpers (npm)
Description
The npm package react-dom-helpers version 3.3.3 contains malicious code that exfiltrates host information. Upon loading, it decodes a base64-encoded Slack bot token and channel ID, enumerates local IPv4 addresses, retrieves the public IP address, and sends this data to a Slack channel using the hardcoded token. This exfiltration occurs unconditionally when the module is loaded.
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-dom-helpers package (npm ecosystem) version 3.3.3 is a typosquatting malicious package targeting the legitimate react-dom package name. Its client.js module contains code that decodes a base64-obfuscated Slack bot token and channel ID to bypass secret scanners. It collects local IPv4 addresses via os.networkInterfaces() and fetches the public IP from api.ipify.org. The collected host identifiers are then sent via a POST request to Slack's chat.postMessage API endpoint using the hardcoded bearer token. This data exfiltration routine is triggered automatically upon module load, indicating the package is designed to stealthily collect and leak environment information.
Potential Impact
This malicious package compromises the confidentiality of the host environment by exfiltrating network interface details and public IP address to an attacker-controlled Slack channel. This can lead to information leakage about the infected system, potentially aiding further targeted attacks or reconnaissance. There is no indication of direct code execution beyond the exfiltration or other impacts from the provided data.
Defensive Guidance
No official patch or remediation is currently documented for this malicious package. Users should avoid installing react-dom-helpers version 3.3.3 and verify dependencies to prevent typosquatting attacks. Remove any installations of this package immediately. Employ supply chain security measures such as verifying package authenticity and using trusted sources. Monitor for suspicious network activity related to Slack API endpoints. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14253
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4c0acd9273b49252431
Added to database: 08/19/2026, 13:50:56 UTC
Last enriched: 08/19/2026, 14:26:57 UTC
Last updated: 08/19/2026, 14:26:57 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.