MAL-2026-16069

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/reactlogo-load/MAL-2026-16069.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16069
Published
2026-09-09T04:04:10Z
Modified
2026-09-09T04:30:06Z
Summary
Malicious code in reactlogo-load (npm)
Details

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

Source: amazon-inspector (a0f9d76fcf9f229c0a11508004a2be764133c6195530c4d56563eb28c358ab5f)

The package presents itself as a logo/color utility but its exported loadLogo() function extracts a URL from LSB-encoded bits of a PNG, fetches the response body, and executes it via a reflective Function-constructor invocation. The 'constructor' property name and the Function reference are hidden behind a deterministic string-shuffle helper (hsvMean) named as a color utility, so no plaintext 'constructor', 'Function', 'eval', or destination URL appears in the source. runInContext binds global.require, module, and exports into the executed script, giving the fetched code full Node runtime capability on the caller's host. Following the README's documented usage (vite/tailwind build integration) triggers the fetch-and-execute path, so arbitrary attacker-controlled code runs on any machine that adopts this library.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-019836",
            "import_time": "2026-09-09T04:21:44.902097712Z",
            "modified_time": "2026-09-09T04:04:10Z",
            "sha256": "a0f9d76fcf9f229c0a11508004a2be764133c6195530c4d56563eb28c358ab5f",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / reactlogo-load

Package

Name
reactlogo-load
View open source insights on deps.dev
Purl
pkg:npm/reactlogo-load

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "dist/index.js",
            "sha256": "893a50335df880baa9bc6c8b0bfeef3acda3378fa6966b0f092ddd6a6a6d6cf8",
            "tlsh": "de92956932f7602a4163a0b8451fc81f77296803325fc994fb6c96d03fc92789af3ad5"
        }
    ],
    "package_integrity": [
        {
            "filename": "reactlogo-load-1.0.0.tgz",
            "hashes": {
                "sha1": "979bbb0325f4031046b55ff7891939535d4b1e22",
                "sha512_sri": "sha512-DwVU0Bqa7zv8o/qS1fHKLtcz5qa8HIunZwwlHfqTm0CF65oXk37llCPjxbBeHHOuil8O7aJssXn2663nR1Bfkw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/reactlogo-load/MAL-2026-16069.json"