---
id: MAL-2026-10618
title: Malicious code in cosmos-gradio (PyPI)
summary: Malicious code in cosmos-gradio (PyPI)
severity: none
vendor: cosmos-gradio
product: cosmos-gradio
ecosystem: pip
affected:
  - cosmos-gradio
published: '2026-07-14'
updated: '2026-07-14'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-10618'
references:
  - url: 'https://bad-packages.kam193.eu/pypi/package/cosmos-gradio'
tags:
  - osv
  - pip
ingestedAt: '2026-07-15T03:19:01.511Z'
---

## Overview


---
_-= Per source details. Do not edit below this line.=-_

## Source: kam193 (4d4ef10feeb0a6a16e38e35a866181dda9f270340238049becb9532b4dce2841)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: GENERIC-standard-pypi-install-pentest


Reasons (based on the campaign):


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.


 - The package overrides the install command in setup.py to execute malicious code during installation.


## Affected packages

- `cosmos-gradio`

## Remediation

Refer to the advisory for the patched release.
