VYPR

pypi · Malicious package advisory

Malware

amzn-sagemaker-studio

GHSA-x67w-q5m7-2hmx

Malicious code in amzn-sagemaker-studio (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.0`

## Source: kam193 (a557d275cca7627fa4d3e2c72f0fc9b78fc5ac70aa87a0ab586f1abf9f8777a6)
Package exfiltrates the environment variables during the import


---

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


Campaign: 2025-09-amzn-sagemaker-studio


Reasons (based on the campaign):


 - exfiltration-env-variables


 - dependency-confusion

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/amzn-sagemaker-studio
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/amzn-sagemaker-studio/MAL-2025-191680.json
- https://github.com/advisories/GHSA-x67w-q5m7-2hmx

Compromised versions (1)

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