Malicious code in tpminecpurand (PyPI)
Summary
MAL-2023-7272: Malicious code in tpminecpurand (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
The tpminecpurand package is an open-source Python package available on PyPI. It is designed to provide functionality related to CPU randomization in mining operations. The package is commonly used in cryptocurrency mining applications. However, it has been found to contain malicious code.
Vulnerability Detail
The tpminecpurand package has been identified as part of a larger group of nearly 6000 malicious PyPI and NPM packages published by the EsqueleSquad group. These packages execute spyware and information-stealing malware. The specific vulnerability in tpminecpurand allows unauthorized access to sensitive user information and can potentially compromise the security of mining operations.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpminecpurand
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 tpminecpurand package and following the recommended steps to fix the issue.
Conclusion
The tpminecpurand package has been identified as part of a larger group of malicious PyPI and NPM packages. It is crucial to take immediate action by removing the tpminecpurand package and following the recommended steps to fix the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for tpminecpurand →
FAQ
The tpminecpurand package was compromised by the EsqueleSquad group, who injected malicious code into the package during its publication on PyPI. Users who installed or updated the package from the affected source are at risk.
This vulnerability can lead to unauthorized access to sensitive user information, including credentials and personal data. It can also compromise the security of mining operations, allowing attackers to manipulate mining processes or steal valuable resources.
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 open-source vulnerabilities in real-time.
No, there is no fix available for the tpminecpurand package itself. The recommended solution is to remove the package from your project and replace it with a trusted alternative.
To prevent similar vulnerabilities, it is crucial to regularly update and review the packages used in your project. Only use packages from reputable sources and consider implementing security measures such as code reviews and vulnerability scanning.