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

coincheck-mainRubyGems

Advisory published Updated

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

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

What this malware does

The gem declares a native extension at ext/coincheck-main/extconf.rb that ships no C sources; instead of compiling anything it writes a stub Makefile ("all:\n\t@true") so the build appears to succeed, and executes a secret-collection routine during gem install. The routine reads installer credential files including ~/.aws/credentials, ~/.ssh private keys, ~/.gem/credentials, ~/.netrc, ~/.npmrc, ~/.kube/config,.env files and Rails master.key/credentials, dumps the full process environment, runs shell recon commands (id, kernel and network interface/route listings, process list, and git remote/last-commit of the surrounding repository), and queries cloud instance metadata at 169.254.169.254 for IAM role security-credentials and user-data as well as metadata.google.internal for the default service-account OAuth token. The collected report is deflated, base64-encoded and POSTed to hardcoded https://webhook.site/<token>/<tag> endpoints, with a DNS out-of-band fallback to oast.fun subdomains. The same CCPayload module is embedded in lib/coincheck-main.rb and lib/rubygems_plugin.rb and invoked at top level, so it also fires when the library is required and on every gem CLI invocation via the plugin autoload; a /tmp marker file (.ccgem_<tag>) enforces single-fire execution per host.

The OpenSSF Package Analysis project identified 'coincheck-main' @ 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)

000821cad106ba018a983a1db68e75fe6405a6bba3fd815969dc2721c76357cf
8d46d7a8330f4f2f29b6de9dff155883a70403c0e7f45990068268b13428d182

Detection & response playbook

Credential / info stealer
  1. Find it

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

  2. If you installed it — respond

    coincheck-main 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-main 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-main 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-023156

References

Credits

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

Detect & block this

O3 blocks coincheck-main-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-main (RubyGems) malicious package — MAL-2026-21032 | O3 Security