Malicious package · PyPI
Malicious code in kb-ai (PyPI)
0.1.00.1.1No safe version. Remove it.What it does
On import kb_ai, the package's __init__.py triggers kb_ai.utils.callback, which starts a background thread that collects installer host identifiers (hostname, platform, Python version, timestamp) and POSTs them to a hardcoded Azure-hosted endpoint at bybitpoc-f2b2b4gfbefufvfc.canadacentral-01.azurewebsites.net/callback. The network call is unconditional, fires without caller opt-in, and errors are silently swallowed. The module's own comments describe the behavior as a supply-chain proof-of-concept.
Reported by kam193 The main purpose of the package is to demonstrate a dependency confusion attack. The rest of the functionality is just a stub.
No fix · Remove and contain
pip uninstall kb-aiSources