coincheck_internal (RubyGems) · Malicious Code
Affects coincheck_internalSource GCVE Database
Malicious package : remove coincheck_internal and rotate any secrets on hosts that installed it.
Data as of 3 Dec 2026, 08:16 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-21035
What to do
Remove coincheck_internal from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemscoincheck_internal | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5a77664cd52940b9c42a132255e6a97a6bc252de4fa11ec7efec758d4e60ebfd) The gem declares an extension script (extconf.rb) that executes during `gem install` and collects installer secrets from ~/.aws/credentials, ~/.ssh private keys, ~/.gem/credentials, ~/.npmrc, ~/.kube/config,.netrc,.env files and Rails master.key/credentials, together with a full environment dump, shell history and host reconnaissance output from commands such as `id` and `ps aux`. It also queries cloud instance metadata endpoints (169.254.169.254 and metadata.google.internal) for IAM role credentials and service-account tokens. The collected data is compressed and POSTed to hardcoded webhook.site collector URLs, with a DNS out-of-band fallback to oast.fun. The same payload module is embedded in lib/coincheck_internal.rb and invoked at top level, so it re-runs on `require`, and in lib/rubygems_plugin.rb, which RubyGems loads on every `gem` command, producing repeated exfiltration beyond installation.