pypi · Malicious package advisory
Malwarechalk-fancy
GHSA-845r-8q7p-2v4v
Malicious code in chalk-fancy (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.0` ## Source: kam193 (b86a641eb2b6239d8a88849df88a1a148fa5380e3c8767dc59915edb295ef5b3) When used, package exfiltrates sensitive environmental variable. --- 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/chalk-fancy/MAL-2026-3212.json)) **References:** - https://github.com/0xsebasneuron/polymarket-arbitrage-copy-trading-bot-V2/commit/4dae9aea3c35a627a7f38a28946f73af18930a3e#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552 - https://bad-packages.kam193.eu/pypi/package/chalk-fancy - https://github.com/0xsebasneuron - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/chalk-fancy/MAL-2026-3212.json - https://socket.dev/supply-chain-attacks/north-korea-s-contagious-interview-campaign - https://github.com/advisories/GHSA-845r-8q7p-2v4v
Compromised versions (1)
- = 0.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.