Malicious code in randomgame (PyPI)
Summary
MAL-2023-5883: Malicious code in randomgame (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 randomgame package is an open-source Python package available on PyPI. It is designed to provide functionality for generating random numbers and games. The package is widely used by developers for various applications and projects.
Vulnerability Detail
A vulnerability has been identified in the randomgame package. The package was found to contain malicious code introduced by the EsqueleSquad group. This code executes spyware and information-stealing malware. The malicious code poses a significant risk to users who install and use the randomgame package, as it can compromise sensitive information and lead to unauthorized access.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall randomgame
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 available for this vulnerability. The best course of action is to follow the recommended steps for fixing the vulnerability.
Conclusion
The randomgame package on PyPI has been found to contain malicious code introduced by the EsqueleSquad group. This code executes spyware and information-stealing malware, posing a significant risk to users. It is crucial to remove the affected package and regularly review and update the packages used in your projects to mitigate the risk of similar vulnerabilities. For further support and assistance, contact DevNack.com.
See every vulnerability recorded for randomgame →
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 randomgame.
The malicious code in randomgame can execute spyware and information-stealing malware, leading to the compromise of sensitive information and unauthorized access to systems. This can result in data breaches, privacy violations, and financial losses.
The recommended fix is to remove the randomgame package from your project and avoid using any affected versions. Regularly updating and reviewing the packages used in your project is also crucial to mitigate the risk of similar vulnerabilities.
This vulnerability was discovered by Checkmarx, a security company specializing in software vulnerability detection and prevention. They identified the malicious code in randomgame as part of their ongoing research and analysis.
For further support and assistance in remediating this vulnerability, you can contact info@devnack.com. They provide expert guidance and solutions for addressing software vulnerabilities.