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…

MAL-2026-10618: Malicious code in cosmos-gradio (PyPI)

0
Medium
Published: 07/14/2026 (07/14/2026, 20:06:55 UTC)
Source: GCVE Database
Product: cosmos-gradio

Description

The cosmos-gradio package on PyPI, versions 9999.0.0 and 9999.0.1, is a malicious dependency-confusion squat designed to exfiltrate system information. During installation and import, it collects the installer's hostname, OS username, and current working directory, sending this data to a hardcoded external domain via DNS and HTTP channels. The package uses an inflated version number to win version resolution over legitimate internal packages and forces execution of malicious setup.py code by being sdist-only. It has no legitimate functionality beyond data exfiltration.

Affected software

PyPIghsa
cosmos-gradio
Affected versions
=9999.0.0=9999.0.1

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: 07/15/2026, 12:56:27 UTC

Technical Analysis

cosmos-gradio versions 9999.0.0 and 9999.0.1 are malicious PyPI packages that perform dependency confusion attacks by publishing an artificially high version number to override legitimate internal packages. The package's setup.py script executes during installation, and the __init__.py runs on import, both sending the installer's hostname, OS username, and current working directory to the domain oob.asyncrun.in. Data exfiltration occurs via out-of-band DNS queries with base32-encoded data in subdomains and HTTP GET requests with query parameters, attempting HTTPS first and falling back to HTTP. The package is sdist-only to ensure setup.py execution and has no other purpose than information theft.

Potential Impact

Installation or import of the affected cosmos-gradio package versions leads to unauthorized exfiltration of basic system information (hostname, OS username, current directory) to an attacker-controlled domain. This can lead to privacy breaches and potential reconnaissance for further attacks. There is no indication of code execution beyond the setup.py install-time script or additional payloads. No known exploits in the wild have been reported.

Mitigation Recommendations

Avoid installing the cosmos-gradio package versions 9999.0.0 and 9999.0.1 from PyPI. Use internal package indexes and strict dependency resolution policies to prevent dependency confusion attacks. Since no official patch or fix exists, do not use these malicious versions. Remove any installations of these versions and monitor for unauthorized network traffic to the domain oob.asyncrun.in. Consider using package allowlists and verifying package provenance before installation.

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

Threat ID: 6a577ef368715ace43b415e8

Added to database: 07/15/2026, 12:37:07 UTC

Last enriched: 07/15/2026, 12:56:27 UTC

Last updated: 07/16/2026, 03:36:27 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