gmo-payment (RubyGems) · Malicious Code
Affects gmo-paymentSource GCVE Database
Malicious package : remove gmo-payment and rotate any secrets on hosts that installed it.
Data as of 19 Nov 2026, 09:49 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-20211
What to do
Remove gmo-payment 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 |
|---|---|---|
| RubyGemsgmo-payment | 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 gmo-payment RubyGem version 0.0.99 contains malicious code that executes during installation and runtime. It collects sensitive host information, AWS IAM role credentials via the Instance Metadata Service, ECS task metadata, and environment variables related to databases and caches. This data is exfiltrated to a hardcoded external webhook URL. The malicious behavior is embedded in a native-extension build script and repeated in runtime code, disguising itself as legitimate build activity.