# MAL-2026-5756: Malicious code in easyaillm (PyPI)


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

## What is MAL-2026-5756?

MAL-2026-5756 is a malicious package in easyaillm, published on 14 Jun 2026. 

### Official description

On `pip install easyaillm`, setup.py runs `exec(base64.b64decode(...))` which decodes to code that fetches https://pastebin.com/raw/hEF5HaFc, treats the response body as a second URL, downloads that URL's bytes to `pkg_installer.exe`, and executes it via `os.system('cmd /c pkg_installer.exe')`. The attack stages are concealed behind a base64 blob and `exec()` indirection, while the package metadata advertises an unrelated LLM/Roblox API purpose as cover. The pastebin source is mutable and anonymous, allowing the operator to swap the second-stage URL and ultimately the executed binary at any time. Installing this package on Windows results in arbitrary attacker-controlled code execution on the installer's machine.

During installation, the obfuscsted code attempts to download and start a malicious executable. The published versions contained issues preventing successful downloading, but it was possible to recover the intended executable during the analysis.

---

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-5756?

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

## Sources

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

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