Malicious code in apimpact-sync (PyPI)
- GHSA-8ph4-r3wj-fhqp
Summary
The malicious PyPI package apimpact-sync, an optional dependency of apimpact, silently downloads and executes a specific executable. The download URL is taken either from environment variables or from a hardcoded internal address. The record classifies the package as malicious rather than vulnerable, part of a campaign with clearly malicious intent, described as a targeted attack in which the malicious code was intentionally included in a dependency. No CVSS score or CISA known-exploited status is listed. Engineers should check whether apimpact-sync is installed or resolved in any environment, especially where apimpact's optional extras are enabled, and remove it.
AI summary · verify against the vendor advisory
Description
apimpact-sync, an optional dependency of apimpact, is used to silently download and execute a specific executable. The URL has to either be provided via env variables or available under a hardcoded internal address. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-12-apimpact Reasons (based on the campaign): - targetted-attack - The malicious code is intentionally included in a dependency of the package - Downloads and executes a remote executable. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0ab1fbc0bde73232be068361ed50c0d48864ac04/osv/malicious/pypi/apimpact-sync/MAL-2026-21156.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
apimpact-syncPyPI
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.