mal-2026-13519
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (18948f1c8e71b24d05e1ef6f749995bdc9098d610f791b86dc33f7d41dd8b1d3)
The 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.
Source: ghsa-malware (062e4983092eb99ef7f5cbd663dd551a226418b0d723139e3a3f97ae70b208a2)
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": [
{
"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=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "streak-kit-map"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.0"
]
}
],
"aliases": [
"GHSA-6698-9vj2-cgx8"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"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"
}
]
},
"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/\u003cfile\u003e` and `/SC/\u003cfile\u003e`, SOCKS5 proxy and port forwarding, chunked file exfiltration via `POST /api/extract-receive HTTP/1.1` packaging loot as `Loot_\u003chost\u003e_\u003cuser\u003e_\u003cts\u003e`, 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\u0027s `Loads the native math accelerator` / `integrity verification \u2014 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",
"id": "MAL-2026-13519",
"modified": "2026-08-10T00:30:53.879651897Z",
"published": "2026-08-07T12:11:08Z",
"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"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in streak-kit-map (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.