Skip to content

Malicious code in airdrop-eligibility-check (RubyGems)

Malware Published Oct 11, 2026 to the GitHub Advisory Database • Updated Oct 11, 2026

Package

bundler airdrop-eligibility-check (RubyGems)

Affected versions

= 0.9.1

Patched versions

None

Description

Source: amazon-inspector (eb3461788cd7b809ba613c07b39b583fb968ce927ccfc15433673e2731ca68d8)

The gem's extconf.rb, executed during gem install, decodes a base64 Ruby payload and eval's it inside a detached double-forked (Process.setsid) child process after a randomized 20–40 minute sleep. The payload opens a TCPSocket to the hardcoded endpoint 45.138.12.177:8089, spawns /bin/sh via IO.popen, and bridges stdio in both directions, providing an interactive reverse shell on the installer's host. Detonation is gated by anti-analysis checks that skip execution in CI, on ephemeral hostnames, under generated usernames, inside analysis paths, and when /proc/uptime is under 1800 seconds; it only arms when developer-credential files are present (~/.ssh, ~/.gitconfig, ~/.gem/credentials, ~/.bundle, ~/.npmrc). The gem has no real functionality: the gemspec name (airdrop-eligibility-check) does not match the README (bitcoin-rpc-lite) or the created makefile (bitcoin_rpc_lite_native), and the lib entry is a trivial stub returning 'ok'. The native-extension build is used solely as a vehicle for the dropper.


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Oct 11, 2026
Reviewed Oct 11, 2026
Last updated Oct 11, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-qmg2-cxmc-2xm5

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.