VYPR

pypi · Malicious package advisory

Malware

dgsinstaller

GHSA-j5g2-hm37-q237

Malicious code in dgsinstaller (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (f90b0387462eccb87e3b6d3b542cfdcfe3083873083f00a7ac5120c64b800f98)
Installing package downloads and install an infostealer


---

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


Campaign: 2023-11-dgsinstaller


Reasons (based on the campaign):


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - infostealer


 - Downloads and executes a remote malicious script.

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/dgsinstaller
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/dgsinstaller/MAL-2024-12254.json
- https://github.com/advisories/GHSA-j5g2-hm37-q237

Compromised versions (1)

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