Skip to main content

Malicious code in deepface-weight (PyPI)

0
Critical
Published: 08/18/2026 (08/18/2026, 22:54:18 UTC)
Source: GCVE Database
Product: deepface-weight

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6808b9ae619e6cf9fdb59b52305e25b8e2fdb87167fbd78fae0ca6c1c07a5f1a) On import, deepface-weight spawns a daemon background thread that polls the installer's working directory for `data/telethon_market_userbot.session` for approximately 10 minutes and POSTs the file to a hardcoded webhook.site endpoint (https://webhook.site/d6ea9c5b-4a85-4e59-9397-2bb5f9407c87). Telethon session files contain live authentication material granting full access to the associated Telegram account. The exfiltration destination is bound to a variable literally named `evil_server_url` with a Russian-language comment identifying it as the attacker's server. The package name mimics the popular `deepface` ML library but ships no machine-learning code; author metadata is a placeholder (`asdqwdasdqwdasd`) with a disposable email at playboot.com. ## Source: kam193 (92f87cc2da145e4ab765c912a3a9cfb36ed6e8d21231fd511aa032edcd4b3e2b) During import, package exfiltrates the sensitive file with the Telegram session token. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-08-deepface-weights Reasons (based on the campaign): - files-exfiltration - target:telegram

Affected software

PyPIghsa
deepface-weight
Affected versions
=0.1.4

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

AILast updated: 08/19/2026, 00:50:49 UTC

Technical Analysis

The deepface-weight PyPI package (version 0.1.4) is a malicious package designed to steal Telegram session files named data/telethon_market_userbot.session from the installer's working directory. Upon import, it spawns a daemon thread that polls for this file for about 10 minutes and then exfiltrates it via an HTTP POST request to a hardcoded webhook.site URL. The exfiltration URL is stored in a variable named 'evil_server_url' with a Russian-language comment indicating attacker control. The package name mimics the popular deepface ML library but contains no legitimate ML code. Author metadata is fake, using a placeholder name and a disposable email address.

Potential Impact

Successful import and execution of this package on a system where the targeted Telegram session file exists results in theft of live Telegram authentication credentials. This compromises the victim's Telegram account, potentially allowing full unauthorized access and control. The malicious behavior is covert and triggered automatically on import, increasing risk of unnoticed credential theft.

Mitigation Recommendations

Avoid installing or importing the deepface-weight package version 0.1.4. Remove any existing installations of this package. Verify that no unauthorized Telegram session files are present in the working directories of Python environments. Use only trusted sources and verify package authenticity before installation. Since no official patch or fix exists, the best mitigation is to avoid this package entirely and remove it if found.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14158
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a84fa65c6e8be0332ef1309

Added to database: 08/19/2026, 00:35:49 UTC

Last enriched: 08/19/2026, 00:50:49 UTC

Last updated: 10/02/2026, 13:49:46 UTC

Views: 93

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses