VYPR

pypi · Malicious package advisory

Malware

gwinpy

GHSA-9jc2-h459-3chf

Malicious code in gwinpy (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 9999.0.0`

## Source: kam193 (fdd3f3646435d9d7857a19999ffa38cdb99c04b4aa62177b1df6f2710b5412b3)
Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.


---

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

## Source: ossf-package-analysis (7a402b93fab2d0ba3f8b49f3c4c5ec0d74b643021bb9b23ee79b819417203ff3)
The OpenSSF Package Analysis project identified 'gwinpy' @ 9999.0.0 (pypi) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/gwinpy
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/gwinpy/MAL-2024-11248.json
- https://github.com/advisories/GHSA-9jc2-h459-3chf

Compromised versions (1)

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