Malicious code in tpcontrolstr (PyPI)

tpcontrolstr Updated 02 Oct 2025

Summary

25/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-6956: Malicious code in tpcontrolstr (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 tpcontrolstr package is an open-source Python package available on PyPI. It is used for controlling and managing TP control systems. The package provides various functionalities for interacting with TP control devices. However, the package has been found to contain malicious code, which poses a security risk to users who install and use it.

Vulnerability Detail

The tpcontrolstr package has been identified as part of a larger group of nearly 6000 malicious PyPi and NPM packages published by the EsqueleSquad group. These packages execute spyware and information-stealing malware. The specific vulnerability in tpcontrolstr allows the execution of malicious code, potentially leading to unauthorized access, data theft, and other malicious activities. The malicious code can be found in the package's source code and can be triggered when the package is installed or used.

How To Fix

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

pip uninstall tpcontrolstr

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

There is no known workaround for this vulnerability. It is essential to remove the tpcontrolstr package and replace it with a trusted alternative.

Conclusion

The tpcontrolstr package on PyPI has been found to contain malicious code, posing a significant security risk to users. It is recommended to remove the package from your project and replace it with a trusted alternative. Regularly updating and reviewing the packages used in your project is essential to ensure they are free from known vulnerabilities. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for tpcontrolstr →

Share this vulnerability

FAQ

tpcontrolstr is a Python package used for controlling and managing TP control systems.

The tpcontrolstr package contains malicious code that can be executed when the package is installed or used. This code can lead to unauthorized access, data theft, and other malicious activities.

This vulnerability was discovered by the Checkmarx team.

Yes, there are nearly 6000 malicious PyPi and NPM packages published by the EsqueleSquad group that execute spyware and information-stealing malware.

To protect your software, it is crucial to regularly update and review the packages used in your project, ensuring they are from trusted sources and free from any known vulnerabilities. Tools like Vulert can help monitor and alert for open-source vulnerabilities in your software.

How To Fix

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

pip uninstall tpcontrolstr

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