pypi · Malicious package advisory
Malwarefastapii
GHSA-623m-8qff-qjw8
Malicious code in fastapii (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.1` ## Source: kam193 (ccfc3dd07e620dc6bda1b28b4d8f77932ee217aff579270c0e0c74453e215943) Package imitates name of a popula library. During installation, obfuscated code downloads a malicious executable and starts it. It then exfiltrates at least cryptocurrency wallet data, probably more. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-08-flasq Reasons (based on the campaign): - typosquatting - The package overrides the install command in setup.py to execute malicious code during installation. - exfiltration-generic - Downloads and executes a remote executable. - obfuscation - exfiltration-crypto --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/14cea0fef89fe1c020f1aedf7bb31bbfe2507d52/osv/malicious/pypi/fastapii/MAL-2026-13486.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/fastapii - https://github.com/ossf/malicious-packages/blob/14cea0fef89fe1c020f1aedf7bb31bbfe2507d52/osv/malicious/pypi/fastapii/MAL-2026-13486.json - https://tria.ge/260807-fkycrazzg1/behavioral1 - https://www.virustotal.com/gui/file/425f5336182e359211b5d751786d2ce1d31a673ea9c82107358a888803742649/detection - https://github.com/ossf/malicious-packages/blob/6968e87494d8340b5ba5995397847a99ceeee1dc/osv/malicious/pypi/fastapii/MAL-2026-13486.json - https://pypi.org/project/fastapii/0.1.1 - https://pypi.org/project/fastapii/0.1.2 - https://pypi.org/project/fastapii/0.2.0
Compromised versions (1)
- = 0.1.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.