# MAL-2026-16366: Malicious code in pullgetsage (PyPI)


- **Type:** Malicious package
- **Package:** `pullgetsage` (PyPI)
- **Published:** 21 Sep 2026

## What is MAL-2026-16366?

MAL-2026-16366 is a malicious package in pullgetsage, published on 21 Sep 2026. 

### Official description

On import, __init__.py archives the installer's Telegram Desktop tdata directory (%APPDATA%/Telegram Desktop/tdata) into a zip named 'aiosendletter_logs' and POSTs it to a hardcoded Cloudflare Workers endpoint at https://red-poetry-6b6f.martinmcflywork.workers.dev/. The tdata directory holds Telegram session keys; uploading it enables full account takeover of the installer's Telegram account. The behavior is disguised with misleading identifiers ('aiosendletter_logs', 'aioletter initialized') and empty except-block prints that silently swallow errors, and the stated package purpose ('a library filled with books') is unrelated to Telegram.

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

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

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

## Sources

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

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