Malicious code in ig-gox (PyPI)
Description
The PyPI package ig-gox version 1.0.0 contains malicious code that executes a concealed payload upon import. This payload is base64-decoded, XOR-decrypted, decompressed, HMAC-verified, and then executed dynamically. The package employs anti-analysis techniques to detect debugging, decompilation, and sandbox environments, exiting if such conditions are detected. It downloads and executes remote malicious scripts designed to abuse Instagram services for mass fake account registration.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The ig-gox PyPI package (version 1.0.0) includes a top-level __init__.py that automatically executes a hidden payload when imported. This payload is obfuscated through base64 encoding, XOR decryption with a hardcoded key, zlib decompression, and HMAC verification before being executed. The package performs anti-analysis checks by detecting debuggers, decompilers, and sandbox indicators in the environment and exits if detected. It also tampers with built-in Python functions to hinder analysis. The remote code it downloads is used to abuse Instagram's API for mass fake account creation, indicating clear malicious intent.
Potential Impact
This package enables remote code execution on systems that install and import it, potentially allowing attackers to abuse Instagram services for fraudulent activities such as mass fake account registration. The anti-analysis measures make detection and investigation difficult, increasing the risk of undetected malicious activity on affected systems.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing or importing the ig-gox package version 1.0.0. Remove the package from any environments where it is installed. Monitor for any suspicious activity related to Instagram API abuse. Patch status is not yet confirmed — check the vendor advisory or PyPI security notices for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17712
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6acc00a22cdf04f656fecb00
Added to database: 10/11/2026, 21:33:22 UTC
Last enriched: 10/11/2026, 21:42:44 UTC
Last updated: 10/11/2026, 21:42:44 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.