Skip to main content
MalwarePublished Updated

pygame-renderkit (PyPI) · Malicious Code

Affects pygame-renderkitSource GCVE Database

0

Malicious package : remove pygame-renderkit and rotate any secrets on hosts that installed it.

Data as of 10 Sep 2026, 02:08 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-14587

What to do

Remove pygame-renderkit 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

ProductAffectedFixed in
PyPIpygame-renderkitAffected
  • =1.2.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The pygame-renderkit package version 1.2.0 on PyPI contains malicious code embedded in its setup.py. During installation, it executes a base64-encoded payload that establishes a reverse shell to a hardcoded command-and-control server, exfiltrates sensitive environment variables and system files, and establishes persistence through cron jobs, systemd user services, and sudoers modifications. This behavior is unrelated to the package's stated purpose as a pygame utility.

References

Community reviews

Loading reviews…