MAL-2026-21033: Malicious code in coincheck-test (RubyGems)

Published Dec 3, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (d347af4316d0b52dd862d5b5071abf3ea865d8a164b74fb98812d6537f8a6ce3) 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/rubygemsplugin.rb and is invoked at load time, so any require of the gem and every gem CLI invocation re-runs the harvest and exfiltration.

Affected Software

1 affected component
rubygems/coincheck-test=19.4.10

Event History

Dec 3, 2026
Advisory Published
via OSV·05:54 AM
Data Sourced
via OSV·05:54 AM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203