vuln-appRubyGems
Advisory published Updated
vuln-app is a confirmed malicious RubyGems package (MAL-2026-20103) that executes malicious code on install (malicious version 1.2.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in vuln-app (RubyGems)
What this malware does
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for vuln-app (version 1.2.1).
If you installed it — respond
Remove vuln-app from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If vuln-app was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks vuln-app-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.