MAL-2026-20653: Malicious code in denowrap (PyPI)

Published Nov 26, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (2cb2c5962702d871220d430d90d5b82e75656e04aaa10f2c33928ffdfa49b685) 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 loaderrunhook(wait=False) unconditionally at import, and setup.py fires the same hook from custom install/bdistwheel 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 "runkey": "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "persistsub": "Microsoft\\CoreRuntime" and marker srvrt.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.

Source: kam193 (6b2619863b131e67d26b2250158fe68d547bf4c97d8c54848f8f61e355a7bfb6) 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.

Affected Software

1 affected component
pip/denowrap=1.0.0

Event History

Nov 26, 2026
Advisory Published
via OSV·12:40 PM
Data Sourced
via OSV·12:40 PM
DescriptionAffected Software
Updated
via OSV·10:15 PM
Description

Frequently Asked Questions

1

Who is exposed to this package?

Any environment where the denowrap package is installed or imported may be exposed. The package executes malicious code through an overridden setup.py install command and can also start as an embedded executable during import or installation.

2

What does the malicious code do?

It is identified as a remote access trojan from the Quasar/PulsarRAT family. The package also contains sandbox-detection behavior and obfuscation.

3

Does an attacker need access to the target environment after the package is installed?

No additional attacker action is described for initial execution: the malicious code is configured to run during installation, and the package may also start an embedded executable during import.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203