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.