Malicious Code Detected in ig-gox Package: Exploitation of Instagram for Fake Account Registration
Summary
MAL-2026-17712: Malicious code in ig-gox (PyPI). Affects ig-gox versions 1.0.0. 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 ig-gox package, available on PyPI, is designed for various functionalities related to Instagram. However, it has been found to contain malicious code that obfuscates its true intent, which is to facilitate mass fake account registrations on the Instagram platform. This vulnerability poses significant risks to users and the integrity of the Instagram service.
Vulnerability Detail
The vulnerability originates from an obfuscated code within the ig-gox package, which is designed to evade detection and analysis. It includes mechanisms to check if it is running in a sandbox environment, thereby preventing security researchers from easily analyzing its behavior. The package downloads and executes a remote malicious script that abuses the Instagram API for the purpose of mass fake account registration. This not only compromises user data but also undermines the trustworthiness of the Instagram service.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall ig-gox
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, users can monitor their systems for any unauthorized activities and ensure that no instances of the ig-gox package are running. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The ig-gox package has been identified as containing malicious code that exploits Instagram for fraudulent activities. Users are strongly advised to uninstall the package and monitor their systems for any unauthorized actions. The ongoing risks associated with this vulnerability highlight the importance of using secure and trusted packages in software development.
See every vulnerability recorded for ig-gox →
FAQ
The ig-gox package is a Python library available on PyPI that interacts with Instagram. However, it has been compromised with malicious code.
The vulnerability allows the package to create fake accounts on Instagram, which can lead to data breaches and misuse of the Instagram platform.
You should uninstall the ig-gox package immediately to prevent any potential exploitation of your system.
Currently, there is no patched version available. It is advised to remove the package until a secure version is released.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.