pypi · Malicious package advisory
Malwaremaliciouspackage
GHSA-g6v8-f36h-fc92
Malicious code in maliciouspackage (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.5` ## Source: kam193 (d0e8a8d581266436f0546b5039ee82ab734d45f8489e281322dd871124dad9ce) Clearly a demo malicious package, attempting to exfiltrate a token from the git config --- 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-10-old-maliciouspackage Reasons (based on the campaign): - exfiltration-generic --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/maliciouspackage/MAL-2024-12303.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/maliciouspackage - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/maliciouspackage/MAL-2024-12303.json - https://github.com/advisories/GHSA-g6v8-f36h-fc92
Compromised versions (1)
- = 0.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.