MAL-2026-20117: Malicious code in setnetwork (PyPI)
Malicious package. setup.py runs base64-encoded code with exec on every invocation except sdist, i.e. during pip install. On Windows it writes an embedded 429 KB executable to the temp directory (P3c8b0f54872f923c2cd896f7b5.exe) and starts it. On Linux it looks up the public IP and ISP via ip-api.com (and exits if the ISP is Google or Mythic Beasts), takes a screenshot, collects Firefox and Thunderbird credential and cookie stores (key4.db, logins.json, cookies.sqlite), FileZilla saved servers, Pidgin accounts, Telegram Desktop tdata sessions and Electrum and Exodus wallets, zips and RC4-encrypts them, and uploads the archive to a Telegram bot (bot 6209822134, chat -1001529292045). Observed in a sandboxed install (ip-api.com and api.telegram.org connections). It belongs to the WhiteSnake infostealer campaign on PyPI (April 2023); sibling packages such as libidrequest (MAL-2024-5318) and libideeee (MAL-2024-5315) are already recorded. The package has been removed from PyPI.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to the credential and data theft behavior?
Linux installs are exposed to the documented collection behavior, including Firefox and Thunderbird credential and cookie stores, FileZilla and Pidgin data, Telegram Desktop sessions, and Electrum and Exodus wallets. Windows installs instead write and launch an embedded executable from the temporary directory; the provided data does not specify what that executable does.
Does installing the package trigger the malicious code by default?
Yes. The setup.py code runs on every invocation except sdist, including during pip install, so a normal installation triggers it without requiring a separate command.
How can I determine whether an installation may have been affected?
Look for the Windows temporary-directory executable named P3c8b0f54872f923c2cd896f7b5.exe. On Linux, review network evidence for connections to ip-api.com and api.telegram.org, which were observed during a sandboxed install.
What should be done if this package was installed?
Treat credentials, cookies, messaging sessions, and wallet data available to the affected Linux user as potentially exposed. The package has been removed from PyPI, but removal does not remediate systems where it was previously installed.