pypi · Malicious package advisory
Malwareluna-paysure
GHSA-3w93-v3mj-f3fx
Malicious code in luna-paysure (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.7.5` ## Source: kam193 (d22eccc425ab8fc5afe244efb33dd6d500ea6bcdf0942a02dedb3daa9f17da51) Importing the module causes exfiltrating of IP and hostname. --- 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-luna 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/luna-paysure/MAL-2024-11627.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/luna-paysure - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/luna-paysure/MAL-2024-11627.json - https://github.com/advisories/GHSA-3w93-v3mj-f3fx
Compromised versions (1)
- = 0.7.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.