Malicious code in tpvercpu (PyPI)
Summary
MAL-2023-7693: Malicious code in tpvercpu (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
tpvercpu is a package available on PyPI that provides functionality related to CPU version detection. It is commonly used in Python projects to determine the CPU version of the system. However, this package has been found to contain malicious code.
Vulnerability Detail
The tpvercpu 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 tpvercpu allows the execution of malicious code, which can lead 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 tpvercpu
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 for this vulnerability. The best course of action is to follow the steps mentioned in the 'how_to_fix' section.
Conclusion
The tpvercpu package available on PyPI has been found to contain malicious code. It is crucial to remove this package from your project and replace it with a trusted alternative. Regularly reviewing and updating the packages used in your project is essential to maintain security. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for tpvercpu →
FAQ
You can use Vulert's 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 this one.
While specific exploits targeting this vulnerability have not been disclosed, it is important to address the issue promptly to prevent any potential unauthorized access or data theft.
No, the tpvercpu package itself has not been fixed. It is recommended to remove this package from your project and find a trusted alternative.
Yes, you can continue using other packages from PyPI. However, it is crucial to regularly review the packages you use and ensure they come from trusted sources to mitigate potential security risks.
If you come across any suspicious packages or vulnerabilities, you can report them to the package maintainers or security organizations like Vulert (https://vulert.com) to help protect the community from potential threats.