mathkitlite (PyPI) · Malicious Code
Affects mathkitliteSource GCVE Database
Malicious package : remove mathkitlite and rotate any secrets on hosts that installed it.
Data as of 10 Sep 2026, 07:56 UTC
Malicious package
Published to PyPI · OSV MAL-2026-14552
What to do
Remove mathkitlite from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPImathkitlite | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The PyPI package 'mathkitlite' version 0.1.0 contains malicious code that exfiltrates basic host information such as IP address and username upon installation or import. The package overrides the install command in its setup.py to execute this malicious behavior. It appears to have no legitimate functionality beyond this data exfiltration.