vuln-app RubyGems: malicious gem exfiltrates installer host data via Burp Collaborator on gem install
Severity: critical · Patch status: no-fix-needed · Since 2026-11-18
A malicious RubyGems package, vuln-app 1.2.1, was identified and published to the GitHub Advisory Database (GHSA-fcw8-r3p6-3gcc) on 2026-11-18, credited to OpenSSF malicious-packages and Amazon Inspector. The gem declares ext/mkrfconf.rb as a native extension so RubyGems auto-executes it during gem install. The script performs no build; instead it collects hostname, login user, cwd, home directory, and contents of /etc/passwd, /etc/hosts, and /etc/resolv.conf, serializes them as JSON, and POSTs them over TLS to a hardcoded Burp Collaborator endpoint (g1im618xdjpuonmkxq16mr33quwlm9cx1.oastify.com:443), then writes a .installed sentinel file. Anyone who installed version 1.2.1 had host information exfiltrated. No patched version exists; the package is malware and should be removed.
What to do
- Check whether vuln-app 1.2.1 was installed on any host (gem list, lockfiles, CI logs); remove it and purge it from Gemfile/lockfiles
- Treat any machine where it was installed as having leaked host details; review /etc/passwd, /etc/hosts, /etc/resolv.conf exposure and rotate credentials tied to those hosts/users
- Block egress to g1im618xdjpuonmkxq16mr33quwlm9cx1.oastify.com and hunt logs for TLS connections to it
- Audit gems with ext/mkrf_conf.rb that contain no build logic before installing; prefer pinned, reviewed dependencies
Sources
All live incidents on Threat Watch