coincheck_internalRubyGems
Advisory published Updated
coincheck_internal is a confirmed malicious RubyGems package (MAL-2026-21035) that steals credentials and exfiltrates sensitive data (malicious version 19.4.10). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in coincheck_internal (RubyGems)
What this malware does
The gem declares an extension script (extconf.rb) that executes during gem install and collects installer secrets from ~/.aws/credentials, ~/.ssh private keys, ~/.gem/credentials, ~/.npmrc, ~/.kube/config,.netrc,.env files and Rails master.key/credentials, together with a full environment dump, shell history and host reconnaissance output from commands such as id and ps aux. It also queries cloud instance metadata endpoints (169.254.169.254 and metadata.google.internal) for IAM role credentials and service-account tokens. The collected data is compressed and POSTed to hardcoded webhook.site collector URLs, with a DNS out-of-band fallback to oast.fun. The same payload module is embedded in lib/coincheck_internal.rb and invoked at top level, so it re-runs on require, and in lib/rubygems_plugin.rb, which RubyGems loads on every gem command, producing repeated exfiltration beyond installation.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for coincheck_internal (version 19.4.10).
If you installed it — respond
coincheck_internal 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.
Did it already run?
If coincheck_internal 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
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks coincheck_internal-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.