Malicious code in selftoolvirtualpep (PyPI)
Summary
MAL-2023-6699: Malicious code in selftoolvirtualpep (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
selftoolvirtualpep is a package available on PyPI that provides functionality for virtual private network (VPN) management. It allows users to create, configure, and manage VPN connections. The package is widely used in various Python projects that require VPN functionality.
Vulnerability Detail
A malicious code injection vulnerability has been discovered in selftoolvirtualpep. The vulnerability originates from a PyPi package named 'selftoolvirtualpep' that was found to contain spyware and information-stealing malware. The package was published by the EsqueleSquad group, who have been identified as the source of nearly 6000 malicious PyPi and NPM packages. The malicious code in selftoolvirtualpep can potentially compromise user data and expose sensitive information.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall selftoolvirtualpep
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 steps mentioned in the 'how_to_fix' section to mitigate the risk.
Conclusion
The selftoolvirtualpep package on PyPI has been found to contain malicious code, posing a significant security risk to projects that utilize it. It is recommended to remove the affected version of selftoolvirtualpep and replace it with a trusted alternative. Regularly updating and reviewing project dependencies is essential to mitigate the risk of similar vulnerabilities. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for selftoolvirtualpep →
FAQ
selftoolvirtualpep is a PyPI package that provides VPN management functionality for Python projects.
The vulnerability was discovered by the Checkmarx security team, who identified the presence of malicious code in the selftoolvirtualpep package.
The malicious code in selftoolvirtualpep can execute spyware and information-stealing malware, potentially compromising user data and exposing sensitive information.
Yes, the recommended fix is to remove the affected version of selftoolvirtualpep from your project dependencies and replace it with a trusted and secure alternative.
To prevent similar vulnerabilities, it is crucial to regularly update and review the dependencies of your project. Consider using a dependency management tool like Vulert (https://vulert.com) to monitor and alert for open-source vulnerabilities in your software.