pypi · Malicious package advisory
Malwareyelp-pkg
GHSA-f6pg-w2v6-3cj7
Malicious code in yelp-pkg (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1337.0.0` ## Source: kam193 (fdea5ca17bb09234a292159e525a2a38ac3fd43760c6f2184aa27f563f320075) During import, the package attempts to exfiltrate potentially sensitive data. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: GENERIC-questionable-pentest Reasons (based on the campaign): - exfiltration-env-variables - exfiltration-generic - The package overrides the install command in setup.py to execute malicious code during installation. - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/yelp-pkg/MAL-2025-191666.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/yelp-pkg - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/yelp-pkg/MAL-2025-191666.json - https://github.com/advisories/GHSA-f6pg-w2v6-3cj7
Compromised versions (1)
- = 1337.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.