cvelo
P2 · HighMalware

Malicious code in vuln-app (RubyGems)

  • MAL-2026-20103

Description

The gem declares ext/mkrf_conf.rb as a native extension, which RubyGems auto-executes during `gem install`. The script contains no build logic; instead it collects installer-side data (hostname, login user, cwd, home directory, and the contents of /etc/passwd, /etc/hosts, /etc/resolv.conf), serializes it as JSON, opens a TLS connection to the hardcoded Burp Collaborator subdomain g1im618xdjpuonmkxq16mr33quwlm9cx1.oastify.com:443, and POSTs the payload. A sentinel file.installed is then written. The extension-script naming is used solely to trigger auto-execution on install; no Rakefile is generated and no compilation occurs.

Text from the OSV record.

Affected

  • vuln-appRubyGems

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.