---
id: MAL-2026-10993
title: Malicious code in torch-musa (PyPI)
summary: Malicious code in torch-musa (PyPI)
severity: none
vendor: torch-musa
product: torch-musa
ecosystem: pip
affected:
  - torch-musa
published: '2026-07-22'
updated: '2026-07-23'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-10993'
references:
  - url: 'https://bad-packages.kam193.eu/pypi/package/torch-musa'
tags:
  - osv
  - pip
ingestedAt: '2026-07-23T19:05:52.783Z'
---

## Overview


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

## Source: kam193 (dc7f99306afb7d31dab4c2ca32f2feb984bcdc505cf1dc6c3ee736cd21f9bcc9)
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

- `torch-musa`

## Remediation

Refer to the advisory for the patched release.
