MAL-2026-10207

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-dom-v17/MAL-2026-10207.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10207
Published
2026-07-12T20:47:33Z
Modified
2026-07-12T21:01:54.034575617Z
Summary
Malicious code in react-dom-v17 (npm)
Details

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

Source: amazon-inspector (f55f6e35ab09a2fcd6521dac51aa4baa4cfa726958bc266a0d56fc14de240a29)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-009760",
            "import_time": "2026-07-12T20:48:33.770289829Z",
            "sha256": "f55f6e35ab09a2fcd6521dac51aa4baa4cfa726958bc266a0d56fc14de240a29",
            "modified_time": "2026-07-12T20:47:33Z",
            "source": "amazon-inspector",
            "versions": [
                "15.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / react-dom-v17

Package

Affected ranges

Affected versions

15.*
15.0.1

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "tlsh": "a3d0a7304d22553369c502661c3ba44772618f2f14143c08a3cb582c81df37798ff35d",
            "sha256": "bc2b9616e7a9d105b2fa4c7399967570807c12fbc1e7e9ad7cc934a87518998b"
        },
        {
            "path": "index.js",
            "tlsh": "fe5161c505f65a251b67b8494a4f9402b227e0033506de55bfdc8740af9537c9bf0bf2",
            "sha256": "abee3ce2515771233d85d4a1e3a6c5874cec315a35f880cd39e1a57b999456c0"
        }
    ],
    "package_integrity": [
        {
            "filename": "react-dom-v17-15.0.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-/MWCy4RFfdo26vuc1PZJLlhq93QBM/7HgaUIdBIm1WfO1vXLa/FDZzMIHjJFxlvKOrO7kf/ZnX2t8kXOkPVjHw==",
                "sha1": "40891a4170e96cba5fd5cbb9302ce2e1276c2284"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-dom-v17/MAL-2026-10207.json"