Malicious code in tpintping (PyPI)
Summary
MAL-2023-7176: Malicious code in tpintping (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
tpintping is a package available on PyPI that provides functionality for ping testing. It is commonly used in Python projects to check the availability and response time of network hosts. However, this package has been found to contain malicious code.
Vulnerability Detail
The tpintping 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 tpintping allows the execution of unauthorized code on the user's system, potentially leading to data theft or other malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpintping
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 take immediate action by removing the tpintping package and replacing it with a secure alternative.
Conclusion
The tpintping package on PyPI has been compromised by the EsqueleSquad group, leading to the execution of malicious code. It is crucial to remove this package from your project and replace it with a trusted alternative to ensure the security of your application. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for tpintping →
FAQ
You can use the Vulert 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.
The malicious code in tpintping can execute spyware and information-stealing malware on the user's system. This can result in unauthorized access to sensitive data, compromise of user credentials, and potential harm to the affected system.
There are no known fixes or patches available for the compromised tpintping package. The best course of action is to remove the package from your project and replace it with a trusted alternative.
To ensure the security of your Python projects, it is crucial to regularly update and review the packages used in your project. Use trusted sources, such as PyPI, and consider using security tools like Vulert to monitor and alert you in real-time for any open-source vulnerabilities.
For more information about this vulnerability and its impact, you can contact supplychainsecurity@checkmarx.com or visit https://bit.ly/checkmarx-malicious-packages.