MAL-2026-11366

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-fast-refresh-helper/MAL-2026-11366.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11366
Aliases
  • GHSA-p32r-hmph-46qm
Published
2026-07-30T12:29:38Z
Modified
2026-08-04T22:05:12.882297563Z
Summary
Malicious code in react-fast-refresh-helper (npm)
Details

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

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-31T01:10:09.679428839Z",
            "modified_time": "2026-07-30T12:29:39Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-p32r-hmph-46qm",
            "sha256": "099a09ef3c31cb84f4c5513772b1ea1ffc63e2f8767cb0b16a79399137a2ef7c",
            "source": "ghsa-malware"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-04T21:25:44Z",
            "sha256": "f48b7182add5e8890224587d7e4202e045d82bd016124244eedf9d91d696736d",
            "id": "IN-MAL-2026-011053",
            "versions": [
                "1.2.6"
            ],
            "import_time": "2026-08-04T21:33:15.200422226Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-04T21:14:55Z",
            "sha256": "93800b434576d49427074e629cc01411060dce066207f3ef429a841def049af4",
            "id": "IN-MAL-2026-010981",
            "versions": [
                "1.2.4"
            ],
            "import_time": "2026-08-04T21:33:12.181386648Z"
        },
        {
            "import_time": "2026-08-04T21:33:12.290350165Z",
            "modified_time": "2026-08-04T21:15:02Z",
            "sha256": "bcca3ccc0a35a13d8b3f30ff6019ab57782882ada4e01b941fbee77ad1236115",
            "id": "IN-MAL-2026-010982",
            "versions": [
                "1.2.5"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / react-fast-refresh-helper

Package

Name
react-fast-refresh-helper
View open source insights on deps.dev
Purl
pkg:npm/react-fast-refresh-helper

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.4
1.2.5
1.2.6

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "install.js",
            "sha256": "6f00498587dd73a4cfdf955af4c92b44593ca67a978cbe5aa40ae9279cb95224",
            "tlsh": "b011108d794302055bb04ad1be127e2ac8d3c423634756c0f0988dce7be15a85eaef6c"
        },
        {
            "path": "package.json",
            "sha256": "0b938ff3fde9bb738628b218a4fa4f14c3dca25c233dac0e44dc97263ed73fb1",
            "tlsh": "4ce0e5268d1155336df1369879755103b1122f1f122c4c0e31f7412c93ab3aa016f71a"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-fast-refresh-helper/MAL-2026-11366.json"