MAL-2026-10618: Malicious code in cosmos-gradio (PyPI)
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.
AI Analysis
Technical Summary
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.
MAL-2026-10618: Malicious code in cosmos-gradio (PyPI)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.