MAL-2026-20653
Vulnerability from ossf_malicious_packages – Published: 2026-11-26 12:40 – Updated: 2026-11-26 22:12 – Source website| Ecosystem | Package | Versions |
|---|---|---|
| PyPI |
denowrap
|
1.0.0
|
The package, advertised as Deno helper utilities exposing only trivial greet/clamp functions, ships a 41 MB _loader.py containing a chunked base64/lzma-compressed blob together with extraction and launch configuration for a Windows executable named runtimecore.exe (_TARGET = r"runtimecore.exe", _MODE = "exe", _SPAWN = "direct", with lzma/zlib/tempfile/subprocess imports). __init__.py calls _loader_run_hook(wait=False) unconditionally at import, and setup.py fires the same hook from custom install/bdist_wheel commands on Windows, so both pip install denowrap and any import denowrap decode and execute the embedded binary. _loader.py also carries _ANTIVM = 1 and _PERSIST = 1 alongside a base64 JSON configuration enumerating analysis-environment hostnames (sandbox, malware, cuckoo, virustotal), analyst and VM process names (vboxservice, vmtoolsd, wireshark, procmon, ida, x64dbg), VirtualBox/VMware registry keys and hypervisor MAC prefixes, plus persistence settings "run_key": "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "persist_sub": "Microsoft\\CoreRuntime" and marker srv_rt.cfg. The combination of an opaque multi-megabyte executable launched automatically, deliberate evasion of analysis environments, and autorun registry persistence under a name mimicking a Microsoft runtime component constitutes attacker-controlled code execution and durable persistence on the installing host, with the declared package purpose serving as cover.
During import or installation, package starts as an embedded executable. It is identified as a RAT from the Quasar/PulsarRAT family.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-11-denowrap
Reasons (based on the campaign):
-
obfuscation
-
The package contains code to detect if it is running in a sandbox environment.
-
malware
-
rat
-
The package overrides the install command in setup.py to execute malicious code during installation.
| Type | Indicator | Hashes |
|---|---|---|
| Evidence file |
src/denowrap/_loader.py
|
sha256
cc0de9220b9b47d58a7b0331699b8aeca4afd193a946552874a208d7cb1d95b7tlsh
ba973310de696da90a6c922870bf1e1d16a00f878c48b5ea77d134cf0f9eb4f157b86d |
| Package archive |
denowrap-1.0.0-py3-none-any.whl
|
blake2b_256
e5ab9ff03fb027b09d9a2ae28ca2a5c143ce0fe6902c13b17e026b5e271862abmd5
7f8a41931f7a870bf34982fd7026f128sha256
19d1d8c22ba345cfde500b0ed3b3435ec0f56115889dd18350638f62542adcf7 |
| Package archive |
denowrap-1.0.0.tar.gz
|
blake2b_256
f40cb1e512906b5f49e1bbd7c270dbe497db574a7a0b87d7e965557cef4897cbmd5
f52b76e3dc86e20e4c0deb8fb017106fsha256
4678ccd20e627ee55fae99850434c5a381c6c29eceff7c7c41b59a6bd1651967 |
- CWE-506 - Embedded Malicious Code
{
"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": [
{
"artifacts": [
"denowrap-1.0.0.tar.gz",
"denowrap-1.0.0-py3-none-any.whl"
],
"path": "src/denowrap/_loader.py",
"sha256": "cc0de9220b9b47d58a7b0331699b8aeca4afd193a946552874a208d7cb1d95b7",
"tlsh": "ba973310de696da90a6c922870bf1e1d16a00f878c48b5ea77d134cf0f9eb4f157b86d"
}
],
"package_integrity": [
{
"filename": "denowrap-1.0.0-py3-none-any.whl",
"hashes": {
"blake2b_256": "e5ab9ff03fb027b09d9a2ae28ca2a5c143ce0fe6902c13b17e026b5e271862ab",
"md5": "7f8a41931f7a870bf34982fd7026f128",
"sha256": "19d1d8c22ba345cfde500b0ed3b3435ec0f56115889dd18350638f62542adcf7"
}
},
{
"filename": "denowrap-1.0.0.tar.gz",
"hashes": {
"blake2b_256": "f40cb1e512906b5f49e1bbd7c270dbe497db574a7a0b87d7e965557cef4897cb",
"md5": "f52b76e3dc86e20e4c0deb8fb017106f",
"sha256": "4678ccd20e627ee55fae99850434c5a381c6c29eceff7c7c41b59a6bd1651967"
}
}
]
}
},
"package": {
"ecosystem": "PyPI",
"name": "denowrap"
},
"versions": [
"1.0.0"
]
}
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
},
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "REPORTER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "pypi/2026-11-denowrap/denowrap",
"import_time": "2026-11-26T13:12:21.195496312Z",
"modified_time": "2026-11-26T12:40:35.592210Z",
"sha256": "6b2619863b131e67d26b2250158fe68d547bf4c97d8c54848f8f61e355a7bfb6",
"source": "kam193",
"versions": [
"1.0.0"
]
},
{
"id": "IN-MAL-2026-023129",
"import_time": "2026-11-26T22:11:08.649334209Z",
"modified_time": "2026-11-26T21:55:35Z",
"sha256": "2cb2c5962702d871220d430d90d5b82e75656e04aaa10f2c33928ffdfa49b685",
"source": "amazon-inspector",
"versions": [
"1.0.0"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2cb2c5962702d871220d430d90d5b82e75656e04aaa10f2c33928ffdfa49b685)\nThe package, advertised as Deno helper utilities exposing only trivial `greet`/`clamp` functions, ships a 41 MB `_loader.py` containing a chunked base64/lzma-compressed blob together with extraction and launch configuration for a Windows executable named `runtimecore.exe` (`_TARGET = r\"runtimecore.exe\"`, `_MODE = \"exe\"`, `_SPAWN = \"direct\"`, with lzma/zlib/tempfile/subprocess imports). `__init__.py` calls `_loader_run_hook(wait=False)` unconditionally at import, and `setup.py` fires the same hook from custom `install`/`bdist_wheel` commands on Windows, so both `pip install denowrap` and any `import denowrap` decode and execute the embedded binary. `_loader.py` also carries `_ANTIVM = 1` and `_PERSIST = 1` alongside a base64 JSON configuration enumerating analysis-environment hostnames (sandbox, malware, cuckoo, virustotal), analyst and VM process names (vboxservice, vmtoolsd, wireshark, procmon, ida, x64dbg), VirtualBox/VMware registry keys and hypervisor MAC prefixes, plus persistence settings `\"run_key\": \"Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run\"`, `\"persist_sub\": \"Microsoft\\\\CoreRuntime\"` and marker `srv_rt.cfg`. The combination of an opaque multi-megabyte executable launched automatically, deliberate evasion of analysis environments, and autorun registry persistence under a name mimicking a Microsoft runtime component constitutes attacker-controlled code execution and durable persistence on the installing host, with the declared package purpose serving as cover.\n\n## Source: kam193 (6b2619863b131e67d26b2250158fe68d547bf4c97d8c54848f8f61e355a7bfb6)\nDuring import or installation, package starts as an embedded executable. It is identified as a RAT from the Quasar/PulsarRAT family.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-11-denowrap\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - The package contains code to detect if it is running in a sandbox environment.\n\n\n - malware\n\n\n - rat\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n",
"id": "MAL-2026-20653",
"modified": "2026-11-26T22:12:48.320704405Z",
"published": "2026-11-26T12:40:35Z",
"references": [
{
"type": "EVIDENCE",
"url": "https://tria.ge/261126-pa16bsch72"
},
{
"type": "EVIDENCE",
"url": "https://www.virustotal.com/gui/file/e03b34f1670d212cd0d080416e90c3e30338417f8fe0f2c78b70a812adff3de3/detection"
},
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/denowrap"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/denowrap/1.0.0/"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in denowrap (PyPI)"
}
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
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
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.