GHSA-22xw-36rx-phpr
Malicious code in cti-ctf-challenges (PyPI)
Impact
## Source: kam193 (1cefe6c8a9ac6ede7c6ba497cf17011bf431812980749bb0068995ebba4039d9) If the method from the module is called, it attempts to download a malicious code (identified as msf payload) and save it locally. In the analysed version, the code starting the malicious code was commented out. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-07-web3dummycti 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. - action-hidden-in-lib-usage - Downloads and executes a remote malicious script. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cti-ctf-challenges/MAL-2025-191709.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | cti-ctf-challenges | = 0.1.2 | none recorded |
| pip | cti-ctf-challenges | = 0.1.1 | none recorded |
| pip | cti-ctf-challenges | = 0.1.0 | none recorded |