MAL-2026-13403

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-cache-map/MAL-2026-13403.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13403
Aliases
  • GHSA-wpj4-68w6-w2fh
Published
2026-08-06T12:30:40Z
Modified
2026-08-07T00:04:52.267906310Z
Summary
Malicious code in streak-cache-map (npm)
Details

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

Source: amazon-inspector (59c390b9379b870b37038a8ad8f52b179d2fce3aa38fc15e5d1c9dc3f0ece135)

The package advertises itself as a dependency-free calendar-day bucketing / streak math library, but its main module dist/index.mjs contains a top-level IIFE that chmod +x's a shipped Linux ELF at dist/internal/calc-cache.bin, verifies its sha256, and spawns it detached via childprocess.spawn on any require()/import of the package. The binary is a remote-shell implant (strings include "REDSHELL", "SECUREBEACON", "RedShell commands:", "/redshell socks start <port>") that connects to a hardcoded C2 at 217.60.77.63 and awaits operator commands. Once running, the implant exposes commands to (a) download and execute additional ELF binaries and raw shellcode fetched from http://<c2>/Others/... and http://<c2>/SC/... into /tmp or via memfdcreate (syscall 319), (b) harvest SSH keys, credentials, database files, clipboard contents, and arbitrary files, exfiltrating them over a chunked HTTP POST channel to /api/extract-receive with BIGEXTRACTSTART/END framing, and (c) install systemd user-unit persistence by writing ~/.config/systemd/user/svc-update.service (Description="System Update Service", Restart=always, ExecStart=/proc/self/exe) and running systemctl --user daemon-reload && enable --now. The ELF is labeled a "Native math accelerator" in the loader, but contains no math functionality — its entire string table is red-team beacon / SOCKS5 proxy / port-forward / shellcode-injection tooling. Importing this package hands remote command execution, credential access, and reboot-persistent access on the installer's host to the C2 operator.

Source: ghsa-malware (c703ba5a38df97a92435243475d2439422432b7fa02025b4e41ae0308e1dde9b)

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": [
        {
            "import_time": "2026-08-06T13:08:48.801419775Z",
            "modified_time": "2026-08-06T12:30:40Z",
            "id": "IN-MAL-2026-016095",
            "sha256": "59c390b9379b870b37038a8ad8f52b179d2fce3aa38fc15e5d1c9dc3f0ece135",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-06T23:53:00.695600772Z",
            "modified_time": "2026-08-06T17:40:22Z",
            "id": "GHSA-wpj4-68w6-w2fh",
            "sha256": "c703ba5a38df97a92435243475d2439422432b7fa02025b4e41ae0308e1dde9b",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / streak-cache-map

Package

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/streak-cache-map/MAL-2026-13403.json"
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-3rRIeBp7DdYYx0ZwMSNczqqOiB4f+EDJQqMaITytLRCS2deZUibwq5a9t4ItddU/ovmRnICcOXICSAFj6kpWVA==",
                "sha1": "0bdcabcccc7693e75ab236e7cfce8ebf8868f2e0"
            },
            "filename": "streak-cache-map-1.0.0.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "dist/index.mjs",
            "sha256": "0b9aef51d5ec55d69fb52ada41377ced07c6cff0cad09174390f49081d439b14",
            "tlsh": "de413466afbd672897fc07828e38b193252d84431f96dd95e94e473861c0b58d3c096a"
        },
        {
            "path": "dist/internal/calc-cache.bin",
            "sha256": "4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466",
            "tlsh": "83531a2bbdc28e3fc084d53087dfd42269b5705aaa33712f26111f293d59a69473f72a"
        }
    ]
}