MAL-2026-11139

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/kordyn/MAL-2026-11139.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11139
Published
2026-07-28T13:39:51Z
Modified
2026-08-05T16:51:05Z
Summary
Malicious code in kordyn (npm)
Details

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

Source: amazon-inspector (c379ec39ec7791c9128dc4e1b82199ce29d7540a9a9984036af2ac79de38e1bf)

kordyn@0.9.14 advertises itself in package.json and README as an unimplemented placeholder for trivial streak utilities ('Early release — placeholder. Implementation to come.'), but the tarball's declared main entry index.mjs is a 355 KB module whose bulk is a base64-encoded Windows PE executable. index.mjs imports writeFileSync, mkdirSync, readdirSync, and existsSync from 'fs' at the top level and reconstructs the embedded binary via Buffer.from(_cache, 'base64'), where _cache begins with 'TVqQAAMAAAAEAAAA//8AAL...' decoding to an MZ/PE header including the 'This program cannot be run in DOS mode' stub. Simply importing or requiring the package executes the decoding path, and the imported fs write APIs indicate the decoded PE is intended to be written to the installer's disk. The advertised functionality (streak-count helpers) has no legitimate reason to embed a native Windows executable, and the placeholder cover story is inconsistent with the shipped 355 KB opaque payload in the direction that conceals it from reviewers — the shape of a staged dropper / obfuscated loader.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-010944",
            "import_time": "2026-07-28T14:20:00.484463246Z",
            "modified_time": "2026-07-28T13:39:58Z",
            "sha256": "52bb92157f869a5e1da58a19c88743989d44703201f8d1df250c2543b70b6be3",
            "source": "amazon-inspector",
            "versions": [
                "0.9.16"
            ]
        },
        {
            "id": "IN-MAL-2026-010943",
            "import_time": "2026-07-28T14:20:00.383666267Z",
            "modified_time": "2026-07-28T13:39:51Z",
            "sha256": "69e0afd1a9b99d3cabe8090a7576a0a1e1b43fe0d1946d02995cac41751214aa",
            "source": "amazon-inspector",
            "versions": [
                "0.9.18"
            ]
        },
        {
            "id": "IN-MAL-2026-014899",
            "import_time": "2026-08-05T14:19:41.129863368Z",
            "modified_time": "2026-08-05T13:08:35Z",
            "sha256": "106e7cb3db66c246bf8bb6acdf949141459886c47d23853e3f08eb4a84167129",
            "source": "amazon-inspector",
            "versions": [
                "0.9.10"
            ]
        },
        {
            "id": "IN-MAL-2026-015819",
            "import_time": "2026-08-05T16:13:49.533317119Z",
            "modified_time": "2026-08-05T16:02:48Z",
            "sha256": "122e13e0929e3d7a9620400d1dc138516d8236f2b41d0ca99a2b4e41690ced6f",
            "source": "amazon-inspector",
            "versions": [
                "0.9.17"
            ]
        },
        {
            "id": "IN-MAL-2026-015820",
            "import_time": "2026-08-05T16:13:49.602499987Z",
            "modified_time": "2026-08-05T16:03:03Z",
            "sha256": "6239adc3ecc43ff831ee8cbf2d6fa7809f09c5e064d9019843dd75eaaa288932",
            "source": "amazon-inspector",
            "versions": [
                "0.9.11"
            ]
        },
        {
            "id": "IN-MAL-2026-015821",
            "import_time": "2026-08-05T16:13:49.725496722Z",
            "modified_time": "2026-08-05T16:03:17Z",
            "sha256": "c379ec39ec7791c9128dc4e1b82199ce29d7540a9a9984036af2ac79de38e1bf",
            "source": "amazon-inspector",
            "versions": [
                "0.9.14"
            ]
        },
        {
            "id": "IN-MAL-2026-015799",
            "import_time": "2026-08-05T16:13:46.558692483Z",
            "modified_time": "2026-08-05T15:44:57Z",
            "sha256": "cad0523838301d3e9bac7799c3123b2ed11541968ea5a0034bc11b20bf522e46",
            "source": "amazon-inspector",
            "versions": [
                "0.9.15"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / kordyn

Package

Affected ranges

Affected versions

0.*
0.9.10
0.9.11
0.9.14
0.9.15
0.9.16
0.9.17
0.9.18

Database specific

cwes
[
    {
        "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.",
        "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.",
        "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.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.mjs",
            "sha256": "8035e6565104ac58e9cfc22e405286e3b51d34fbc0a656fc8a3df769456f60a0",
            "tlsh": "66746c72121bfcaa2aec2d80d0012d541e6d2e474624b165ebcbb0fa53ed657cd3d9bc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/kordyn/MAL-2026-11139.json"