coincheck-testRubyGems
Advisory published Updated
coincheck-test is a confirmed malicious RubyGems package (MAL-2026-21033) 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-test (RubyGems)
What this malware does
The gemspec declares ext/coincheck-test/extconf.rb as a native extension, so it executes during gem install. Rather than building code, it reads installer credential stores (~/.aws/credentials, ~/.ssh private keys, ~/.gem/credentials, ~/.npmrc, ~/.kube/config, ~/.netrc,.env files, Rails master.key/credentials), dumps the full process environment, runs host reconnaissance via shell subprocesses (identity, uname, network interfaces and routes, process list, git remotes of the surrounding repository), and queries cloud instance metadata at 169.254.169.254 and metadata.google.internal for IAM role and service-account credentials. The collected data is gzip-compressed, base64-encoded with a "CCGEM1" prefix, and POSTed to hardcoded https://webhook.site/<token>/<tag> endpoints, with a DNS out-of-band fallback to oast.fun subdomains. A stub Makefile emitting a no-op all target is written so the extension build appears to succeed. The same collector is duplicated in lib/coincheck-test.rb and lib/rubygems_plugin.rb and is invoked at load time, so any require of the gem and every gem CLI invocation re-runs the harvest and exfiltration.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for coincheck-test (version 19.4.10).
If you installed it — respond
coincheck-test 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-test 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-test-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.