Malicious code in tpsplitstr (PyPI)
Summary
MAL-2023-7595: Malicious code in tpsplitstr (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
The tpsplitstr package is an open-source Python package available on PyPI. It provides functionality for splitting strings based on a specified delimiter. The package is commonly used in Python projects for string manipulation and data processing tasks. However, the package has been found to contain malicious code, as identified by the Checkmarx security group. This malicious code poses a significant security risk to any project that includes the tpsplitstr package.
Vulnerability Detail
The tpsplitstr package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages execute spyware and information-stealing malware. The specific vulnerability in tpsplitstr allows the execution of arbitrary code, leading to potential data breaches, unauthorized access, and other malicious activities. The malicious code can be triggered when using the package's splitting functionality, allowing an attacker to exploit the vulnerability and compromise the host system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpsplitstr
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 tpsplitstr package and replace it with a secure alternative.
Conclusion
The tpsplitstr package on PyPI has been found to contain malicious code, posing a significant security risk to projects that include it. It is crucial to remove the package and replace it with a trusted alternative to mitigate the vulnerability. Regularly monitoring and updating packages in your project is essential to ensure they are free from known vulnerabilities. For further support and guidance on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for tpsplitstr →
FAQ
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability. The Vulert playground allows you to analyze your Pipfile.lock without requiring access to the code or installation.
No, updating the tpsplitstr package will not resolve the vulnerability. The malicious code is present in the package's source code and cannot be mitigated by updating to a newer version.
There have been reports of the EsqueleSquad group actively exploiting this vulnerability in various projects. It is crucial to take immediate action to remove the tpsplitstr package and mitigate the risk.
This vulnerability can lead to unauthorized access, data breaches, and the execution of malicious code on the host system. Attackers can exploit the vulnerability to steal sensitive information, compromise the integrity of the system, or gain control over the affected environment.
For further support on vulnerability remediation, you can contact info@devnack.com. They can provide guidance and assistance in addressing this vulnerability and securing your project.