VYPR

pypi · Malicious package advisory

Malware

google-play-store

GHSA-h7vx-w665-3x9p

Malicious code in google-play-store (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.6.0`

## Source: kam193 (b0f8bc12f61546bde84dd1d7a64519fcdc55ce875b71f3d8d848d2d5daa2248d)
This is a copy of https://pypi.org/project/play-scraper/ with added a very questionable "telemetry": in scraper.py, L90 sends the user hostname, IP and the exact local ID of scraped application to the package author.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: 2024-09-old-google-play-store


Reasons (based on the campaign):


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.


 - dependency-confusion


 - action-hidden-in-lib-usage


 - clones-real-package

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/google-play-store/MAL-2024-12280.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/google-play-store
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/google-play-store/MAL-2024-12280.json
- https://github.com/advisories/GHSA-h7vx-w665-3x9p

Compromised versions (1)

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