Malicious code in tppyinfocandy (PyPI)
Summary
MAL-2023-7462: Malicious code in tppyinfocandy (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
tppyinfocandy is a package available on PyPI that provides information about candy. It is commonly used in Python projects that involve candy-related data analysis or visualization. However, this package has been found to contain malicious code, which poses a significant security risk to applications that use it.
Vulnerability Detail
The tppyinfocandy 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 tppyinfocandy allows the execution of arbitrary code, potentially leading to unauthorized access, data theft, or system compromise.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tppyinfocandy
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 crucial to remove the tppyinfocandy package and replace it with a secure alternative.
Conclusion
The tppyinfocandy package on PyPI has been compromised by the EsqueleSquad group, leading to the execution of malicious code. This vulnerability poses a significant risk to applications that use this package, potentially resulting in unauthorized access, data theft, or system compromise. It is crucial to remove the tppyinfocandy package and replace it with a trusted alternative. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for tppyinfocandy →
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, and Vulert will analyze it for any open-source vulnerabilities, including this one.
There have been reports of the EsqueleSquad group actively exploiting this vulnerability by injecting malicious code into the tppyinfocandy package. It is crucial to take immediate action to mitigate the risk.
This vulnerability can lead to unauthorized access to sensitive data, theft of confidential information, and compromise of the affected system. It is essential to address this issue promptly to prevent any potential harm.
The recommended fix is to remove the tppyinfocandy package from your project and replace it with a trusted alternative. Regularly updating your development environment and dependencies is also crucial to mitigate the risk of similar vulnerabilities.
To ensure the security of your Python packages, it is recommended to use tools like Vulert, which continuously monitor and alert for open-source vulnerabilities. Regularly updating your packages, scanning for vulnerabilities, and using trusted sources for package installation are also essential practices.