MAL-2026-4784

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-ui-polyfills/MAL-2026-4784.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4784
Aliases
  • GHSA-v7mj-pmr3-7x4p
Published
2026-05-26T07:20:20Z
Modified
2026-06-05T15:31:25.749338087Z
Summary
Malicious code in react-ui-polyfills (npm)
Details

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

Source: amazon-inspector (63c43460df1ee670b8a5982d77e7028aef7df25fa38922f743489fd52b41b5ea)

Package advertises itself as React polyfills / UI compatibility helpers but ships no React or polyfill code. The exported getPlugin() function returns a closure that fetches JSON from https://jsonkeeper.com/b/GMIHS (an anonymous, mutable paste-style host with no integrity verification) and passes the parsed.cookie field directly to eval(), executing attacker-controlled JavaScript in the consumer's process. The mismatch between the package's advertised purpose (React polyfills) and its actual contents (SVG utilities + remote-eval backdoor) indicates the name is engineered to lure React developers. Any application that imports this package and invokes getPlugin() will execute whatever JavaScript the attacker chooses to host at the jsonkeeper URL at that moment.

Source: ghsa-malware (258097416cb997b01e098f8838dd386a7310cb665d40c38f5e146535090d516a)

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": [
        {
            "id": "IN-MAL-2026-004860",
            "sha256": "63c43460df1ee670b8a5982d77e7028aef7df25fa38922f743489fd52b41b5ea",
            "modified_time": "2026-05-26T07:20:20Z",
            "versions": [
                "1.2.7"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-05-26T07:48:28.590161035Z"
        },
        {
            "id": "IN-MAL-2026-004861",
            "sha256": "983903a0ea0bc54186092f0509ca55ed8861039835e4fbc91a0452c99b177637",
            "modified_time": "2026-05-26T07:20:21Z",
            "versions": [
                "1.2.7"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-05-26T07:48:28.645154376Z"
        },
        {
            "modified_time": "2026-05-26T08:03:20Z",
            "sha256": "1980d59ba145376faa2b0e3ee80c62c47d0721390a39ab80e5046976cefc157c",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-05-26T09:17:31.584544154Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-004864"
        },
        {
            "source": "amazon-inspector",
            "sha256": "95822dbefead1d7a8b78540dea5bbf1eb3605d600910f7b46dc8f7d46b853b5b",
            "import_time": "2026-05-26T09:17:31.6694591Z",
            "modified_time": "2026-05-26T08:03:21Z",
            "id": "IN-MAL-2026-004865",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "modified_time": "2026-06-05T14:01:48Z",
            "sha256": "258097416cb997b01e098f8838dd386a7310cb665d40c38f5e146535090d516a",
            "import_time": "2026-06-05T15:22:17.757091593Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "id": "GHSA-v7mj-pmr3-7x4p"
        }
    ]
}
References
Credits

Affected packages

npm / react-ui-polyfills

Package

Affected ranges

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

Affected versions

1.*
1.0.0
1.2.7

Database specific

cwes
[
    {
        "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",
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "react-ui-polyfills-1.2.7.tgz",
            "hashes": {
                "sha1": "d1e245442885bd2852df22780f8427fcd8b77c14",
                "sha512_sri": "sha512-CwkJj9AqX09AK5KZgwV7Dlnz3yLBxiCr4sROsw80xO2qlqfVxV0JCtLSMivE/b3G5gOMbBS6wdLvZ/GRdA92dQ=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "ac7122a8999b70a5d6b1e3e447135011f559d1a72208c3d4b7acc5983fb272c90f3eec",
            "sha256": "52a59b0f9fb6d920116cf971981652c3adf161461953ed510f32ca3fbf403f68",
            "path": "index.js"
        },
        {
            "tlsh": "f5f0dc32891086a319f45ba338356a0b395a4f2f10684c06347b102c92a26ae000e74c",
            "sha256": "e7fe38d60d971dfbbcb1d13c512577e2bd76580f99a77e3c77a2dfe59200a994",
            "path": "package.json"
        }
    ],
    "domains": [
        "34.6.16.104.in-addr.arpa"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-ui-polyfills/MAL-2026-4784.json"