MAL-2026-12460

    Dashboard / Malicious Package / MAL-2026-12460

    MAL-2026-12460

    Published: 5 Aug 2026Last Modified: 26 Aug 2026Aliases: 
    GHSA-6qqq-g7qr-g756

    Summary: Malicious code in streak-count-core (npm)

    Details: Source: amazon-inspector (d391f9ec30841fdf31ec1afeeb309a1e8895c445c811a1a1f7f3e0a754c5e4fa) [email protected]'s index.mjs executes a hex-obfuscated routine on module import (gated only by NODE_ENV!== 'production'). When it detects a WSL environment (process.platform === 'linux' with WSL_DISTRO_NAME set), it downloads https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.tar.gz, extracts it under the Windows host's user profile at /mnt/c/Users/<user>/AppData/Local/Microsoft/Windows/syscache, and writes env-setup.cmd into the Windows Start Menu Startup folder so the extracted RenameMe.exe auto-launches on every Windows login. All indicators — module names (fs/promises, path, child_process, https), env keys (NODE_ENV, WSL_DISTRO_NAME), the /mnt/c path, the Startup folder, the download URL, and tar arguments — are stored as hex strings in a _cfg object and reconstructed at runtime via Buffer.from(s,'hex').toString() before dynamic import() and spawn calls. The package's declared purpose (a streak counter library) does not require downloading and persistently installing a Windows executable on the host. Source: ghsa-malware (7a72d8c593c124f730084ec7c09cddac9479fe0043015e8584b0350e6efa48d0) 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.

    Affected packages

    Package

    Name: streak-count-core

    Purl: pkg:npm/streak-count-core

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.0
    MAL-2026-12460 | CVE-DB