apimpact (PyPI) · Malicious Code
Affects apimpactSource GCVE Database
Malicious package : remove apimpact and rotate any secrets on hosts that installed it.
Data as of 5 Dec 2026, 01:34 UTC
Malicious package
Published to PyPI · OSV MAL-2026-21153
What to do
Remove apimpact 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 |
|---|---|---|
| PyPIapimpact | 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 apimpact package on PyPI includes a malicious dependency, apimpact-sync, which silently downloads and executes a remote executable. This behavior is intentional and part of a targeted attack campaign. The malicious code is embedded within the package's dependency chain, posing a risk to users who install affected versions.