Malicious code in aiosendletter (PyPI)
--- _-= 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
AI Analysis
Technical Summary
The 'aiosendletter' package on PyPI ships with a malicious module 'e.py' that prompts for UAC elevation, archives the contents of the %LOCALAPPDATA%\logs directory (which may contain Discord, browser, and game-tool session data), and exfiltrates this archive via HTTP POST to a hardcoded attacker-controlled endpoint. The package's description and identifiers are deceptive, framing it as a legitimate bug reporter. Furthermore, the package's pyproject.toml declares the Python standard library package 'ctypes' as an unpinned runtime dependency, allowing pip to resolve and install a potentially malicious package from PyPI during installation, representing a dependency confusion vector. Some releases explicitly target Telegram data for exfiltration. This behavior classifies the package as a malicious infostealer.
Potential Impact
Users who install or run the affected versions of 'aiosendletter' risk unauthorized exfiltration of local log files that may contain sensitive session information from applications like Discord, browsers, game tools, and Telegram. The package also introduces a supply chain risk via dependency confusion by referencing an unpinned standard library package name, potentially executing arbitrary code during installation. This can lead to significant privacy breaches and compromise of user credentials or session tokens.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or using the 'aiosendletter' package, especially the affected versions. Remove any installations of this package from systems. Monitor for and block network traffic to the known malicious endpoint. Verify dependencies carefully to avoid dependency confusion attacks, ensuring that standard library packages are not overridden by malicious PyPI packages. Check vendor advisories or PyPI security notices for updates or removal of the malicious package.
Malicious code in aiosendletter (PyPI)
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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'aiosendletter' package on PyPI ships with a malicious module 'e.py' that prompts for UAC elevation, archives the contents of the %LOCALAPPDATA%\logs directory (which may contain Discord, browser, and game-tool session data), and exfiltrates this archive via HTTP POST to a hardcoded attacker-controlled endpoint. The package's description and identifiers are deceptive, framing it as a legitimate bug reporter. Furthermore, the package's pyproject.toml declares the Python standard library package 'ctypes' as an unpinned runtime dependency, allowing pip to resolve and install a potentially malicious package from PyPI during installation, representing a dependency confusion vector. Some releases explicitly target Telegram data for exfiltration. This behavior classifies the package as a malicious infostealer.
Potential Impact
Users who install or run the affected versions of 'aiosendletter' risk unauthorized exfiltration of local log files that may contain sensitive session information from applications like Discord, browsers, game tools, and Telegram. The package also introduces a supply chain risk via dependency confusion by referencing an unpinned standard library package name, potentially executing arbitrary code during installation. This can lead to significant privacy breaches and compromise of user credentials or session tokens.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or using the 'aiosendletter' package, especially the affected versions. Remove any installations of this package from systems. Monitor for and block network traffic to the known malicious endpoint. Verify dependencies carefully to avoid dependency confusion attacks, ensuring that standard library packages are not overridden by malicious PyPI packages. Check vendor advisories or PyPI security notices for updates or removal of the malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-16264
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6aac8d4f55bf5e2cf547427e
Added to database: 09/18/2026, 01:01:03 UTC
Last enriched: 09/18/2026, 01:06:13 UTC
Last updated: 09/18/2026, 01:12:42 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.