MAL-2026-21030: Malicious code in coincheck-common (RubyGems)

Published Dec 3, 2026
·
Updated

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

Source: amazon-inspector (ee09d680ab94ce640bb8270dbac71942c605016f64f0817e174a2a9996d107b8) The gem ships no native source but declares ext/coincheck-common/extconf.rb as an extension, so gem install executes it. That script collects installer secrets — home-directory credential files including.aws/credentials,.ssh/id private keys,.gem/credentials,.netrc,.npmrc,.kube/config and.docker/config.json, shell history, Rails config/master.key and credentials, and.env files — together with a full ENV dump and the output of host reconnaissance commands (id, uname, ip addr, ps, git remote). It also queries the AWS instance metadata service at 169.254.169.254 for IAM role credentials and user-data and metadata.google.internal for the default service-account OAuth token. The bundle is compressed, base64-encoded and POSTed to webhook.site collector URLs built from embedded tokens, with a DNS out-of-band fallback to oast.fun. The same CCPayload module is invoked at top level in lib/coincheck-common.rb and lib/rubygemsplugin.rb, so the harvest also runs on require "coincheck-common" and on every gem CLI invocation via the auto-loaded plugin hook. A /tmp marker file (.ccgem<tag>) and a CCGEMDONE environment check limit execution to once per host. The package presents itself as an internal Coincheck shared library (homepage coincheck.com, dev@coincheck.com) and provides no functionality, consistent with dependency-confusion targeting of an internal gem name.

Affected Software

1 affected component
rubygems/coincheck-common=19.4.10

Event History

Dec 3, 2026
Advisory Published
via OSV·05:53 AM
Data Sourced
via OSV·05:53 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