---
id: MAL-2026-14069
title: Malicious code in kb-ai (PyPI)
summary: Malicious code in kb-ai (PyPI)
severity: none
vendor: kb-ai
product: kb-ai
ecosystem: pip
affected:
  - kb-ai
published: '2026-08-16'
updated: '2026-08-16'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-14069'
references:
  - url: 'https://bad-packages.kam193.eu/pypi/package/kb-ai'
tags:
  - osv
  - pip
ingestedAt: '2026-08-17T19:20:55.395Z'
---

## Overview


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

## Source: kam193 (edd64785c168e513c50673e9b031048ba592c1460a9a952f9430feb83bf5042d)
The main purpose of the package is to demonstrate a dependency confusion attack. The rest of the functionality is just a stub.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: GENERIC-standard-pypi-install-pentest


Reasons (based on the campaign):


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


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


## Affected packages

- `kb-ai`

## Remediation

Refer to the advisory for the patched release.
