VYPR

pypi · Malicious package advisory

Malware

flask-auth-system

GHSA-pg9q-pwfh-xmq9

Malicious code in flask-auth-system (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.1`

## Source: kam193 (debc87eb7af33e5146831c7e1b8ff69ccdebe2c9bbf353216c719b10ebe8431c)
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-system/MAL-2025-191731.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/flask-auth-system
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/flask-auth-system/MAL-2025-191731.json
- https://github.com/advisories/GHSA-pg9q-pwfh-xmq9

Compromised versions (1)

  • = 0.0.1

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