cognikit (PyPI) · Malicious Code
Affects cognikitSource GCVE Database
Malicious package : remove cognikit and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:12 UTC
Malicious package
Published to PyPI · OSV MAL-2026-11419
What to do
Remove cognikit from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIcognikit | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The PyPI package 'cognikit' version 0.1.2 contains malicious code designed to replace cryptocurrency wallet addresses with attacker-controlled ones, exfiltrate browser data, install malicious browser extensions, and establish remote control over the victim's device. This malicious functionality is embedded in dependencies and is linked to a campaign attributed to North Korea's 'Contagious Interview' group. The package also includes keylogging, clipboard modification, persistence mechanisms, and limited remote command execution capabilities.