react-dev-testloader@10.0.1
Malicious code in react-dev-testloader (npm)
Analysis
react-dev-testloader is a combosquat of the Create React App utility package react-dev-utils. Its package.json description ("webpack utilities used by Create React App"), homepage, bugs URL and repository field all point at github[.]com/facebook/create-react-app (directory packages/react-dev-utils), and the shipped source is a near-verbatim copy of react-dev-utils 12.0.1 — the same 37-file tree (launchEditor.js, WebpackDevServerUtils.js, webpackHotDevClient.js, openBrowser.js, getProcessForPort.js, evalSourceMapMiddleware.js, openChrome.applescript and the rest) with the same dependency list. Consumers installing this name receive Create React App's build tooling from a package that is not the upstream one, so any future publish of this name executes with the trust and install base of the real react-dev-utils. The published tarball itself declares no install or postinstall lifecycle hook (scripts contains only "test"), ships no bin entry, and contains no obfuscated or encoded payload; its only network code is the upstream dev-server WebSocket client in webpackHotDevClient.js, and its child_process use is the upstream editor-launching logic in launchEditor.js, getProcessForPort.js and openBrowser.js. No network IOC (C2 host, IP or URL) is present in this version.
- analyzed by
- Leitwacht
- first seen
- Oct 22, 2026, 08:49 AM
- analyzed
- Oct 22, 2026, 08:52 AM
Related advisories
- react-dev-testloader@12.0.1 same package
- pino-std@7.2.0
- loader-utils-kit@4.2.1
- @k.vict1999/pino-std-serializers@7.2.0
- @conduitops/logview-archive@1.0.1
- @sudobility/indexer_client@0.0.146
- formatting-subtitles@1.0.1
- suggestedtests@0.1.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.