Skip to content
OpenAdvisories
Malicious MAL-2025-989

swapoc

PyPI package · versions 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

Reported Aug 23, 2024 · Updated Mar 19, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

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.