Malicious Code Detected in python-files-mod Package - Data Exfiltration Risk

python-files-mod Updated 11 Feb 2026

Summary

11/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-851: Malicious code in python-files-mod (PyPI). Affects python-files-mod versions 1.0.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 python-files-mod package, available on PyPI, is designed for file system manipulation. It is intended to provide developers with tools to manage files and directories efficiently. However, this package has been compromised, containing obfuscated code that communicates with a Telegram channel, indicating a potential data exfiltration threat.

Vulnerability Detail

The vulnerability originates from a malicious actor, identified as kam193, who disguised the package as a legitimate file system manipulation library. The obfuscated code within the package is designed to communicate with a Telegram channel, suggesting that it may be used for data exfiltration. The presence of obfuscation techniques raises significant concerns about the package's integrity and the potential for unauthorized data access or theft.

How To Fix

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

pip uninstall python-files-mod

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 measure, avoid using the python-files-mod package until a secure version is released. Consider using alternative libraries for file system manipulation that are known to be safe and well-maintained.

Conclusion

The python-files-mod package has been identified as containing malicious code that poses a risk of data exfiltration. Users are advised to remove the package and monitor for updates or patches. Utilizing tools like Vulert can help in identifying vulnerabilities in your software without the need for complex setups.

See every vulnerability recorded for python-files-mod →

Share this vulnerability

FAQ

The python-files-mod package is a library for file system manipulation, allowing developers to manage files and directories.

The vulnerability is classified as malicious, involving obfuscated code that communicates with a Telegram channel for potential data exfiltration.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If you have installed python-files-mod, it is recommended to uninstall the package immediately and refrain from using it until a secure version is released.

Yes, consider using other well-known and trusted libraries for file system manipulation, such as os or shutil, which are part of the Python standard library.

How To Fix

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

pip uninstall python-files-mod

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