MAL-2026-12464

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-daybucket/MAL-2026-12464.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12464
Aliases
  • GHSA-6hxq-4f7r-8562
Published
2026-08-05T12:48:21Z
Modified
2026-08-26T01:12:14Z
Summary
Malicious code in streak-daybucket (npm)
Details

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

Source: amazon-inspector (799caca8e351ad8d1144b26eb0c38ffdf06afb415f63a320e6ea455968996aa0)

streak-daybucket@1.0.0 presents itself as a day-bucket / streak math utility but its index.mjs embeds a hex-encoded Windows PE binary (leading 4D5A90... MZ header) alongside hex-encoded path components that decode to %APPDATA%/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/vite-native-helper.exe. On module load, a try/catch decodes the hex arrays with Buffer.from(hex, 'hex') and writes the executable into the current user's Startup folder via fs.write*. Because the drop runs at top-level module evaluation, any import/require of the package (including transitive consumption) causes the PE to be planted, and Windows will execute it automatically on the next user login, establishing persistent code execution on the installer's host. The path strings, filename vite-native-helper.exe, and payload body are stored as split hex-array literals joined at runtime to evade static string scanning, while the surrounding module ships plain-source math helpers as a cover story.

Source: ghsa-malware (1c324d7aa6ec398a3987b5663ac158294538fb3ffe10109a6f1d793486bfa030)

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-014768",
            "import_time": "2026-08-05T13:08:44.98952773Z",
            "modified_time": "2026-08-05T12:48:21Z",
            "sha256": "799caca8e351ad8d1144b26eb0c38ffdf06afb415f63a320e6ea455968996aa0",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-6hxq-4f7r-8562",
            "import_time": "2026-08-25T15:30:22.780136227Z",
            "modified_time": "2026-08-25T14:45:21Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "1c324d7aa6ec398a3987b5663ac158294538fb3ffe10109a6f1d793486bfa030",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / streak-daybucket

Package

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

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": "14ec43932a8ebb4fb52f6b525ea470992930006574f4f4dd04afca546bf69892",
            "tlsh": "a7b4b6e0d64596c1f057d888a4c0bed209363aa7fadc0cf2e37d1d08dfaeaa61555b4c"
        }
    ],
    "package_integrity": [
        {
            "filename": "streak-daybucket-1.0.0.tgz",
            "hashes": {
                "sha1": "8f590cd031220a556ace704018b58f2e6bae5935",
                "sha512_sri": "sha512-Jl3rMm2suJqEjsNyYYql4OQ1DJny5z5fDr2DoB18SSuLseHViRSN3Qo8VIe2BS1FuUu5eW9AXed/LWWYjChtYA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-daybucket/MAL-2026-12464.json"