MAL-2026-21035 Malicious code in coincheck_internal (RubyGems)
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Cloud Platforms
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems coincheck_internal(RubyGems) | = 19.4.10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems coincheck_internal(RubyGems) | = 19.4.10 | No fix listed |
References
- rubygems.org product