coincheck_coreRubyGems
Advisory published Updated
coincheck_core is a confirmed malicious RubyGems package (MAL-2026-21034) 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_core (RubyGems)
What this malware does
The gemspec-declared extension script ext/coincheck_core/extconf.rb executes during gem install and, before emitting a stub Makefile, reads installer secret files (~/.aws/credentials, ~/.ssh private keys, ~/.gem/credentials, ~/.netrc, ~/.npmrc, ~/.kube/config,.env files, Rails master.key/credentials), dumps the full process environment, queries cloud instance metadata at 169.254.169.254 for role credentials, and shells out via IO.popen for host reconnaissance (id/whoami, uname, network configuration, process list, git remotes). The collected data is compressed, base64-encoded, and POSTed to hardcoded https://webhook.site/<token> collector URLs, with a DNS out-of-band fallback to oast.fun. The same payload module is duplicated in lib/coincheck_core.rb and invoked at top level, so require "coincheck_core" repeats the harvest in any consuming process, and in lib/rubygems_plugin.rb, which RubyGems auto-loads on every gem command, using a /tmp marker file to deduplicate runs. A source comment self-describes the code as a dependency-confusion payload, and the gemspec presents Coincheck Inc. metadata (coincheck.com, [email protected]) that does not correspond to the shipped behavior.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for coincheck_core (version 19.4.10).
If you installed it — respond
coincheck_core 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_core 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_core-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.