Malicious code in tpstrlibsplit (PyPI)

tpstrlibsplit Updated 02 Oct 2025

Summary

25/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7621: Malicious code in tpstrlibsplit (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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

tpstrlibsplit is a package available on PyPI that provides string manipulation functions. It is commonly used in Python projects for tasks such as splitting strings. However, this package has been found to contain malicious code that can execute spyware and steal information.

Vulnerability Detail

The malicious code in tpstrlibsplit was introduced in version 0 and has been identified by Checkmarx. The code can be triggered when using certain functions from the package, allowing the attacker to execute spyware and steal sensitive information. This poses a significant security risk to any project that includes tpstrlibsplit as a dependency.

How To Fix

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

pip uninstall tpstrlibsplit

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 tpstrlibsplit and update all dependencies to mitigate the risk.

Conclusion

The presence of malicious code in tpstrlibsplit poses a significant security risk to any project that includes it as a dependency. It is crucial to remove tpstrlibsplit and update all dependencies to mitigate the risk of spyware execution and information theft. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for tpstrlibsplit →

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, and Vulert will analyze it for any open-source vulnerabilities, including this one.

No, it is not recommended to use tpstrlibsplit at all. The malicious code has been identified in the package, and it is best to remove it entirely from your project.

Yes, there are several alternative packages available on PyPI that provide similar string manipulation functionality. Some popular options include strsplit, stringutils, and strmanip. Make sure to review the package's security and community support before integrating it into your project.

The malicious code in tpstrlibsplit can execute spyware and steal sensitive information from your project. This can lead to data breaches, compromised user accounts, and unauthorized access to confidential information. It is crucial to take immediate action to mitigate the risk.

Regularly monitoring for security updates and using tools like Vulert can help you stay informed about vulnerabilities in your project's dependencies. Vulert provides real-time monitoring and alerts for open-source vulnerabilities, allowing you to take prompt action to secure your project.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

pip uninstall tpstrlibsplit

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