CRITICAL PyPI Malware

Malicious code in oh-my-zelenka (PyPI)

MAL-2026-20516

Published · Modified

Dependency scanning

Check whether oh-my-zelenka is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes