MAL-2026-20516 Malicious code in oh-my-zelenka (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: amazon-inspector (877b173c248316fb28f6e81bea3996b4d410a99b31e5fe7459291f50d11b91f7)
On import oh_my_zelenka, the top-level init.py unconditionally starts a daemon background thread that collects installer-side host and process information — platform details, uid/pid, cwd, the contents of /proc/version, ps aux output, pm list packages output, and EXTERA_* environment variables — and POSTs it as a JSON body to https://httpbin.org/post. On Android hosts it additionally writes the collected data to /storage/emulated/0/Download/extera_poc and reads EXTERA_FILES_DIR / EXTERA_CACHE_DIR. The payload embeds a self-identifying marker (event: supply_chain_executed, source: oh-my-zelenka PyPI package) framing itself as a supply-chain proof-of-concept targeting the exteraGram Android messenger, but the code path runs unconditionally at import and performs real host reconnaissance and outbound exfiltration regardless of that framing. The destination (httpbin.org) is a public request-echo service rather than attacker-owned infrastructure, but installer process and environment data still leaves the host to a third party the installer did not configure.
Source: kam193 (6495c0b51d62ce1623d52a7b4aba97de29934c763d44aa6acc3e7ae863bc3d72)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: GENERIC-standard-pypi-install-pentest
Reasons (based on the campaign):
-
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
-
The package overrides the install command in setup.py to execute malicious code during installation.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi oh-my-zelenka(PyPI) | = 1.0.0; = 1.0.1; = 1.0.2; = 1.0.3 +1 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi oh-my-zelenka(PyPI) | = 1.0.2 | No fix listed |
| pypi oh-my-zelenka(PyPI) | = 1.0.1 | No fix listed |
| pypi oh-my-zelenka(PyPI) | = 1.0.3 | No fix listed |
| pypi oh-my-zelenka(PyPI) | = 1.0.5 | No fix listed |
| pypi oh-my-zelenka(PyPI) | = 1.0.0 | No fix listed |
References
- pypi.org product
- pypi.org product
- pypi.org product
- pypi.org product
- bad-packages.kam193.eu