Skip to main content

Malicious code in ekx-report-utils (PyPI)

0
High
Published: 08/27/2026 (08/27/2026, 12:59:21 UTC)
Source: GCVE Database
Product: ekx-report-utils

Description

The ekx-report-utils package on PyPI contains malicious code that executes automatically upon import. It reads a session credential from a local file and uses it to make an authenticated request to a sandbox service. The response data, including private thread contents authorized by the token, is covertly exfiltrated via DNS queries using TLS SNI fields to evade network inspection. This behavior is inconsistent with the package's stated purpose and occurs without user interaction.

Affected software

PyPIghsa
ekx-report-utils
Affected versions
=0.1.0=0.2.0=0.3.0=0.4.0

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: 09/10/2026, 07:56:25 UTC

Technical Analysis

The ekx-report-utils PyPI package versions 0.1.0, 0.2.0, 0.3.0, and 0.4.0 contain malicious code that runs a setup routine on import. This routine reads a session credential from /tmp/.sandbox_token and performs an authenticated GET request to a sandbox router URL. The response, containing sensitive private thread data, is base64url-encoded, chunked, and exfiltrated via DNS queries by embedding data in TLS SNI values using openssl s_client calls with output suppressed. This covert channel is designed to bypass HTTP egress controls and DNS content inspection, enabling stealthy data exfiltration of installer-owned credentials and private information without user action.

Potential Impact

Sensitive session credentials and private thread contents authorized by those credentials are exfiltrated from the host system without user consent. The exfiltration uses a covert DNS-based channel that evades common network monitoring and egress filtering controls, potentially leading to unauthorized disclosure of confidential information and compromise of sandbox or agent sessions.

Defensive Guidance

No official patch or remediation is currently documented. Users should avoid importing or installing the affected ekx-report-utils package versions (=0.1.0, =0.2.0, =0.3.0, =0.4.0). Monitor for and remove these package versions from environments. Employ network detection mechanisms capable of identifying anomalous DNS queries and TLS SNI usage. Check vendor advisories or PyPI for updates or removal of the malicious package.

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-14555
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a9053ddacd9273b496966ae

Added to database: 08/27/2026, 15:12:29 UTC

Last enriched: 09/10/2026, 07:56:25 UTC

Last updated: 10/02/2026, 08:17:07 UTC

Views: 46

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