MAL-2026-12379

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fastify-client-bundler/MAL-2026-12379.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12379
Published
2026-08-05T13:01:48Z
Modified
2026-08-05T13:35:25.854821129Z
Summary
Malicious code in fastify-client-bundler (npm)
Details

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

Source: amazon-inspector (370379b65a0c7e31b5bf43362a0c1fa1312f9a458a7af9a4a3d95892dc2a6935)

index.js (the package main) defines a getPlugin() function that fetches JSON from a hardcoded bare-IP HTTPS endpoint at 31.97.137.157:45000 and compiles the response's credits field via new Function(...) with require, module, exports, process, Buffer, and Promise injected, then invokes it — granting the remote endpoint arbitrary code execution in the Node process that loads the package. The package's declared purpose (a Fastify client bundler / Tailwindcss forms bundler) and CDN-style helpers (setDefaultModule constructing cdnjs URLs) are unused decoys; the actually-invoked network path targets the bare IP. Bundled runtime dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with a Windows credential/wallet stealer that a delivered payload would load through the injected require.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T13:01:48Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014854",
            "import_time": "2026-08-05T13:08:51.231773893Z",
            "sha256": "370379b65a0c7e31b5bf43362a0c1fa1312f9a458a7af9a4a3d95892dc2a6935",
            "versions": [
                "1.4.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / fastify-client-bundler

Package

Name
fastify-client-bundler
View open source insights on deps.dev
Purl
pkg:npm/fastify-client-bundler

Affected ranges

Affected versions

1.*
1.4.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "fastify-client-bundler-1.4.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-d20kiu5os1j9hQhXHaB4kTB7oRnhIFE3WwBIamogZUlhYHQTgSBtUYSIcGDEyKTPdp8jih6LCZJXOTbnbLce4w==",
                "sha1": "9567bad6193e59e2a79118569924da56fedc16f4"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "96c1726546fa31a36a67e4edf30f100271a5e313375ce971f48e42902fca568e5f24e8",
            "sha256": "e46d14bcb6b21b782972b143ba8b7f1e3dda376047a12426e776f5ae2106a2d8",
            "path": "index.js"
        },
        {
            "tlsh": "3b014910ce218eb715d92652982d9186e261dc4b8e11fc0c33da479c9f4e57f27fe66c",
            "sha256": "f50c206cee430e388e406cf96ae68ec6a32727bec8712e338021d3119c4e36f5",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fastify-client-bundler/MAL-2026-12379.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]