MAL-2026-11036

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-lib-math/MAL-2026-11036.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11036
Aliases
  • GHSA-c7rv-9j9g-pqh2
Published
2026-07-23T15:42:12Z
Modified
2026-07-28T14:37:14Z
Summary
Malicious code in streak-lib-math (npm)
Details

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

Source: amazon-inspector (507ee02c9717d3b99be47ab3415800fa71477716fa6be6b953cb07e0574066aa)

On import, index.mjs executes an obfuscated async IIFE whose sensitive strings (process, fetch, fs/promises, target URL, path segments, payload filename) are stored as hex literals and reassembled at runtime. The code enumerates Windows user profiles reached from WSL via /mnt/c/Users, skipping default accounts (All Users, Default, Public, defaultuser0), fetches https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.dat, and writes the response bytes as vite-native-helper.exe into each targeted user's AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup directory. The binary then runs on every subsequent Windows login, providing persistent code execution on the developer host independent of Node or npm. The filename (vite-native-helper.exe) is a cover-story mimicking a Vite build helper; the package name suggests an unrelated math utility.

Source: ghsa-malware (778f96738bfdd58970843f7a128ddd925b8a146d5366306e83c3152cd3179066)

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": "GHSA-c7rv-9j9g-pqh2",
            "import_time": "2026-07-23T22:48:43.761878741Z",
            "modified_time": "2026-07-23T15:42:15Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "778f96738bfdd58970843f7a128ddd925b8a146d5366306e83c3152cd3179066",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-010917",
            "import_time": "2026-07-28T14:19:59.020841555Z",
            "modified_time": "2026-07-28T13:36:03Z",
            "sha256": "507ee02c9717d3b99be47ab3415800fa71477716fa6be6b953cb07e0574066aa",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / streak-lib-math

Package

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

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": "index.mjs",
            "sha256": "36590620ad2b495767f104514228efbcb4e2c2f45ba46ca10eaca797c562addf",
            "tlsh": "bab1b6d78ab723740924c2d0ee8f9596eb1ef1623a54c9d0700cd7802f8a521e27de9f"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-lib-math/MAL-2026-11036.json"