Malicious code in leakdeep (PyPI)
Description
The leakdeep package on PyPI masquerades as an OSINT and credential-leak intelligence tool but contains malicious code that acts as an infostealer on Windows systems. When executed, it starts a background process that steals browser credentials, cookies, autofill data, Discord authentication tokens, clipboard contents, screenshots, and webcam frames. The stolen data is exfiltrated to a hardcoded Discord webhook URL, which is obfuscated and reconstructed at runtime. The advertised search functionality is non-functional, serving as a cover for the malicious activities.
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 leakdeep package, distributed via PyPI, falsely advertises itself as an OSINT and credential-leak intelligence framework with a search CLI. However, its CLI triggers a background thread on Windows that collects sensitive user data including decrypted browser credentials (Chrome, Edge, Brave), cookies, autofill data via DPAPI-unwrapped AES-GCM keys, Discord authentication and MFA tokens, clipboard contents, screenshots, and webcam captures. This data is compressed and exfiltrated to a hardcoded Discord webhook URL, which is stored obfuscated and reconstructed at runtime. The package's advertised search feature is a stub returning empty results, indicating the primary purpose is data theft under the guise of a legitimate tool.
Potential Impact
Users who install and run the leakdeep package on Windows systems risk having sensitive personal and authentication data stolen. This includes browser-stored passwords, cookies, autofill information, Discord tokens (potentially allowing account takeover), clipboard data, screenshots, and webcam images. The exfiltrated data could lead to account compromise, privacy violations, and further targeted attacks. The package acts as spyware and an infostealer, posing a significant privacy and security risk to affected users.
Defensive Guidance
No official patch or remediation is indicated. Users should immediately uninstall the leakdeep package and avoid running its CLI. Since the package is malicious by design, the best mitigation is to avoid installing it from PyPI or remove it if already installed. Security teams should monitor for its presence in environments and block its execution. There is no indication that the vendor provides any fix or that this is a vulnerability to be patched; it is a malicious package and should be treated as malware.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17921
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6ad507b62cdf04f6568c3484
Added to database: 10/18/2026, 17:53:58 UTC
Last enriched: 10/18/2026, 18:03:15 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 12
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.
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.