MAL-2026-13519Malicious code in streak-kit-map (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | streak-kit-map | * |
| npm | streak-kit-map | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-13519","published":"2026-08-07T12:11:08Z","modified":"2026-08-10T00:30:53.879651897Z","aliases":["GHSA-6698-9vj2-cgx8"],"summary":"Malicious code in streak-kit-map (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (18948f1c8e71b24d05e1ef6f749995bdc9098d610f791b86dc33f7d41dd8b1d3)\nThe package advertises itself as a streak/calendar math library, but its main entry `dist/index.mjs` contains a top-level IIFE that, on any `import`/`require`, chmods `dist/internal/map-calc.bin` to 0755 and detached-spawns it after a sha256 integrity gate. The bundled Linux x86_64 ELF is a full remote-control implant: strings show a RedShell / RC2TUN beacon to a hardcoded C2 at 217.60.77.63, command handlers for shell execution, ELF/shellcode download-and-run (including memfd_create fd exec) via HTTP paths `/Others/<file>` and `/SC/<file>`, SOCKS5 proxy and port forwarding, chunked file exfiltration via `POST /api/extract-receive HTTP/1.1` packaging loot as `Loot_<host>_<user>_<ts>`, targeted collection of SSH keys and credentials (`/ssh_keys`, `/creds`, `/dbfind`, `/download`, `/dataextract`), and reboot persistence by writing `~/.config/systemd/user/svc-update.service` (Description=System Update Service, Restart=always) and enabling it via `systemctl --user`. The JS wrapper's `Loads the native math accelerator` / `integrity verification — critical security gate` comments are cover-story framing; the hash pin exists to guarantee the exact malicious bytes execute.\n\n## Source: ghsa-malware (062e4983092eb99ef7f5cbd663dd551a226418b0d723139e3a3f97ae70b208a2)\nAny 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.\n","affected":[{"package":{"name":"streak-kit-map","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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":"e9a4d708f22170e7fe307593af7a5ae5feea06907ade075a3fd8a0c116ed707a","tlsh":"bf413466afbd632497fc07828e38b193296d84430f96ec95d94d473861c1b98d3c096a"},{"path":"dist/internal/map-calc.bin","sha256":"4537b1189ce419f1a595cf47216c03f80e9170ce80dad8d9227a1e52f9cb3466","tlsh":"83531a2bbdc28e3fc084d53087dfd42269b5705aaa33712f26111f293d59a69473f72a"}],"package_integrity":[{"filename":"streak-kit-map-1.0.0.tgz","hashes":{"sha1":"c504889f4b84790e5e486dfbaf7dd1ec186128c3","sha512_sri":"sha512-0JUBc+cUYpvVZfZsf8uTBMcrilsszGr6xXijtOR4f3QMxai5Gl1lvKEoouhbdKjf5s/83vOj4GZxTZ5QUP30/A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/streak-kit-map/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6698-9vj2-cgx8"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-016874","import_time":"2026-08-07T12:23:25.284392568Z","modified_time":"2026-08-07T12:11:08Z","sha256":"18948f1c8e71b24d05e1ef6f749995bdc9098d610f791b86dc33f7d41dd8b1d3","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-6698-9vj2-cgx8","import_time":"2026-08-09T23:21:54.455795Z","modified_time":"2026-08-07T17:47:56Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"062e4983092eb99ef7f5cbd663dd551a226418b0d723139e3a3f97ae70b208a2","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0