MAL-2026-21168: Malicious code in kitani-validator (PyPI)

Published Dec 6, 2026
·
Updated

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

Source: kam193 (e50e74a3243750834e517569f1501ace0b1d5fc37d0abac9fcec44b276edad81) During installation, package exfiltrates basic information and spawns a reverse shell. It's a dependency confusion against a project not published to PyPI (https://github.com/kitani-inc/kitani-subnet-validator)

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-12-kitani-validator

Reasons (based on the campaign):

- The package overrides the install command in setup.py to execute malicious code during installation.

- The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

- dependency-confusion

- The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

- crypto-related

Affected Software

1 affected component
pip/kitani-validator=0.1.0, =0.1.1

Event History

Dec 6, 2026
Advisory Published
via OSV·07:41 PM
Data Sourced
via OSV·07:41 PM
DescriptionAffected Software

Frequently Asked Questions

1

Who is most likely to be exposed to this package?

Projects or build environments that attempt to install the unpublished kitani-subnet-validator project from PyPI may resolve to kitani-validator through dependency confusion. The malicious behavior runs during installation, so developer workstations and CI/CD runners that install it are relevant exposure points.

2

What does an attacker gain if the package is installed?

The package exfiltrates basic system information, such as an IP address or username, and creates a reverse shell. A reverse shell can allow the attacker to execute commands on the affected machine.

3

Does the malicious code require the package to be imported or used after installation?

No. The package overrides the setup.py install command to execute its malicious code during installation, so installation itself triggers the behavior.

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