Malicious code in tpvirtualurl (PyPI)
Summary
MAL-2023-7717: Malicious code in tpvirtualurl (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
tpvirtualurl is a package available on PyPI that provides functionality related to virtual URLs. It is commonly used in Python projects to handle virtual URLs and perform associated operations. However, this package has been found to contain malicious code, as part of a larger campaign by the EsqueleSquad group. This code executes spyware and information-stealing malware, posing a significant security risk to any project that includes tpvirtualurl as a dependency.
Vulnerability Detail
The vulnerability in tpvirtualurl arises from the inclusion of malicious code in the package. The EsqueleSquad group published nearly 6000 malicious PyPi and NPM packages, and tpvirtualurl is one of the affected packages. The malicious code can execute spyware and information-stealing malware, potentially compromising sensitive data and compromising the security of the affected system. The code was introduced in version 0 of tpvirtualurl and has been present in subsequent versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpvirtualurl
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 specific workaround provided for this vulnerability. The best course of action is to follow the steps mentioned in the 'how_to_fix' section and remove tpvirtualurl from your project.
Conclusion
The presence of malicious code in tpvirtualurl poses a significant security risk to any project that includes it as a dependency. It is crucial to promptly remove tpvirtualurl and replace it with a trusted alternative. Regularly monitoring and updating your project's dependencies, along with using tools like Vulert, can help mitigate the risk of including malicious code in your project. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for tpvirtualurl →
FAQ
The malicious code in tpvirtualurl can execute spyware and information-stealing malware, potentially compromising sensitive data and compromising the security of your project.
The recommended fix is to remove tpvirtualurl from your project's dependencies and replace it with a trusted alternative.
Regularly updating your project's dependencies and monitoring them for vulnerabilities using tools like Vulert can help prevent the inclusion of malicious code.
Yes, the EsqueleSquad group published nearly 6000 malicious PyPi and NPM packages. It is essential to regularly monitor and scan your project's dependencies for vulnerabilities.
For more information about this vulnerability, you can refer to the Checkmarx report and the malicious-packages repository on GitHub.