MAL-2026-21153: Malicious code in apimpact (PyPI)

Published Dec 5, 2026
·
Updated

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

Source: kam193 (c7b49cb42e4bfc229d490bcb77ba054266ed2504ea6fccd24d62ff97ef4ecf47) 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=1.0.0, =1.0.1, =1.0.2

Event History

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

Frequently Asked Questions

1

Who is exposed to this malicious behavior?

Users who install apimpact and include its optional apimpact-sync dependency are exposed. The malicious functionality is intentionally included in that dependency.

2

What does the malicious dependency require to download and run the executable?

The executable URL must be supplied through environment variables or be reachable at a hardcoded internal address. When one of those sources provides the URL, apimpact-sync silently downloads and executes the remote executable.

3

What can be done if the package is already installed?

Remove the optional apimpact-sync dependency and investigate systems where it was installed, because it may have downloaded and executed a remote executable. Review relevant environment variables and access to the hardcoded internal address as potential URL sources.

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