pypi · Malicious package advisory
Malwarecpan
MAL-2025-6483
Malicious code in cpan (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (e70433969aea3c8283f99098b25b8a598f427b5fd451e9bfd5bc46098704bfb2) Installing the package starts a revshell and download and starts a remote script (depending on version, different malicious functionality). The name seems to imitate CPAN.org --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-06-cpan Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. - impersonation - Downloads and executes a remote malicious script.
Compromised versions (3)
- 0.0.2
- 0.0.3
- 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.