pypi · Malicious package advisory
Malwareswapoc
MAL-2025-989
Malicious code in swapoc (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (fc650deb79ebf195b7e2ca4aeef3e25c9a26632fbc108f4bfabe54199f0b3b49) Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real 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: GENERIC-simple-tests Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation.
Compromised versions (12)
- 0.0.1
- 0.0.2
- 0.0.3
- 0.0.4
- 0.0.5
- 0.0.6
- 0.0.7
- 0.0.8
- 0.0.9
- 1.0.1
- 1.0.0
- 2.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.