MAL-2026-17624
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (ffd20318a8d48dc20fee95097373ebd1039481031985164a651d2b68d366565a)
documenclient@1.0.5 publishes an npm package whose only shipped content is a heavily obfuscated PowerShell script embedded in the README. The script hides its console window via ShowWindow(hWnd, 0), positions the window off-screen at (-32000, -32000) via SetWindowPos, sleeps a randomized interval, concatenates ~140 string fragments into a base64 blob, XOR-decodes it with key 89, and executes the resulting payload via reflective [ScriptBlock]::Create invocation assembled from char-code type and method names. The declared main (index.js) is absent and files is empty, so the artifact has no legitimate JavaScript functionality — the dropper script is the entire payload. Console hiding, off-screen window placement, randomized sleep jitter, dynamic type/method resolution, and XOR+base64 layering have no legitimate purpose in an npm README and are canonical dropper and anti-analysis techniques. The decoded payload is not inspectable from the obfuscated form shipped, so the final behavior on a Windows host executing the script is unknown but attacker-controlled.
Source: ghsa-malware (fd77316cd00f6397a05779a443f939cd3a5e09efa8321c7d52bd4623ffe2855f)
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"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"indicators": {
"evidence_files": [
{
"path": "README",
"sha256": "e9dff49447937f8225a73dc235e067de051240d89523b6846813f7a2cd21a8fa",
"tlsh": "74a2af3c916097feec69e74549a3940a65257cf2c4a42c072f1ace6f54a7ec4ecbc18b"
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "documenclient"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.5",
"1.0.4"
]
}
],
"aliases": [
"GHSA-648r-w4vm-vvvp"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "GHSA-648r-w4vm-vvvp",
"import_time": "2026-10-05T18:34:10.826030975Z",
"modified_time": "2026-10-05T17:31:02Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "fd77316cd00f6397a05779a443f939cd3a5e09efa8321c7d52bd4623ffe2855f",
"source": "ghsa-malware"
},
{
"id": "IN-MAL-2026-021126",
"import_time": "2026-10-08T03:50:29.571086558Z",
"modified_time": "2026-10-08T03:39:50Z",
"sha256": "ffd20318a8d48dc20fee95097373ebd1039481031985164a651d2b68d366565a",
"source": "amazon-inspector",
"versions": [
"1.0.5"
]
},
{
"id": "IN-MAL-2026-021128",
"import_time": "2026-10-08T03:50:29.68301717Z",
"modified_time": "2026-10-08T03:40:07Z",
"sha256": "19f38811cd4bf975caf3f28d03d68dd1ff023af34ef94d700edf22fb731d59dc",
"source": "amazon-inspector",
"versions": [
"1.0.4"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ffd20318a8d48dc20fee95097373ebd1039481031985164a651d2b68d366565a)\ndocumenclient@1.0.5 publishes an npm package whose only shipped content is a heavily obfuscated PowerShell script embedded in the README. The script hides its console window via ShowWindow(hWnd, 0), positions the window off-screen at (-32000, -32000) via SetWindowPos, sleeps a randomized interval, concatenates ~140 string fragments into a base64 blob, XOR-decodes it with key 89, and executes the resulting payload via reflective [ScriptBlock]::Create invocation assembled from char-code type and method names. The declared main (index.js) is absent and files is empty, so the artifact has no legitimate JavaScript functionality \u2014 the dropper script is the entire payload. Console hiding, off-screen window placement, randomized sleep jitter, dynamic type/method resolution, and XOR+base64 layering have no legitimate purpose in an npm README and are canonical dropper and anti-analysis techniques. The decoded payload is not inspectable from the obfuscated form shipped, so the final behavior on a Windows host executing the script is unknown but attacker-controlled.\n\n## Source: ghsa-malware (fd77316cd00f6397a05779a443f939cd3a5e09efa8321c7d52bd4623ffe2855f)\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-17624",
"modified": "2026-10-08T03:52:20.894280420Z",
"published": "2026-10-05T17:31:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-648r-w4vm-vvvp"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/documenclient/v/1.0.5"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/documenclient/v/1.0.4"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in documenclient (npm)"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
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.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.