VYPR

pypi · Malicious package advisory

Malware

innostage-group

GHSA-284f-8pgh-v7mx

Malicious code in innostage-group (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 7.0.6`

The package contains code to download and execute a reverse shell script.## Source: kam193 (9d0f2f6104de4772268a20f51e009797c0c4b0740d18d98d730417fdafdfb052)
When imported, the package download and runs a remote stage - a reverse shell. To mask activity, the remote domain is made to mimic PyPI host: files[.]pythonhosted[.]ru


---

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


Campaign: 2024-10-innostage


Reasons (based on the campaign):


 - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/innostage-group
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/innostage-group/MAL-2024-9267.json
- https://github.com/advisories/GHSA-284f-8pgh-v7mx

Compromised versions (1)

  • = 7.0.6

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.