MAL-2026-12470

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-metricsa/MAL-2026-12470.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12470
Published
2026-08-05T12:30:45Z
Modified
2026-08-05T13:36:11.948981889Z
Summary
Malicious code in streak-metricsa (npm)
Details

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

Source: amazon-inspector (a707525e88d0f5d3004f833b17a7544655da43715d9d7af3e6d635ff3a6801a9)

streak-metricsa@1.0.0 presents itself as a calendar-day math helper but its main entry (dist/index.mjs, the default exports target) embeds a Linux x86-64 ELF binary as a base64-chunk array assigned to a variable named _. At module top level — reached on any import/require of the package — the chunks are joined via Buffer.concat and Buffer.from(b,'base64'), written to disk, chmod'd 0o755, and executed via node:childprocess. The dropped ELF's dynamic symbols include SSLconnect / SSLread / SSLwrite / TLSclientmethod, socket / getaddrinfo, dlopen / dlsym, popen, execl / execv, fork, pthread_create, kill, and mkdtemp — the shape of a TLS-based remote-command implant. The README describes the top-level behavior as a tiny startup self-check, which does not match a native binary drop-and-execute. Any consumer that imports streak-metricsa gains an executing native implant on the host with outbound TLS and shell-exec capability.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T12:30:45Z",
            "sha256": "a707525e88d0f5d3004f833b17a7544655da43715d9d7af3e6d635ff3a6801a9",
            "id": "IN-MAL-2026-014685",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-08-05T13:08:37.241950865Z"
        }
    ]
}
References
Credits

Affected packages

npm / streak-metricsa

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-mTMK+eEkmsTsA8iK+0s+x/kUEgCu9oaPzYCVurVI+a+qDB9d2iOYevPfzzx+zax2cwNGDoyOT1mlGIUNRXzxKQ==",
                "sha1": "f3d2fdd62572fdc3c9fc3455a6ae6f066ace1446"
            },
            "filename": "streak-metricsa-1.0.0.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "dist/index.mjs",
            "sha256": "398b69d55dcbaf72d383cda02bf91a1a669674174d582480711f5b46e04c2ab2",
            "tlsh": "4c834bf29a863c8765b19d28d64138082d7c66832178d177fec863eba3e5250df5ecb4"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-metricsa/MAL-2026-12470.json"