# MAL-2026-6735: Malicious code in ue-python-tools (PyPI)


- **Type:** Malicious package
- **Package:** `ue-python-tools` (PyPI)
- **Published:** 2 Jul 2026

## What is MAL-2026-6735?

MAL-2026-6735 is a malicious package in ue-python-tools, published on 2 Jul 2026. 

### Official description

On `import ue_python_tools`, the package spawns a background thread that issues an HTTP POST to http://109.123.247.172/pypi carrying a JSON payload composed of the installer's hostname (socket.gethostname()), user identity (os.environ USER/USERNAME), and current working directory (os.getcwd()). The destination is a hardcoded plaintext bare-IP endpoint with no user consent, no configuration surface, and no documented purpose. The package metadata compounds the risk: it is published as version 99999.0.0 with placeholder author 'Security Research' and summary 'Internal package', a version-squat shape designed to be resolved as the 'latest' release by dependency resolvers and to shadow an internal package name via dependency confusion. Installing or importing this package causes installer host identifiers to be transmitted off-machine to an attacker-controlled endpoint.

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.

---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-standard-pypi-install-pentest

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.

 - The package overrides the install command in setup.py to execute malicious code during installation.

## What should I do about MAL-2026-6735?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-6735 is a malicious package: ue-python-tools (PyPI). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-6735/ (Markdown: https://insights.sbomify.com/MAL-2026-6735/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-6735

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-6735/
Summaries are generated and may contain mistakes; the official description above is the record.
