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:11Z
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:child_process. The dropped ELF's dynamic symbols include SSL_connect / SSL_read / SSL_write / TLS_client_method, 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": [
        {
            "id": "IN-MAL-2026-014685",
            "import_time": "2026-08-05T13:08:37.241950865Z",
            "modified_time": "2026-08-05T12:30:45Z",
            "sha256": "a707525e88d0f5d3004f833b17a7544655da43715d9d7af3e6d635ff3a6801a9",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / streak-metricsa

Package

Name
streak-metricsa
View open source insights on deps.dev
Purl
pkg:npm/streak-metricsa

Affected ranges

Affected versions

1.*
1.0.0

Database specific

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