VYPR

pypi · Malicious package advisory

Malware

cloudscrapersafe

GHSA-chc2-66jr-7v2m

Malicious code in cloudscrapersafe (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 3.0.0`

## Source: kam193 (2420d6a750823b640af4d97d3a2a26383ce9e32d3ac266e4792675e8beb9b806)
During processing the user requests, the package looks for URLs related to checkouts using services:
- credomatic.compassmerchantsolutions.com
- checkout.baccredomatic.com
and exfiltrates given credit card numbers, verification codes etc. Interestingly, it checks even 3DS responses.

Clone of the legitimate "cloudscraper" package.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2025-07-cloudscrapersafe


Reasons (based on the campaign):


 - action-hidden-in-lib-usage


 - exfiltration-generic


 - clones-real-package

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cloudscrapersafe/MAL-2025-6478.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/cloudscrapersafe
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cloudscrapersafe/MAL-2025-6478.json
- https://github.com/advisories/GHSA-chc2-66jr-7v2m

Compromised versions (1)

  • = 3.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.