Malicious code in toolcv (PyPI)

toolcv Updated 02 Oct 2025

Summary

24/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-6873: Malicious code in toolcv (PyPI). Affected versions are not published. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The toolcv package is an open-source Python package available on PyPI. It is designed to provide various tools and functionalities for computer vision tasks. The package is commonly used by developers and researchers working on computer vision projects. However, the package has been found to contain malicious code, which poses a significant security risk to users who install and use it.

Vulnerability Detail

The toolcv package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages execute spyware and information-stealing malware. The specific vulnerability in the toolcv package allows the execution of malicious code, potentially leading to unauthorized access, data theft, and other malicious activities. The malicious code can be triggered when the package is installed or used in a vulnerable environment.

How To Fix

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

pip uninstall toolcv

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, you can consider using alternative packages or libraries that provide similar functionality to toolcv. It is essential to thoroughly vet and review any third-party packages before integrating them into your project to ensure they are free from malicious code. Additionally, implementing strict security measures, such as code reviews, vulnerability scanning, and secure coding practices, can help mitigate the risk of similar vulnerabilities.

Conclusion

The toolcv package has been compromised by malicious code, posing a significant security risk to users. It is crucial to take immediate action by removing the package, scanning for compromise, and implementing security measures to mitigate the impact. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for toolcv →

Share this vulnerability

FAQ

The malicious code in toolcv can lead to unauthorized access, data theft, and other malicious activities. It can compromise the security and integrity of your system, potentially exposing sensitive information and causing significant damage.

You can use vulnerability monitoring tools like Vulert to check if your system is affected by this vulnerability. Vulert analyzes your Pipfile.lock and alerts you in real-time for open-source vulnerabilities in your software.

If your system is affected, it is recommended to immediately remove the toolcv package and any dependencies that rely on it. Scan your system for signs of compromise and take appropriate actions to mitigate the impact. Update your security software and implement additional security measures to prevent similar vulnerabilities.

Yes, there are alternative packages available that provide similar functionality to toolcv. It is important to thoroughly vet and review any alternative packages before integrating them into your project to ensure they are secure and free from malicious code.

To prevent similar vulnerabilities, it is crucial to regularly update your software and dependencies, use vulnerability monitoring tools, implement secure coding practices, and conduct thorough security reviews of third-party packages before integration.

How To Fix

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

pip uninstall toolcv

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