VYPR

pypi · Malicious package advisory

Malware

flask-auth-sys

GHSA-vvgv-82fx-f6w3

Malicious code in flask-auth-sys (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.5`

## Source: kam193 (a241889bfae20aee5395660063d13f337aa9733c14b02bf2edb004d6d36e1d41)
On importing the module, the code attempts to span a reverse shell. In the current version, the remote domain does not exist


---

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


Campaign: 2025-04-flask-auth-sys


Reasons (based on the campaign):


 - dependency-confusion


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


 - obfuscation

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/flask-auth-sys/MAL-2025-191730.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/flask-auth-sys
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/flask-auth-sys/MAL-2025-191730.json
- https://github.com/advisories/GHSA-vvgv-82fx-f6w3

Compromised versions (1)

  • = 1.0.5

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