pypi · Malicious package advisory
Malwarefarooq4321
GHSA-5cqp-5gpg-xp9g
Malicious code in farooq4321 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (165ce280a6d073eebbba054677a6c80307c8353b31e41732ba1ffc1f8a020aa4) Code in setup.py attempts to call a webhook, but most importantly to execute a revshell --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-02-farooq4321 Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. - The package overrides the install command in setup.py to execute malicious code during installation. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/farooq4321/MAL-2025-1975.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/farooq4321 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/farooq4321/MAL-2025-1975.json - https://github.com/advisories/GHSA-5cqp-5gpg-xp9g
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.