If this package is installed
Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.
Details
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