# MAL-2026-17921: Malicious code in leakdeep (PyPI)


- **Type:** Malicious package
- **Package:** `leakdeep` (PyPI)
- **Published:** 18 Oct 2026

## What is MAL-2026-17921?

MAL-2026-17921 is a malicious package in leakdeep, published on 18 Oct 2026. 

### Official description

The package presents itself as an OSINT / credential-leak intelligence framework with a search CLI, but the advertised SearchEngine.search is a stub returning an empty list. Every invocation of the CLI (cli.main) unconditionally starts a background thread via SystemInfo.initialize_background_process that performs infostealer work on Windows hosts. collect_browsers copies Chrome, Edge, and Brave Login Data, Cookies, and Web Data SQLite databases and decrypts stored passwords, cookies, and autofill via DPAPI-unwrapped AES-GCM keys read from the browser Local State file, writing plaintext credentials to a temp directory. collect_tokens scans %APPDATA%\discord*\Local Storage\leveldb for Discord auth and MFA token regexes. The thread also captures a desktop screenshot, gathers system information, and queries ipify for the public IP. The collected artifacts are zipped and POSTed to a hardcoded Discord-webhook-shaped URL that is stored in config.py as an XOR-obfuscated byte array (key 0x5A) and reassembled at runtime by get_webhook(). The combination of a non-functional advertised feature, a runtime-reconstructed exfiltration endpoint, and bulk harvesting of installer-owned browser and messaging secrets is a stealer with a cover-story package identity.

When using the provided command, the code exfiltrates multiple data (browser credentials, cryptowallets, etc.), clipboard content, screenshots and webcam frames.

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-10-leakdeep

Reasons (based on the campaign):

 - infostealer

 - exfiltration-browser-data

 - exfiltration-crypto

 - spyware-like

 - exfiltration-credentials

 - action-hidden-in-lib-usage

 - clipboard-stealing

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

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

## Sources

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

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