Malicious Code Execution Vulnerability in code-transfering-3 Package
Summary
MAL-2026-445: Malicious code in code-transfering-3 (PyPI). Affects code-transfering-3 versions 0.1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The code-transfering-3 package is a Python library available on PyPI, designed for transferring code between different environments. It is often used in testing and pentesting scenarios. However, this package has been flagged for containing malicious code that executes during installation, posing a significant security risk to users.
Vulnerability Detail
The vulnerability originates from the package overriding the install command in its setup.py file to execute malicious code upon installation. This behavior can lead to unauthorized actions on the user's system, potentially compromising sensitive data or allowing further exploitation. The package is categorized under PROBABLY_PENTEST, indicating its association with pentesting activities, but it also raises concerns due to its low-harm possibilities that can escalate into serious threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall code-transfering-3
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 workaround, users can manually inspect the setup.py file of the package before installation to ensure no malicious code is present. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The code-transfering-3 package has been identified as containing a vulnerability that executes malicious code during installation. Users are advised to avoid this package and monitor their systems for any potential threats. Utilizing tools like Vulert can help in identifying and managing vulnerabilities effectively.
See every vulnerability recorded for code-transfering-3 →
FAQ
The vulnerability involves the package executing malicious code during installation due to an overridden install command in setup.py.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Uninstall the package immediately using pip uninstall code-transfering-3 and check for any unauthorized changes to your system.
Yes, consider using other libraries that offer similar functionality without the security risks associated with code-transfering-3.
Regularly check for updates to your packages and use tools like Vulert to receive alerts about vulnerabilities in your open-source dependencies.