pypi · Malicious package advisory
Malwareezllmgen
GHSA-vvm7-99f8-5w98
Malicious code in ezllmgen (PyPI)
Details
**Severity:** Critical
**Affected versions:** `= 2.21`
## Source: amazon-inspector (d9ad551d9ee9ad2f3c29daab0377c3e52289324e938e28a3b58d71c60e8e15e8)
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.
## Source: kam193 (7cc70e1a292c4903085d05b91ff1e5301e10e8d37d9299cd32dee637a27f3ac8)
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
---
Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ezllmgen/MAL-2026-5769.json))
**References:**
- https://bad-packages.kam193.eu/pypi/package/ezllmgen
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ezllmgen/MAL-2026-5769.json
- https://pypi.org/project/EzLLMGen/2.21
- https://www.virustotal.com/gui/file/0649f50ead3695f41c1243883200bdb775410bcd8c8fb88277740a625a154e25
- https://www.virustotal.com/gui/file/1a5beab4a6facb46b4afc5f8526e1327e6c7d740ccaf34c6a921ac18eff29427/detection
- https://www.virustotal.com/gui/file/4c99c8edfc4444f46932f14afccb2952a3850df765765f9ac793d69f318c192f/detection
- https://www.virustotal.com/gui/file/926e8f1a7f349ff1eef31f89fa8ffe265c30b92e310e8bea19962d38f8c32129
- https://github.com/advisories/GHSA-vvm7-99f8-5w98Compromised versions (1)
- = 2.21
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.