Malicious code in tpmasklibsplit (PyPI)

tpmasklibsplit Updated 02 Oct 2025

Summary

27/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7242: Malicious code in tpmasklibsplit (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

tpmasklibsplit is a package available on PyPI that provides functionality related to TPM (Trusted Platform Module) masking. It is used to split TPM keys into multiple parts for secure storage and retrieval. The package is commonly used in applications that require TPM functionality for secure key management.

Vulnerability Detail

A malicious code injection vulnerability has been discovered in tpmasklibsplit. The vulnerability originates from a malicious package published on PyPI by the EsqueleSquad group. The package contains spyware and information-stealing malware. When the malicious package is installed, it can compromise the security of the system and potentially lead to unauthorized access, data theft, and other malicious activities.

How To Fix

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

pip uninstall tpmasklibsplit

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 specific workaround mentioned for this vulnerability. However, users can take preventive measures by carefully reviewing the packages they install, verifying the source and integrity of the packages, and using security tools like Vulert to monitor and alert for open-source vulnerabilities.

Conclusion

The tpmasklibsplit package on PyPI has been found to contain a malicious code injection vulnerability. This vulnerability can compromise the security of the system and lead to unauthorized access and data theft. It is important to remove the malicious package, verify the integrity of packages, and regularly update and patch the software to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for tpmasklibsplit →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock file, and Vulert will analyze it for any open-source vulnerabilities, including this specific tpmasklibsplit vulnerability.

The potential risks of this vulnerability include unauthorized access to sensitive data, information theft, compromise of system security, and potential exploitation of other vulnerabilities in the system.

Yes, the fix for this vulnerability involves removing the malicious package from the system and ensuring that only trusted packages are installed from reputable sources. Regularly updating and patching the software and its dependencies can also help mitigate the risk.

To prevent such vulnerabilities in the future, it is important to review and verify the packages before installation, use reputable sources for package installation, and regularly update and patch the software and its dependencies. Additionally, using security tools like Vulert can help monitor and alert for open-source vulnerabilities.

Yes, this vulnerability can be exploited remotely if the malicious package is installed on a system accessible over the network. It is important to remove the package and take necessary preventive measures to mitigate the risk.

How To Fix

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

pip uninstall tpmasklibsplit

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