NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

coincheck-commonRubyGems

Advisory published Updated

coincheck-common is a confirmed malicious RubyGems package (MAL-2026-21030) 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-common (RubyGems)

MAL-2026-21030
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
gem uninstall coincheck-common

What this malware does

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/rubygems_plugin.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 CCGEM_DONE environment check limit execution to once per host. The package presents itself as an internal Coincheck shared library (homepage coincheck.com, [email protected]) and provides no functionality, consistent with dependency-confusion targeting of an internal gem name.

The OpenSSF Package Analysis project identified 'coincheck-common' @ 19.4.10 (rubygems) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Malicious versions

1 flagged
19.4.10

Indicators of compromise (SHA-256)

ee09d680ab94ce640bb8270dbac71942c605016f64f0817e174a2a9996d107b8
0068007aa1a8c0f532476ca197ca46a2dba90e8a3982ea8dfcb9805dc33162e0

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for coincheck-common (version 19.4.10).

  2. If you installed it — respond

    coincheck-common 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.

  3. Did it already run?

    If coincheck-common 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

No. coincheck-common on RubyGems has been identified as a malicious package (version 19.4.10 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023154

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks coincheck-common-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

coincheck-common (RubyGems) malicious package — MAL-2026-21030 | O3 Security