mal-2026-6191
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (91f23a964fca4e1984aecce2dbc51fc6bfa1ffe77725ee5f0e8d2f7a5c5514d8)
node-slot 1.0.7 contacts https://datasecure-service.vercel.app/api/v1 to retrieve scan and block patterns, then walks the user's home directory (or non-C: drives on Windows) for files matching extensions such as.env,.json,.toml,.pdf,.docx and uploads them via multipart POST (axios.post(UPLOAD_URL, form,...) at index.js:78) along with the OS username and platform. On Linux it additionally fetches an attacker-supplied SSH public key from /api/ssh-key and appends it to ~/.ssh/authorized_keys (fs.appendFileSync(authKeys, sshKey + "\n", { mode: 0o600 })), then runs sudo ufw enable and sudo ufw allow 22/tcp to ensure the operator can reach the SSH service — granting persistent remote shell access to the installer's machine. Server-controlled scan/block patterns let the operator retarget the harvester without republishing. package.json has empty author/description and lists Node built-in names (child_process, os) as fake dependencies — disguise consistent with a deliberately malicious package.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"evidence_files": [
{
"path": "index.js",
"sha256": "653e32a8394f5149f3e86b7b8fdaeb8f1103ac9f3211b0410b08476420a5de37",
"tlsh": "372244a955773626ca7263f85a07001eff6bd53339118285f2ec42843f7a91861e6eec"
},
{
"path": "package.json",
"sha256": "ffdad8826ac95345dab74f070ab9166631af306d57305d1d66e7e3a07ba1385b",
"tlsh": "3af09227ce589d6318f539a9297c0727f291932f0104880f35bd661c4fb65270085f1d"
}
],
"package_integrity": [
{
"filename": "node-slot-1.0.7.tgz",
"hashes": {
"sha1": "5580f520d5917acc8e2efaf8b516a74079983910",
"sha512_sri": "sha512-FoI8QhI2uUR24QDXNEJl0adLuseb3qQ7itbnnbweOVX4ABJEvibABoFUESK2/rgLlGBQV9e5OgDkKtJR7N75aQ=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "node-slot"
},
"versions": [
"1.0.7"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-007056",
"import_time": "2026-06-19T05:16:50.43022462Z",
"modified_time": "2026-06-19T05:10:55Z",
"sha256": "91f23a964fca4e1984aecce2dbc51fc6bfa1ffe77725ee5f0e8d2f7a5c5514d8",
"source": "amazon-inspector",
"versions": [
"1.0.7"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (91f23a964fca4e1984aecce2dbc51fc6bfa1ffe77725ee5f0e8d2f7a5c5514d8)\nnode-slot 1.0.7 contacts https://datasecure-service.vercel.app/api/v1 to retrieve scan and block patterns, then walks the user\u0027s home directory (or non-C: drives on Windows) for files matching extensions such as.env,.json,.toml,.pdf,.docx and uploads them via multipart POST (axios.post(UPLOAD_URL, form,...) at index.js:78) along with the OS username and platform. On Linux it additionally fetches an attacker-supplied SSH public key from /api/ssh-key and appends it to ~/.ssh/authorized_keys (fs.appendFileSync(authKeys, sshKey + \"\\n\", { mode: 0o600 })), then runs `sudo ufw enable` and `sudo ufw allow 22/tcp` to ensure the operator can reach the SSH service \u2014 granting persistent remote shell access to the installer\u0027s machine. Server-controlled scan/block patterns let the operator retarget the harvester without republishing. package.json has empty author/description and lists Node built-in names (`child_process`, `os`) as fake dependencies \u2014 disguise consistent with a deliberately malicious package.\n",
"id": "MAL-2026-6191",
"modified": "2026-06-19T05:10:55Z",
"published": "2026-06-19T05:10:55Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/node-slot/v/1.0.7"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in node-slot (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.