Malicious code in virtualgui (PyPI)

virtualgui Updated 02 Oct 2025

Summary

24/02/2023
CRITICAL
No i
Critical
Not published

MAL-2023-7822: Malicious code in virtualgui (PyPI). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Virtualgui is a package available on PyPI that provides a graphical user interface (GUI) for virtual machines. It allows users to interact with virtual machines through a visual interface, making it easier to manage and control them. However, the package has been found to contain malicious code, which poses a security risk to users who install and use it.

Vulnerability Detail

The virtualgui package has been compromised by a group called EsqueleSquad, who published nearly 6000 malicious PyPi and NPM packages. These packages execute spyware and information-stealing malware. The specific vulnerability in virtualgui allows the execution of malicious code, which can lead to unauthorized access, data theft, and other malicious activities. The malicious code can be found in the package's source code and can be triggered when the package is installed or used.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall virtualgui

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

As a workaround, you can consider using alternative packages or libraries that provide similar functionality to virtualgui. It is important to carefully review the security and trustworthiness of any package before installing it. Here is an example of how to install an alternative package, 'virtualgui2', using pip:

pip install virtualgui2

Conclusion

The virtualgui package on PyPI has been found to contain malicious code, posing a significant security risk to users. It is recommended to remove the package from your system and avoid using it. Regularly updating and patching your software dependencies, as well as using vulnerability monitoring tools like Vulert, can help prevent such vulnerabilities in the future. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for virtualgui →

Share this vulnerability

FAQ

This vulnerability allows the execution of malicious code, which can lead to unauthorized access, data theft, and other malicious activities. It poses a significant security risk to users who install and use the virtualgui package.

You can use vulnerability monitoring tools like Vulert to check if your application is affected by this vulnerability. Vulert analyzes your software's dependencies and alerts you in real-time for any open-source vulnerabilities, including the malicious code in virtualgui.

The recommended fix for this vulnerability is to remove the virtualgui package from your system and avoid using it. It is also important to regularly update and patch your software dependencies to prevent the installation of compromised packages.

Yes, there are alternative packages and libraries available that provide similar functionality to virtualgui. It is important to carefully review the security and trustworthiness of any package before installing it.

To prevent such vulnerabilities in the future, it is crucial to regularly update and patch your software dependencies. Additionally, using vulnerability monitoring tools like Vulert can help you identify and mitigate any open-source vulnerabilities in your software.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall virtualgui

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback