Malicious Code Vulnerability in torchflow-experimental Package

torchflow-experimental Updated 03 Dec 2025

Summary

15/09/2025
CRITICAL
No i
Critical
Not published

MAL-2025-191907: Malicious code in torchflow-experimental (PyPI). Affects torchflow-experimental versions 0.3.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The torchflow-experimental package is a Python library available on PyPI, designed for experimental features related to the PyTorch framework. It aims to provide users with tools for deep learning and machine learning experiments. However, this package has been identified to contain malicious code that compromises user data and system integrity.

Vulnerability Detail

The vulnerability originates from the package's design, which includes code that exfiltrates sensitive information such as the host's IP address and username upon installation or import. This malicious behavior is executed through an overridden install command in the setup.py file, allowing it to run arbitrary code during the installation process. The risk is categorized as low, but it still poses a threat to user privacy and security.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall torchflow-experimental

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid installing the torchflow-experimental package until a secure version is released. If you need similar functionality, consider using alternative packages that are well-reviewed and have no known vulnerabilities.

Conclusion

The torchflow-experimental package has been identified as containing malicious code that compromises user data. Users are strongly advised to uninstall the package and monitor for updates or alternatives that ensure security. Utilizing tools like Vulert can help in identifying such vulnerabilities in the future.

See every vulnerability recorded for torchflow-experimental →

Share this vulnerability

FAQ

The malicious code exfiltrates basic information about the host, including the IP address and username, without the user's consent.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Uninstall the torchflow-experimental package immediately using 'pip uninstall torchflow-experimental' and look for alternative packages.

Yes, using this package can lead to unauthorized access to your personal information and compromise your system's security.

Currently, there is no patched version available. Users are advised to uninstall the package and seek alternatives.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall torchflow-experimental

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback