# MAL-2026-5769: Malicious code in ezllmgen (PyPI)


- **Type:** Malicious package
- **Package:** `ezllmgen` (PyPI)
- **Published:** 14 Jun 2026

## What is MAL-2026-5769?

MAL-2026-5769 is a malicious package in ezllmgen, published on 14 Jun 2026. 

### Official description

setup.py downloads the first line of https://pastebin.com/raw/yBcUM1QB via urllib and passes it directly to os.system(f'cmd /c "{cmd_pastebin}"') during package installation. The Pastebin source is anonymous and author-mutable, so any installer running `pip install EzLLMGen` unconditionally executes whatever shell command is currently posted there, with no pinning, hash check, or signature. The package ships no Python modules — the src tree contains only an egg-info directory and the PKG-INFO metadata is placeholder text (Name/Author/Summary all set to 'EzLLMGen'), so there is no legitimate functionality to balance against the dropper. The install-time fetch-and-execute is the package's sole purpose.

During installation, the code attempts to download and start a malicious executable.

Likely related to 2025-08-raknet-testing-package.

---

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

Campaign: 2026-06-easyaillm

Reasons (based on the campaign):

 - Downloads and executes a remote executable.

 - obfuscation

 - malware

 - tool:mshta

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

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-5769 is a malicious package: ezllmgen (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-5769/ (Markdown: https://insights.sbomify.com/MAL-2026-5769/index.md)
```

## Sources

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

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