Malicious code in tpcontrollib (PyPI)

tpcontrollib Updated 02 Oct 2025

Summary

25/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-6947: Malicious code in tpcontrollib (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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

tpcontrollib is a Python package available on PyPI. It is used for controlling and managing TP devices. The package provides various functionalities for interacting with TP devices, such as sending commands, retrieving data, and managing connections. Unfortunately, the package has been found to contain malicious code, which can lead to the execution of spyware and information-stealing malware.

Vulnerability Detail

The tpcontrollib package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages include spyware and information-stealing malware. The specific vulnerability in tpcontrollib allows the execution of this malicious code, putting users' systems and sensitive information at risk. The malicious code can be triggered when using the affected package, potentially leading to unauthorized access, data theft, and other harmful activities.

How To Fix

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

pip uninstall tpcontrollib

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 this vulnerability involves a compromised package, there is no direct workaround available. The best course of action is to follow the steps mentioned in the 'how_to_fix' section and remove the tpcontrollib package from your project.

Conclusion

The tpcontrollib package has been compromised by the EsqueleSquad group, leading to the inclusion of malicious code. This vulnerability poses a significant risk to systems using tpcontrollib, potentially resulting in unauthorized access and data theft. It is crucial to take immediate action by removing the affected package and following the recommended steps to secure your system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for tpcontrollib →

Share this vulnerability

FAQ

tpcontrollib is a Python package used for controlling and managing TP devices. It provides functionalities for sending commands, retrieving data, and managing connections with TP devices.

If you are using tpcontrollib in your project, your system may be at risk of executing malicious code. This can lead to unauthorized access, data theft, and other harmful activities.

This vulnerability was discovered by Checkmarx, a security research group. They identified the presence of malicious code in the tpcontrollib package.

While specific exploits targeting this vulnerability have not been disclosed, the presence of malicious code in the tpcontrollib package increases the risk of unauthorized access and data theft.

To ensure the security of your system, it is recommended to remove the tpcontrollib package and any dependencies relying on it. Additionally, update your security software and perform a thorough system scan to detect and remove any malicious components.

How To Fix

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

pip uninstall tpcontrollib

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