apimpact / apimpact-sync PyPI malware: silent download-and-execute payload in dependency (no CVE)
Severity: critical · Patch status: no-fix-needed · Since 2026-12-05
GitHub Advisory Database (GHSA-pfv3-prq2-j9f3, published 2026-12-05) flags the PyPI package apimpact as malicious. Versions 1.0.0–1.0.2 ship an optional dependency, apimpact-sync, that silently downloads and executes a remote executable, with the URL supplied via environment variables or a hardcoded internal address. OpenSSF classifies it under campaign 2026-12-apimpact as MALICIOUS (infostealer-class intent), a targeted attack with the malicious code intentionally embedded in a dependency. There are no patched versions; the package has been removed/reported via OpenSSF malicious-packages (MAL-2026-21153). Any environment that installed apimpact 1.0.0–1.0.2 is affected and should treat hosts as compromised.
What to do
- Remove apimpact and apimpact-sync from all environments and lockfiles; block the package names in your artifact proxy/registry
- Audit build and developer machines that installed these versions for persistence, unexpected executables, and credential theft; rotate secrets and tokens on those hosts
- Check CI logs and dependency caches for installs of apimpact and for outbound downloads to the hardcoded address or env-specified URLs
- Hunt for environment variables or configs that could have supplied the payload URL
- Report any sightings to your security team and consider filing with PyPI/OpenSSF
Sources
All live incidents on Threat Watch