Malicious code in tpurlstudy (PyPI)
Summary
MAL-2023-7690: Malicious code in tpurlstudy (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
tpurlstudy is a package available on PyPI that provides functionality related to URL study. It is commonly used in Python projects for analyzing and manipulating URLs. However, this package has been found to contain malicious code, making it a security risk for any project that depends on it.
Vulnerability Detail
The tpurlstudy 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 tpurlstudy allows the execution of malicious code, potentially leading to unauthorized access, data theft, and other harmful activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpurlstudy
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 tpurlstudy package and following the recommended steps to fix the issue.
Conclusion
The tpurlstudy package on PyPI has been compromised by the EsqueleSquad group, leading to the inclusion of malicious code. This vulnerability poses a significant risk to projects that depend on tpurlstudy, potentially resulting in unauthorized access and data theft. It is crucial to remove the package and take appropriate measures to secure your project. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for tpurlstudy →
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 file, and Vulert will analyze it for any open-source vulnerabilities, including the malicious code in tpurlstudy.
The malicious code in tpurlstudy can lead to unauthorized access to sensitive data, data theft, and the execution of additional malware on the affected system. It is crucial to address this vulnerability promptly to mitigate these risks.
No, there is no fix available for tpurlstudy itself. 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 project, it is recommended to regularly update your dependencies, use reputable package sources, and employ automated vulnerability scanning tools like Vulert to detect and address any potential vulnerabilities.
This vulnerability was discovered by Checkmarx, a security company specializing in supply chain security. They have provided detailed information about the malicious code in tpurlstudy and its potential impact.