VYPR

pypi · Malicious package advisory

Malware

fastpi

GHSA-rm68-pf5f-xh79

Malicious code in fastpi (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.128.0`

## Source: kam193 (2928970260fda87aaa57272b8042ae1a9661ad1a1bdeec1e73903e84ce3354cd)
Malicious copy of the legitimate FastAPI. The modification loads code encrypted in one of the attached files. The final, highly obfuscated code is most likely similar to the code from 2026-01-pypi-package-explore, with the exact behavior unknown.


---

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


Campaign: 2026-01-fastpi


Reasons (based on the campaign):


 - clones-real-package


 - obfuscation


 - typosquatting

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/fastpi
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/fastpi/MAL-2026-613.json
- https://github.com/advisories/GHSA-rm68-pf5f-xh79

Compromised versions (1)

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