Malicious code in tpstrlibsplit (PyPI)
Summary
MAL-2023-7621: Malicious code in tpstrlibsplit (PyPI). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.