MAL-2026-14247

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/magika-js/MAL-2026-14247.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14247
Published
2026-08-19T03:56:20Z
Modified
2026-08-19T04:30:10.903115438Z
Summary
Malicious code in magika-js (npm)
Details

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

Source: amazon-inspector (41cd28e41bc842fd046a2bff254f450edd0b6d2d15d961fe768cf5e9ebfa197f)

magika-js is a typosquat of Google's magika library. The postinstall lifecycle script collects installer host identifiers (hostname, platform, arch, node version, package name, npm lifecycle event, timestamp) and POSTs them as JSON to the hardcoded endpoint https://ucjtw03t.instances.poc.jchunt.top/magika-js. The beacon fires automatically on npm install with no opt-in and no documented purpose served by the transmission, sending installer machine data to a non-publisher domain. A source.txt pointer to github.com/google/magika reinforces the impersonation of Google's project.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T04:18:13.687035721Z",
            "sha256": "41cd28e41bc842fd046a2bff254f450edd0b6d2d15d961fe768cf5e9ebfa197f",
            "modified_time": "2026-08-19T03:56:20Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018345",
            "versions": [
                "4.1.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / magika-js

Package

Affected ranges

Affected versions

4.*
4.1.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/magika-js/MAL-2026-14247.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "2195c3150cd65f4c27a4e9c5ec774d81bc7e93c3b98f06e4d04104ecbfeb1f91",
            "tlsh": "550123c0d2bd9f321bf4578060d1a90682bbd2637b0a607a67c802353fcd5f9007319d",
            "path": "postinstall.js"
        },
        {
            "sha256": "88db4caf996b491b0b2a4cc64942f7116fe51ef054d84c861b6568e3de350dc9",
            "tlsh": "05a022ffb00882a00e202e8e38c8820c83200220f8a3c3eee0220002b00008208c3aa2",
            "path": "source.txt"
        }
    ],
    "package_integrity": [
        {
            "filename": "magika-js-4.1.1.tgz",
            "hashes": {
                "sha1": "cee49483791181522cb29b7ecb75337ac569c118",
                "sha512_sri": "sha512-eIBrJYZfvwetcFyW1fKyCDwzf9jRB2wpX9iH8X7jhZM9EihxEWRwesyQ6TBVvEi/40HPCZ2SXtJxOwsibRBRMw=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]