MAL-2026-11366
Dashboard / Malicious Package / MAL-2026-11366
MAL-2026-11366
Summary: Malicious code in react-fast-refresh-helper (npm)
Details: Source: amazon-inspector (bcca3ccc0a35a13d8b3f30ff6019ab57782882ada4e01b941fbee77ad1236115) Package typosquats a React/Meta-branded name and falsely attributes authorship to 'Meta Open Source'. Its package.json declares a postinstall hook ("postinstall": "node install.js") that runs automatically on npm install. install.js fetches a Windows executable via https.get from an unpinned personal GitHub raw URL (raw.githubusercontent.com/Dunals/kl/main/keylogger.exe), writes it into the OS temp directory under the cover-story filename chrome_update.exe, sets mode 0755, and spawns it detached with stdio ignored. The remote source is a mutable third-party account, the fetched content is opaque and self-labeled 'keylogger', and execution occurs with no verification, hashing, or user interaction on default install. Source: ghsa-malware (099a09ef3c31cb84f4c5513772b1ea1ffc63e2f8767cb0b16a79399137a2ef7c) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://github.com/advisories/GHSA-p32r-hmph-46qm, https://www.npmjs.com/package/react-fast-refresh-helper/v/1.2.6, https://www.npmjs.com/package/react-fast-refresh-helper/v/1.2.4, https://www.npmjs.com/package/react-fast-refresh-helper/v/1.2.5
Affected packages
Package
Name: react-fast-refresh-helper
Purl: pkg:npm/react-fast-refresh-helper
Affected ranges
Type: SEMVER
Events:
