MAL-2026-12628

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claims-microgen-templates/MAL-2026-12628.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12628
Published
2026-08-05T14:03:45Z
Modified
2026-08-05T14:35:56.935594828Z
Summary
Malicious code in claims-microgen-templates (npm)
Details

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

Source: amazon-inspector (9d4eefb6f5d91cfe86acf925e0d84b5cb34336f98cf73586e01d17418d02454f)

On require of the package, index.js loads compat.js which fetches a platform-specific binary from string-concatenated Cloudflare Workers hosts (oob-worker.cf1-01-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT chunked fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. Destination hostnames are reassembled from split string arrays via.join() to evade static string scans, with decoy 'telemetry'/'analytics' comments. The fetched payload is written to a randomized dotfile under /var/tmp (or dotnetdiag_*.exe under %TEMP% on Windows), chmodded 0755, and spawned detached via /bin/sh or cmd. Execution is gated by a /tmp/.analytics_state freshness marker. No hash/signature verification, no publisher-matching host, and no relation to the package's stated 'templates' purpose.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "9d4eefb6f5d91cfe86acf925e0d84b5cb34336f98cf73586e01d17418d02454f",
            "id": "IN-MAL-2026-015148",
            "modified_time": "2026-08-05T14:03:45Z",
            "import_time": "2026-08-05T14:20:07.057620425Z",
            "source": "amazon-inspector",
            "versions": [
                "35.7.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / claims-microgen-templates

Package

Name
claims-microgen-templates
View open source insights on deps.dev
Purl
pkg:npm/claims-microgen-templates

Affected ranges

Affected versions

35.*
35.7.1

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "ea3ac074a628b0d360b001d4d2bd9331c08762b8d3346b15bb5f85ea4e9fc12f",
            "path": "_compat.js",
            "tlsh": "94a1846a16a670194bb0d7e4c6175416f65af66373808294f79ca5c81fb222483b2efc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-56h/TuoaZZjTsjckK0NoJE8naHph60+2APeQ4JQFSXxwTKWoZsXdRARQibpq7aJv0PN8EI1e2TWWisoYvv97XQ==",
                "sha1": "73682b298640cfe0d75e4ffc0194aa0ad94b1de7"
            },
            "filename": "claims-microgen-templates-35.7.1.tgz"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claims-microgen-templates/MAL-2026-12628.json"