aiosendletter (PyPI) · Malicious Code
Affects aiosendletterSource GCVE Database
Malicious package : remove aiosendletter and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:20 UTC
Malicious package
Published to PyPI · OSV MAL-2026-16264
What to do
Remove aiosendletter from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIaiosendletter | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (46b706e618e75dd4f864a55a33a06cfa98c890d310735b1dea71ad86fe299fe6) The package ships a module (e.py) that prompts for administrator elevation via UAC, archives the contents of %LOCALAPPDATA%\logs with shutil.make_archive, and POSTs the resulting zip to a hardcoded attacker-controlled endpoint at https://sparkling-pine-f202.stilluer-sweden.workers.dev/ using requests.post. The %LOCALAPPDATA%\logs tree commonly contains Discord, browser, and game-tool artifacts including session data. The package's PyPI summary ("Safe bug reporter for sending local logs via Cloudflare Workers") and identifiers such as aiosendletter_logs are cover-story framing for bulk exfiltration of installer-owned data. Separately, pyproject.toml declares the Python stdlib name "ctypes" as an unpinned PyPI runtime dependency, causing pip to resolve and install whatever package currently occupies that registry name and execute its lifecycle code on the installer's machine — a dependency-confusion install-time code path in addition to the primary stealer payload. ## Source: kam193 (4e81e3b63bbe719f6d0bdd42930bb2f3235b8e41cbacf449743bb7dca67c9f08) Package hides code to exfiltrate files. Most releases target unclear files, but some reveal the goal to exfiltrate sensitive Telegram data. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-09-aiosendletter Reasons (based on the campaign): - files-exfiltration - target:telegram
References
- bad-packages.kam193.eu/pypi/package/aiosendletter (opens in a new tab)
- pypi.org/project/aiosendletter/4.3/ (opens in a new tab)
- pypi.org/project/aiosendletter/4.6/ (opens in a new tab)
- pypi.org/project/aiosendletter/3.8/ (opens in a new tab)
- pypi.org/project/aiosendletter/4.5/ (opens in a new tab)
- pypi.org/project/aiosendletter/3.9/ (opens in a new tab)
- pypi.org/project/aiosendletter/0.2.0/ (opens in a new tab)
- pypi.org/project/aiosendletter/3.7/ (opens in a new tab)
- pypi.org/project/aiosendletter/4.1/ (opens in a new tab)
- pypi.org/project/aiosendletter/4.0/ (opens in a new tab)