MAL-2026-19149

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/superlib_ex3/MAL-2026-19149.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-19149
Published
2026-11-13T03:40:08Z
Modified
2026-11-13T04:30:05Z
Summary
Malicious code in superlib_ex3 (npm)
Details

Malicious package. superlib_ex3 is a multi-stage loader: on install it fetches and executes a second-stage payload from the attacker-controlled host x.exxcube.fr (the install hook was observed in dynamic detonation retrieving https://x.exxcube.fr/postInstall). No legitimate functionality; all published versions are malicious. Full indicators at the reference below.


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

Source: amazon-inspector (bd1ec5b1f032d6879c69671f7c67499798ca134a341c87d69d310e2a36c6603b)

superlib_ex3 advertises itself as a trivial hello-world library exposing a single hello() function, but its npm postinstall lifecycle hook performs an unconditional network fetch to the hardcoded URL https://x.aaaaa.fr/postInstall and writes the response bytes to ./postInstall.sh in the installer's current working directory. The destination host is unrelated to the package name, has no connection to any declared publisher, and the download is unpinned, unversioned, and lacks any hash or signature verification. The fetched content is a shell script staged under a filename that collides with lifecycle-script semantics on the installer's machine. The package has no documented reason to perform network I/O or stage shell scripts, and the fetched bytes can be changed by the operator of x.aaaaa.fr at any time without any change to the published package.

Database specific
{
    "iocs":  {
        "domains":  [
            "x.exxcube.fr"
        ],
        "urls":  [
            "https://x.exxcube.fr/postInstall"
        ]
    },
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-022747",
            "import_time":  "2026-11-13T04:13:29.033715652Z",
            "modified_time":  "2026-11-13T03:40:08Z",
            "sha256":  "5fa6a2432d3194ebabd3d10ea038edcfd249547597ff6d02ba4754e51e545c71",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-022748",
            "import_time":  "2026-11-13T04:13:29.128380712Z",
            "modified_time":  "2026-11-13T03:40:15Z",
            "sha256":  "bd1ec5b1f032d6879c69671f7c67499798ca134a341c87d69d310e2a36c6603b",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / superlib_ex3

Package

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1

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":  "scripts/postinstall.js",
            "sha256":  "44b0cdf2a8929ca8783cb33f35ae7b2ae06b5dea7d74233ecc587e6849192d5d",
            "tlsh":  "5351756e68f6a13812ffaa8ecf43981fe11b8003300dda48f94d47185fc693885a56f9"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "superlib_ex3-1.0.0.tgz",
            "hashes":  {
                "sha1":  "8ff46df328a03e00a51afcd6be861a403a33995c",
                "sha512_sri":  "sha512-LEb6qJorWmQqfsmIFf+5B/cHzoYIzGIYLtJJ691alQw9tZK/JRarqb76mCIzOkAfMFgzATo9pvmpqX4I9RB+bA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/superlib_ex3/MAL-2026-19149.json"