pypi · Malicious package advisory
Malwarewebsite-scanner
GHSA-6w69-4pcq-g79h
Malicious code in website-scanner (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (bab4a414e51f614858ff935138ccb2632b0ba1801566c398a699e692715ccaae) The obfuscated code in setup.py on installation collects information about the system (all possible about hardware, available resources, IP, names, etc.) and sends to a telegram webhook. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-09-website-scanner Reasons (based on the campaign): - exfiltration-generic - obfuscation - A Telegram webhook is used to send collected data. ## Source: ossf-package-analysis (06dde0f250e5ce430d8501b6cecadc7839daed79bdaf46415c8c59f53114fab8) The OpenSSF Package Analysis project identified 'website-scanner' @ 1.0.0 (pypi) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/website-scanner/MAL-2024-9067.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/website-scanner - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/website-scanner/MAL-2024-9067.json - https://github.com/advisories/GHSA-6w69-4pcq-g79h
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.