Skip to main content
MalwarePublished

solana-keypair (RubyGems) · Malicious Code

Affects solana-keypairSource GCVE Database

0

Malicious package : remove solana-keypair and rotate any secrets on hosts that installed it.

Data as of 16 Nov 2026, 23:20 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-20019

What to do

Remove solana-keypair 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
RubyGemssolana-keypairAffected
  • =0.1.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 solana-keypair RubyGem version 0.1.0 is a malicious package that exfiltrates sensitive user data during installation. Its extconf.rb script reads various secret files and environment variables related to cryptocurrency keys and credentials, encodes this data, and sends it to a hardcoded external URL. The package masquerades as legitimate Solana tooling but contains no real native extension code, instead writing a no-op Makefile to conceal its malicious behavior.

References

Community reviews

Loading reviews…