Malicious code in tpproofpinglib (PyPI)
Summary
MAL-2023-7408: Malicious code in tpproofpinglib (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
tpproofpinglib is a package available on PyPI that provides functionality for proof of ping. It is commonly used in Python projects to verify network connectivity and measure latency. The package allows developers to perform ping operations and retrieve ping statistics. However, the package has been found to contain malicious code, which poses a security risk to applications that utilize it.
Vulnerability Detail
The tpproofpinglib 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 tpproofpinglib allows the execution of arbitrary code, potentially leading to unauthorized access, data theft, or other malicious activities. The malicious code can be triggered when using the affected package, putting applications and their users at risk.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpproofpinglib
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 affected package and replace it with a secure alternative.
Conclusion
The tpproofpinglib package on PyPI has been found to contain malicious code, posing a significant security risk to applications that use it. It is crucial to remove the affected package and replace it with a trusted alternative. Regularly monitoring and updating the packages used in your project is essential to mitigate the risk of known vulnerabilities. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for tpproofpinglib →
FAQ
This vulnerability allows an attacker to execute arbitrary code on your application, potentially leading to unauthorized access, data theft, or other malicious activities.
You can use the Vulert playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock, and Vulert will analyze it for open-source vulnerabilities.
While there may not be specific instances of this vulnerability being exploited in the wild, the presence of malicious code in the tpproofpinglib package poses a significant risk to applications that use it.
While PyPI is a widely used package repository, it is essential to exercise caution and review the packages you include in your project. Regularly update and review the packages to ensure they are from trusted sources and free from known vulnerabilities.
If you discover a vulnerability in an open-source package, it is recommended to report it to the package maintainer or the relevant security team. They can then take appropriate actions to address the vulnerability and release a patched version.