pionex (RubyGems) · Malicious Code
Affects pionexSource GCVE Database
Malicious package : remove pionex and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 17:37 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-20609
What to do
Remove pionex 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 |
|---|---|---|
| RubyGemspionex | 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 pionex RubyGem versions 0.9.1 and 0.9.2 contain malicious code in their native extension script that executes during installation. This script harvests a wide range of sensitive credentials and configuration files from the host, including AWS credentials, SSH private keys, Docker and Kubernetes configs, Vault tokens, and environment variables containing secrets. The collected data is sent to a hardcoded external URL. The extension does not perform any compilation and uses a stub Makefile to avoid installation errors.