VDB
KO

MAL-2026-14253

Malicious code in react-dom-helpers (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (2fae606be0dbd7c79552511c2553ec9e1d081df1279f0bc85502a6c08c0f17fb) Package name typosquats `react-dom`. On `require('react-dom-helpers/client')`, client.js decodes a base64-obfuscated Slack bot token and channel ID, enumerates local IPv4 addresses via os.networkInterfaces(), fetches the installer's public IP from api.ipify.org, and POSTs the collected host identifiers to https://slack.com/api/chat.postMessage using the hardcoded bearer token. The exfiltration routine is invoked unconditionally at module load. The base64 wrapping of the Slack credential is used to bypass secret scanners.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / react-dom-helpers

No fixed version published yet for react-dom-helpers (npm). Pin to a known-safe version or switch to an alternative.

References