graphicsctxr (PyPI) · Malicious Code
Affects graphicsctxrSource GCVE Database
Malicious package : remove graphicsctxr and rotate any secrets on hosts that installed it.
Data as of 27 Oct 2026, 00:43 UTC
Malicious package
Published to PyPI · OSV MAL-2026-3210
What to do
Remove graphicsctxr from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIgraphicsctxr | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The graphicsctxr package on PyPI contains malicious code that exfiltrates .env files to a remote target. Versions prior to 2.1.1 also embed a hardcoded SSH key to create a persistent backdoor. The malicious behavior activates when the package is run as a module. This package is part of a campaign with clear malicious intent, including backdoor installation and file exfiltration.
References
- bad-packages.kam193.eu/pypi/package/graphicsctxr (opens in a new tab)
- github.com/0xsebasneuron (opens in a new tab)
- socket.dev/supply-chain-attacks/north-korea-s-contagious-interview-campaign (opens in a new tab)
- github.com/0xsebasneuron/polymarket-arbitrage-copy-trading-bot-V2/commit/4dae9aea3c35a627a7f38a28946f73af18930a3e (opens in a new tab)