MAL-2026-21168: Malicious code in kitani-validator (PyPI)
--- -= 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
Event History
Frequently Asked Questions
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.
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.
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.