Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

The deepface-weight package on PyPI contains malicious code that, upon import, starts a background thread to exfiltrate a Telegram session file from the installer's directory. This session file contains live authentication credentials that grant full access to the victim's Telegram account. The stolen file is sent to a hardcoded attacker-controlled webhook URL. The package masquerades as a legitimate machine learning library but contains no ML code and uses placeholder author metadata and a disposable email address.

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
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a84fa65c6e8be0332ef1309

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

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

Last updated: 08/19/2026, 01:04:17 UTC

Views: 5

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