---
id: MAL-2026-13380
title: Malicious code in uncrypt (PyPI)
summary: Malicious code in uncrypt (PyPI)
severity: none
vendor: uncrypt
product: uncrypt
ecosystem: pip
affected:
  - uncrypt
published: '2026-08-05'
updated: '2026-08-06'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-13380'
references:
  - url: >-
      https://www.virustotal.com/gui/file/9d48d08eec66438969bb580ddaed8b329e10df75a63aacb3257f2464bf6f89bd/detection
  - url: 'https://tria.ge/260805-scwkeaan2x'
  - url: >-
      https://www.virustotal.com/gui/file/d1fbef0e9364f498b25ecd3e5c6adc34ac5d643ec3180753efc48379f4cc5a1f/detection
  - url: 'https://bad-packages.kam193.eu/pypi/package/uncrypt'
  - url: 'https://pypi.org/project/uncrypt/0.1.1/'
  - url: 'https://pypi.org/project/uncrypt/0.1.0/'
tags:
  - osv
  - pip
ingestedAt: '2026-08-06T19:13:30.938Z'
---

## Overview


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

## Source: amazon-inspector (61fc5c3033efaa35a8eae7781fa0fc4b300f753c5b0d56e07adcc0557e9b648f)
The package presents itself as a trivial Python XOR/hex helper, but `uncrypt/__init__.py` executes `_run_security_launcher()` at module top level, which platform-branches to Windows or Linux and silently `subprocess.Popen`s a bundled native binary from `uncrypt/assets/` (`uncrypt.exe` on Windows, `uncrypt` ELF on Linux) with `close_fds=True` and, on Windows, `CREATE_NO_WINDOW`; exceptions from the launch are swallowed. The shipped Linux ELF (SHA256 d1fbef0e9364f498b25ecd3e5c6adc34ac5d643ec3180753efc48379f4cc5a1f) dynamically links libcurl (`curl_easy_init/setopt/perform`) and libX11 (`XOpenDisplay`, `XGetImage`) and imports host/user/network enumeration primitives (`gethostname`, `getifaddrs`, `getpwuid`, `getuid`, `getenv`, `statvfs`) together with C++ `filesystem::directory_iterator`, `read_symlink`, and `copy_file`. None of this is required by the advertised XOR/hex functionality in `core.py`; the combination of screen capture, host and interface enumeration, filesystem walking, and libcurl-based network I/O, invoked covertly on every `import uncrypt`, matches a host stealer/spyware payload wrapped behind a benign Python facade.

## Source: kam193 (f391bbd6f86e9108de1a5de9d0131658bf5a637b768f724f536976e125d5b0c2)
During import, the package silently starts the embedded executable which existence is not disclosed to the user. Dynamic analysis suggests the code harvests browser data and communicates with an external domain.


---

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


Campaign: 2026-08-uncrypt


Reasons (based on the campaign):


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.


 - obfuscation


 - exfiltration-browser-data


 - The package contains code to detect if it is running in a sandbox environment.


## Affected packages

- `uncrypt`

## Remediation

Refer to the advisory for the patched release.
