pypi · Malicious package advisory
Malwaregraphicsctxr
GHSA-vfw4-rj8h-7mcq
Malicious code in graphicsctxr (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.1` ## Source: kam193 (10408decaf8cace14b8124fa392ee96996c3c91358cb454cbfcd45790d18cdf9) Package contains code to exfiltrate .env to a remote target. Prior to version 2.1.1, it also created a persistent backdoor via embedding a hardcoded SSH key. Malicious action is triggered when running as a module. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-04-renderctx Reasons (based on the campaign): - backdoor - files-exfiltration - crypto-related - The malicious code is intentionally included in a dependency of the package --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/graphicsctxr/MAL-2026-3210.json)) **References:** - https://github.com/0xsebasneuron/polymarket-arbitrage-copy-trading-bot-V2/commit/4dae9aea3c35a627a7f38a28946f73af18930a3e#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552 - https://bad-packages.kam193.eu/pypi/package/graphicsctxr - https://github.com/0xsebasneuron - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/graphicsctxr/MAL-2026-3210.json - https://socket.dev/supply-chain-attacks/north-korea-s-contagious-interview-campaign - https://github.com/advisories/GHSA-vfw4-rj8h-7mcq
Compromised versions (1)
- = 1.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.