pypi · Malicious package advisory
Malwaredetectron4
GHSA-rcm5-2h5g-vf85
Malicious code in detectron4 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 94.6` ## Source: kam193 (65b386bb525d3578f1345cf715ede6e58c9aae5fe31200cb381ac39ff51415e2) A campaign of probably pentest packages flooding PYPI. Installing the package or importing the module triggers reporting basic info like hostname, path and the username to the package author. There is no other purpose of the package. --- 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: 2024-11-byted-dast 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. - typosquatting - dependency-confusion --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/detectron4/MAL-2024-11573.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/detectron4 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/detectron4/MAL-2024-11573.json - https://github.com/advisories/GHSA-rcm5-2h5g-vf85
Compromised versions (1)
- = 94.6
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.