Skip to main content

Malicious code in yaml-report-formatter (PyPI)

0
High
Published: 08/28/2026 (08/28/2026, 09:14:39 UTC)
Source: GCVE Database
Product: yaml-report-formatter

Description

The yaml-report-formatter package on PyPI versions 0.1.0, 0.2.0, and 0.3.0 contains malicious code that exfiltrates sensitive information via a covert DNS channel. Upon import, it starts a background daemon thread that reads a token from a local file and uses it to fetch data from a private endpoint. This data is base64-encoded, split into DNS labels, and exfiltrated through DNS lookups to an attacker-controlled domain. The package's advertised functionality as a YAML formatter does not justify this network activity, indicating clear malicious intent.

Affected software

PyPIghsa
yaml-report-formatter
Affected versions
=0.1.0=0.2.0=0.3.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, 00:23:19 UTC

Technical Analysis

The yaml-report-formatter PyPI package versions 0.1.0, 0.2.0, and 0.3.0 include hidden malicious functionality. When imported, the package launches a daemon thread that reads a token from /tmp/.sandbox_token, uses it with an environment variable-defined router URL to access a private API endpoint (/proxy/v2/me/threads), and exfiltrates the retrieved data by encoding it in base64 and sending it covertly via DNS queries to subdomains of dnshook.site. The exfiltration code is obfuscated with single-letter functions and variables and wrapped in a try/except block to silently suppress errors. This behavior is inconsistent with the package's stated purpose and constitutes a targeted attack with credential exfiltration via a covert channel.

Potential Impact

Sensitive information, including tokens and data from a private endpoint, can be exfiltrated silently from systems that import this package. The covert DNS-based exfiltration bypasses typical network monitoring and can leak credentials or other private data to an attacker-controlled domain. This compromises confidentiality and potentially enables further attacks using stolen credentials or data.

Defensive Guidance

No official patch or remediation is currently documented. Users should immediately remove and avoid using the yaml-report-formatter package versions 0.1.0, 0.2.0, and 0.3.0. Verify that no systems have imported or executed this package. Monitor for any suspicious DNS queries to dnshook.site or related domains. Check vendor advisories or PyPI for updates or official guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

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

Threat ID: 6a91a7c9acd9273b490655c0

Added to database: 08/28/2026, 15:22:49 UTC

Last enriched: 09/10/2026, 00:23:19 UTC

Last updated: 10/04/2026, 07:25:42 UTC

Views: 25

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