NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

pionexRubyGems

Advisory published Updated

pionex is a confirmed malicious RubyGems package (MAL-2026-20609) that steals credentials and exfiltrates sensitive data (malicious versions 0.9.1, 0.9.2). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in pionex (RubyGems)

MAL-2026-20609
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
gem uninstall pionex

What this malware does

The gem's declared native extension script ext/pionex/extconf.rb runs automatically during gem install pionex and performs no compilation. Instead it reads a broad set of installer-side secrets — ~/.aws/credentials, ~/.aws/config, ~/.ssh/id_* private keys, ~/.netrc, ~/.git-credentials, ~/.docker/config.json, ~/.kube/config, ~/.vault-token, GCP application default credentials, ~/.gemrc, repo-local.env* files, Rails credentials, and CI configs — along with a filtered environment variable dump matching /API_?KEY|SECRET|TOKEN|PASSWORD|AWS.../, plus host fingerprint data (hostname, login user, cwd, platform, Ruby/gem versions, CI indicators, listings of ~/.ssh and ~/.pionex). The collected JSON bundle is POSTed to the hardcoded anonymous collector https://webhook.site/434668ca-f12d-4d3c-8373-d49e5810db56. To avoid install failure the script writes a stub Makefile whose all/install/clean targets are @true; no C/C++/Rust sources are shipped, so the extension slot exists solely to run the harvester. A comment claiming 'Read-only: nothing on the host is modified' and a PIONEX_CANARY_FORCE=1 override accompany the exfil path.

Malicious versions

2 flagged
0.9.10.9.2

Indicators of compromise (SHA-256)

729ad5da01db9ef3fd827e7a90ebf22175feaa2d75267856a11feaa834b277af
ddbf8dd642df1b1a67eee37e46e86d506a9097bf5b814a4dcca2b7c83a54a9e0

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for pionex (2 malicious versions).

  2. If you installed it — respond

    pionex is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If pionex was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. pionex on RubyGems has been identified as a malicious package (versions 0.9.1, 0.9.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023123IN-MAL-2026-023122

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks pionex-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

pionex (RubyGems) malicious package — MAL-2026-20609 | O3 Security