---
id: MAL-2026-11047
title: Malicious code in karpatkey (PyPI)
summary: Malicious code in karpatkey (PyPI)
severity: none
vendor: karpatkey
product: karpatkey
ecosystem: pip
affected:
  - karpatkey
published: '2026-07-24'
updated: '2026-07-24'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-11047'
references:
  - url: 'https://bad-packages.kam193.eu/pypi/package/karpatkey'
tags:
  - osv
  - pip
ingestedAt: '2026-07-24T19:07:02.329Z'
---

## Overview


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

## Source: kam193 (ea7a30728a3c4f46fee3153895404941b4363cb7086f5efe55e9ae9931913395)
During import, the package exfiltrates sensitive data (env variables, credential files, shell history, cryptocurrency wallet data etc.). It appears to be targeting users of kpk.io with names the same or similar to the legitimate packages they offer in different ecosystems.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2026-07-roles-royce


Reasons (based on the campaign):


 - dependency-confusion


 - targetted-attack


 - exfiltration-credentials


 - exfiltration-env-variables


 - exfiltration-cloud-tokens


 - exfiltration-ssh-keys


 - exfiltration-crypto


## Affected packages

- `karpatkey`

## Remediation

Refer to the advisory for the patched release.
