Malicious Code in strram (PyPI)
Summary
MAL-2023-6825: Malicious code in strram (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
strram is a Python package available on PyPI. It is used for [provide details about the functionality and key attributes of the package]. Unfortunately, this package has been found to contain malicious code.
Vulnerability Detail
The strram package, specifically version 0 and above, has been identified as containing malicious code. This vulnerability was discovered by Checkmarx, who found that nearly 6000 PyPi and NPM packages published by the EsqueleSquad group were executing spyware and information-stealing malware. The malicious code in strram poses a significant risk to users as it can potentially compromise sensitive information and compromise the security of the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall strram
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 follow the recommended steps to fix the issue.
Conclusion
The strram package on PyPI has been found to contain malicious code, posing a significant risk to users. It is crucial to remove the affected version of the package and replace it with a trusted version. Regularly monitoring and updating the packages used in your project is essential to ensure they are free from any known vulnerabilities. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for strram →
FAQ
You can use the Vulert playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. It does not require any signup and uses your Pipfile.lock to monitor and alert for open-source vulnerabilities in real-time.
It is not recommended to manually remove the malicious code from the package as it may be challenging to identify and remove all instances. The best approach is to remove the affected version of the package and replace it with a trusted version.
Yes, nearly 6000 PyPi and NPM packages published by the EsqueleSquad group were found to contain malicious code. It is crucial to regularly update and monitor the packages used in your project to ensure they are free from any known vulnerabilities.
The malicious code in the strram package can potentially compromise sensitive information and compromise the security of the affected systems. It is essential to take immediate action to mitigate the risk and protect your application and data.
If you come across any suspicious packages or vulnerabilities, you can report them to the package maintainers or security researchers. Additionally, you can reach out to Checkmarx (supplychainsecurity@checkmarx.com) for further assistance and reporting.