Malicious code in tpcraftpeplib (PyPI)
Summary
MAL-2023-6979: Malicious code in tpcraftpeplib (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
tpcraftpeplib is a Python package available on PyPI. It is used for crafting and manipulating TCP packets. The package provides various functions and utilities to create, modify, and analyze TCP packets. However, the package has been found to contain malicious code that can execute spyware and steal information.
Vulnerability Detail
The tpcraftpeplib package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages include spyware and information-stealing malware. The specific vulnerability in tpcraftpeplib allows the execution of the malicious code, potentially leading to unauthorized access, data theft, and other malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpcraftpeplib
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 tpcraftpeplib package on PyPI has been compromised by the EsqueleSquad group, leading to the inclusion of malicious code. This vulnerability can result in unauthorized access and data theft. It is crucial to remove the affected package and replace it with a trusted alternative. Regularly reviewing and updating the packages used in your project is essential to ensure the security of your application. For further support on vulnerability remediation, you can contact Vulert at DevNack.com.
See every vulnerability recorded for tpcraftpeplib →
FAQ
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.
The malicious code in tpcraftpeplib can lead to unauthorized access, data theft, and other malicious activities. It is crucial to address this vulnerability promptly to protect sensitive information and ensure the security of your application.
There is no fix available for tpcraftpeplib itself, as it has been compromised by the EsqueleSquad group. The recommended solution is to remove the package from your project and replace it with a trusted alternative.
Yes, you can continue using other packages from PyPI. However, it is crucial to regularly review and update the packages used in your project to ensure they are free from known vulnerabilities. Consider using a vulnerability monitoring tool like Vulert to stay informed about any potential risks.
If you have identified this vulnerability in tpcraftpeplib or any other package, you can report it to the package maintainer or the PyPI security team. Additionally, you can reach out to Vulert (info@devnack.com) for further support on vulnerability remediation.