Skip to main content

Malicious code in cognikit (PyPI)

0
Critical
Published: 07/31/2026 (07/31/2026, 14:21:11 UTC)
Source: GCVE Database
Product: cognikit

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.

Affected software

PyPIghsa
cognikit
Affected versions
=0.1.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/31/2026, 22:20:22 UTC

Technical Analysis

The 'cognikit' PyPI package version 0.1.2 is part of a malicious campaign where dependencies contain command-and-control (C2) configurations and malicious code. This code replaces copied cryptocurrency wallet addresses with attacker-controlled addresses, exfiltrates browser data, installs malicious browser extensions, and establishes remote access to the victim's device. The campaign is linked to North Korea's 'Contagious Interview' threat actor group and involves keylogging, clipboard manipulation, persistence, and remote command execution. Some related packages provide fake functionality while silently executing malicious actions from dependencies. These packages are used in malicious interview assessments or cryptocurrency projects.

Potential Impact

The malicious code can lead to theft of cryptocurrency by replacing wallet addresses, compromise of sensitive browser data, persistent remote access to the victim's device, and installation of malicious browser extensions. This can result in significant financial loss and privacy breaches for affected users.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or official guidance is available, avoid using the affected version (=0.1.2) of the 'cognikit' package and audit dependencies for malicious code. Remove or replace the package if found in your environment.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-11419
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a6cc1391aa972dd3209cc31

Added to database: 07/31/2026, 15:37:29 UTC

Last enriched: 07/31/2026, 22:20:22 UTC

Last updated: 09/07/2026, 18:51:07 UTC

Views: 25

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses