GHSA-7878-m4hw-wf8v
Malicious code in oh-my-zelenka (PyPI)
Impact
## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/add8d59a7a0aa8dc7e7f186951df8bc774c2c2c2/osv/malicious/pypi/oh-my-zelenka/MAL-2026-20516.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | oh-my-zelenka | = 1.0.2 | none recorded |
| pip | oh-my-zelenka | = 1.0.1 | none recorded |
| pip | oh-my-zelenka | = 1.0.3 | none recorded |
| pip | oh-my-zelenka | = 1.0.5 | none recorded |
| pip | oh-my-zelenka | = 1.0.0 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-7878-m4hw-wf8v
- https://bad-packages.kam193.eu/pypi/package/oh-my-zelenka
- https://github.com/ossf/malicious-packages/blob/add8d59a7a0aa8dc7e7f186951df8bc774c2c2c2/osv/malicious/pypi/oh-my-zelenka/MAL-2026-20516.json
- https://pypi.org/project/oh-my-zelenka/1.0.1
- https://pypi.org/project/oh-my-zelenka/1.0.2
- https://pypi.org/project/oh-my-zelenka/1.0.3
- https://pypi.org/project/oh-my-zelenka/1.0.5