MAL-2026-17227

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nebula-llm/MAL-2026-17227.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17227
Published
2026-09-28T18:07:36Z
Modified
2026-09-28T18:30:05Z
Summary
Malicious code in nebula-llm (npm)
Details

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

Source: amazon-inspector (b33da6aef41209f654f8f76cc56074a7b827599f42f941e3917326da1f4d2566)

The npm package nebula-llm@1.0.0 ships a preinstall lifecycle script (preinstall.cjs) that embeds a ~257KB Windows PE binary as a base64+zlib-compressed string literal. On npm install on Windows, the script decompresses the blob, writes it to %LOCALAPPDATA%\Microsoft\Conhost\conhost.exe — impersonating the legitimate Windows Console Host binary — and spawns it detached with stdio ignored and windowsHide:true, then unrefs the child so it survives the install process. The decoded PE contains a.kntrat section and references github.com/syskiel/kntrat-e and IP 65.87.7.132, consistent with a persistent remote-access implant. Installation therefore executes an opaque author-supplied executable on the installer's host with no user interaction and no purpose related to any documented package function.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-020605",
            "import_time":  "2026-09-28T18:24:40.194359216Z",
            "modified_time":  "2026-09-28T18:07:36Z",
            "sha256":  "b33da6aef41209f654f8f76cc56074a7b827599f42f941e3917326da1f4d2566",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / nebula-llm

Package

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":  "preinstall.cjs",
            "sha256":  "8bc90df9b387849338d9c61a8d379cfbb0d70ea576c0e37e1fb07ba164921807",
            "tlsh":  "24e312267c5990351b18a613f83217257b336259152cd9363b3a08c709fad98cf7bebb"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "nebula-llm-1.0.0.tgz",
            "hashes":  {
                "sha1":  "032b6edad3b60be8102d88680b33f5c1a600f4c2",
                "sha512_sri":  "sha512-yA376+kosqW6rFrXJalk3pXFXCvpBNopJm/Rf1Jr7Ltk7F7YV8p3EVAV+pdWcmO1APU48UJPviUqpajDHQ74Lg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nebula-llm/MAL-2026-17227.json"