pypi · Malicious package advisory
Malwarebenign-lib
GHSA-qhr6-g592-7v94
Malicious code in benign-lib (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (09477b048d84611002417894ccb3265d246be0156b096a8b47776960d45e9d3d) Package hides an executable inside, and starts it when imported. The sandbox analysis shows only starting a calculator, which suggests it's a research attempt without a big harm. --- 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: 2025-10-benign-lib Reasons (based on the campaign): - malware - obfuscation --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/benign-lib/MAL-2025-191620.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/benign-lib - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/benign-lib/MAL-2025-191620.json - https://tria.ge/251025-s3e1cafs3c/behavioral2 - https://www.virustotal.com/gui/file/55d6a867c72897ad721d5b56d3c98dd37fdff119bc06458c45a6a90f05e71096/behavior - https://github.com/advisories/GHSA-qhr6-g592-7v94
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.