MAL-2026-21156: Malicious code in apimpact-sync (PyPI)

Published Dec 5, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: kam193 (56314f7fa4494de5f447f9b5ec9c54c102830640ad476e17daad63dc85e9e866) 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.

Affected Software

1 affected component
pip/apimpact-sync=1.0.0, =1.0.1, =1.0.2

Event History

Dec 5, 2026
Advisory Published
via OSV·12:09 AM
Data Sourced
via OSV·12:09 AM
DescriptionAffected Software

Frequently Asked Questions

1

What systems are realistically exposed to this package?

Systems that install apimpact-sync are exposed. It is described as an optional dependency of apimpact, so environments using apimpact may be exposed if that optional dependency is selected or otherwise installed.

2

What does an attacker need to trigger the malicious behavior?

The package uses a URL supplied through environment variables or, if none is supplied, a hardcoded internal address. It then silently downloads and executes a specific executable from that location.

3

How can I check whether an environment is affected?

Check installed Python packages for apimpact-sync and review whether apimpact installations include it as an optional dependency. Also inspect relevant environment variables and network or process telemetry for downloads followed by execution of an executable.

4

What can be done if the package cannot be removed immediately?

Prevent the package from reaching the URL supplied through environment variables or the hardcoded internal address, and restrict outbound network access and executable execution for the affected environment. Review the host for downloaded or executed payloads.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203