calculates (PyPI) · Malicious Code
Affects calculatesSource GCVE Database
Malicious package : remove calculates and rotate any secrets on hosts that installed it.
Data as of 3 Dec 2026, 01:34 UTC
Malicious package
Published to PyPI · OSV MAL-2026-21000
What to do
Remove calculates 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 |
|---|---|---|
| PyPIcalculates | 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 'calculates' package on PyPI, versions 1.0.1 and 1.0.2, is a malicious package disguised as a math library. It delivers functionality that enables remote code execution and is a continuation of previously removed malicious packages. The campaign associated with this package is identified as '2026-11-alogithms' and is characterized by obfuscation and abuse of Python path techniques.