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

coincheck-apiRubyGems

Advisory published Updated

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

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

What this malware does

The gem ships an identical collector payload in three automatically-reached locations: the gemspec-declared extension script ext/coincheck-api/extconf.rb (runs during gem install and writes a stub Makefile instead of compiling any native code), the library entry point lib/coincheck-api.rb (runs at require time), and lib/rubygems_plugin.rb (auto-loaded by RubyGems on any gem invocation, with a /tmp marker file named.ccgem_* used to deduplicate runs). The payload gathers host reconnaissance via IO.popen calls such as id, uname -a, ps aux, network interface/route listings and git remote -v, serializes the full process environment, and reads installer secret files including ~/.aws/credentials, ~/.ssh private keys, ~/.gem/credentials, ~/.npmrc, ~/.docker/config.json, ~/.kube/config,.env files and Rails master.key. It also queries cloud instance metadata at 169.254.169.254 for IAM role credentials and user-data, plus a GCP service-account token endpoint. The collected bundle is compressed, base64-encoded and POSTed to hardcoded webhook.site collector URLs, with a DNS-based out-of-band fallback to oast.fun. No part of the extension script performs a real native build.

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

f5fb44542c81015996e4cdb272a6bd5590dddbbb102790feccf7ee95477438f8
1272af6a4e4beaa52acc66cb7950bd118fd39f5fb2be74cb0c269bba641c21e3

Detection & response playbook

Credential / info stealer
  1. Find it

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

  2. If you installed it — respond

    coincheck-api 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-api 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-api 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-023155

References

Credits

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

Detect & block this

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