polymarket-gamma-api npm package is malware — full machine compromise for any version installed
Severity: critical · Patch status: no-fix-needed · Since 2026-12-03
GitHub published advisory GHSA-rg32-f7gx-434v on 2026-12-03 flagging the npm package polymarket-gamma-api as malware (CWE-506, Embedded Malicious Code). Every version (= 0) is affected and no patched version exists; the advisory states any computer with the package installed or running should be considered fully compromised, with full control potentially handed to an outside entity. All secrets and keys on affected machines must be rotated from a clean computer. Removal of the package alone is not guaranteed to remove malicious software it installed. Anyone who installed the package — likely developers seeking Polymarket API tooling — is affected. There is no fix; remediation is removal plus host forensics and credential rotation.
What to do
- Treat any machine with polymarket-gamma-api installed as fully compromised; rotate all secrets, keys and credentials from a clean computer
- Remove the package and rebuild/reimage affected hosts; do not assume removal clears the malware
- Audit npm lockfiles and CI/CD environments for the package and any persistence it may have installed
- Block the package name in internal registries and dependency scanning
- Review access logs and network egress for signs of attacker activity since installation
Sources
All live incidents on Threat Watch