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