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 (189 KB, sha256 ea213a1b9e658baba5a089b78644df4ecdc7f26af8d72271a3fdbaa48335213b) 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": "ea213a1b9e658baba5a089b78644df4ecdc7f26af8d72271a3fdbaa48335213b"
},
"paths": [
"setup.py"
]
}
]
}
}