pypi · Malicious package advisory
Malwarebyterec-models
GHSA-2f3g-jq7c-696w
Malicious code in byterec-models (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.5.3` ## Source: kam193 (a743bef3c7e21e3a83027eb77a9868e7b659f295c96c82ac735bc135b353e597) Collects basic information about the system, most probably a pentest or bug bounty. --- 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-08-byted-22.ax 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/byterec-models/MAL-2024-12223.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/byterec-models - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/byterec-models/MAL-2024-12223.json - https://github.com/advisories/GHSA-2f3g-jq7c-696w
Compromised versions (1)
- = 1.5.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.