Malicious code in studycc (PyPI)
Summary
MAL-2023-6829: Malicious code in studycc (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
Studycc is a Python package available on PyPI. It is used for studying and analyzing code complexity. The package provides various functions and tools to measure and evaluate the complexity of codebases. Unfortunately, a vulnerability has been discovered in studycc that allows the execution of malicious code.
Vulnerability Detail
The vulnerability in studycc is a result of a malicious package published on PyPI by the EsqueleSquad group. This package contains spyware and information-stealing malware. The malicious code can be executed when studycc is installed or updated, potentially compromising the security and privacy of the system. The malicious package can be identified by its SHA256 hash: 4a2e6cd56e26016bb0caa9720929573bcd06f89f28d256a68657f0afa3938ec9.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall studycc
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 studycc package on PyPI has been found to contain malicious code, potentially compromising the security and privacy of systems where it is installed. It is recommended to remove the package and follow best practices for installing and updating packages from trusted sources. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for studycc →
FAQ
You can check if you have the malicious studycc package installed by comparing its SHA256 hash (4a2e6cd56e26016bb0caa9720929573bcd06f89f28d256a68657f0afa3938ec9) with the list of known malicious packages.
Having the malicious studycc package installed can result in the execution of spyware and information-stealing malware, potentially compromising the security and privacy of the system.
No, it is not recommended to use studycc until the vulnerability is fixed. Removing the package from the system is the best course of action.
To ensure the security of other packages, it is important to only install packages from trusted sources and regularly update them. Performing regular security scans can also help identify any potential vulnerabilities.
For further support on vulnerability remediation, you can reach out to info@devnack.com. They can provide guidance and assistance in addressing the vulnerability.