MAL-2026-12808

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-metric-core/MAL-2026-12808.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12808
Aliases
  • GHSA-86ww-mvrj-xx43
Published
2026-08-05T13:34:06Z
Modified
2026-08-26T01:12:23Z
Summary
Malicious code in streak-metric-core (npm)
Details

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

Source: amazon-inspector (d85f4f43ac36e53cc3254c7e5050d63105543deb781c8884046b7f5443fc3e21)

On any require/import of streak-metric-core, top-level code in the main entry reconstructs a URL from String.fromCharCode integer arrays, resolving to https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/service. The package downloads that opaque binary, writes it to ~/.cache/streak-metric/service, chmods it to 0755, and spawns it detached with a randomized delay via spawn(p, [], { detached: true }).unref(). There is no hash or signature verification, the destination is an anonymous Backblaze B2 bucket unrelated to any declared publisher infrastructure, and the URL is reconstructed at runtime specifically to avoid appearing as a plain string. A comment frames the behavior as an 'optional runtime accelerator', but the code executes unconditionally at module load. This grants the package author arbitrary code execution on the installer's host at import time.

Source: ghsa-malware (d14df6d032e0c3c8eb69f078cac0df7f3cce58eee48c5c36468dda45779497ec)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014979",
            "import_time": "2026-08-05T14:19:48.850924313Z",
            "modified_time": "2026-08-05T13:34:06Z",
            "sha256": "d85f4f43ac36e53cc3254c7e5050d63105543deb781c8884046b7f5443fc3e21",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-86ww-mvrj-xx43",
            "import_time": "2026-08-25T15:30:22.790270461Z",
            "modified_time": "2026-08-25T14:51:33Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "d14df6d032e0c3c8eb69f078cac0df7f3cce58eee48c5c36468dda45779497ec",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / streak-metric-core

Package

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

Affected ranges

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

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"
    },
    {
        "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": "c2bcfaff130936646cc0d3f13cab5f60c95901c1226c08a8943c98bea180c36b",
            "tlsh": "aa61c7436fb813711570c3d49eace1e6d326889077695ed0e41ca39830474d5d5bd6eb"
        }
    ],
    "package_integrity": [
        {
            "filename": "streak-metric-core-1.0.0.tgz",
            "hashes": {
                "sha1": "83d43c6e11f0ad38aef3ba1529e4e24e4427669f",
                "sha512_sri": "sha512-fWBcWMSoGTRbgs4FrnkBEuBhb22SA+IC46t2HaJJcCSGw9dEAoRbKAOgqIzbQnVeF8cnUYViIlWaHqEwfWy5Sw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-metric-core/MAL-2026-12808.json"