MAL-2026-10207 Malicious code in react-dom-v17 (npm)
Malicious package
Published
MAL-2026-10207 is a malicious package: react-dom-v17 (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-10207/ (Markdown: https://insights.sbomify.com/MAL-2026-10207/index.md)
- Package
- react-dom-v17
- Registry
- npm
What is MAL-2026-10207?
MAL-2026-10207 is a malicious package in react-dom-v17, published on 12 Jul 2026.
Official description
Package name impersonates the widely-used
react-dom package (react-dom-v17). package.json declares preinstall: node index.js, which fires automatically on npm install. The preinstall script (index.js) shells out via child_process.exec to run whoami and id, and collects host/user identifiers via os.hostname(), os.userInfo() (username, uid, gid, shell), process.platform, arch, home directory, and cwd. The collected JSON payload is POSTed to a hardcoded Burp Collaborator (oastify.com) subdomain at https://cjzlyigayl8lknm1sjrppofio9u0is6h.oastify.com/detox56. The oastify.com host is an attacker-controlled out-of-band callback endpoint used for reconnaissance beacons and confirms exfiltration intent. The preinstall shell execution surface also establishes arbitrary command execution on the installer at install time, enabling follow-on payloads.What should I do about MAL-2026-10207?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.