Malicious package. During pip install, setup.py executed a payload that ran the host-profiling commands lsb_release -a, uname -rs and uname -p, queried http://ip-api.com/line for the public IP and ISP, and then connected to api.telegram.org, all observed in a sandboxed install. This is the exact runtime fingerprint of the WhiteSnake infostealer setup.py payload (the same family as aeivasta and setnetwork, whose recovered payload steals browser credentials and cookies, Telegram sessions and cryptocurrency wallets and uploads them to a Telegram bot). The setup.py (1646 KB, sha256 af5fa67eca52543c6179a52091194537e9f51c64f45ee7bb9f1e62e17ae469bf) is padded to an unusual size, consistent with the embedded Windows executable in that family. 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.
{
"iocs": {
"domains": [
"api.telegram.org",
"ip-api.com"
],
"files": [
{
"digests": {
"sha256": "af5fa67eca52543c6179a52091194537e9f51c64f45ee7bb9f1e62e17ae469bf"
},
"paths": [
"setup.py"
]
}
]
}
}