MAL-2026-20103: Malicious code in vuln-app (RubyGems)

Published Nov 17, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (d905ef222b582842835ecb00de0605874b2ccc75e21669725c81de9694aed9bf) The gem declares ext/mkrfconf.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.

Affected Software

1 affected component
rubygems/vuln-app=1.2.1

Event History

Nov 17, 2026
Advisory Published
via OSV·11:40 PM
Data Sourced
via OSV·11:40 PM
DescriptionAffected Software

Frequently Asked Questions

1

What action triggers the malicious code?

Installing the gem triggers it. RubyGems automatically executes the declared ext/mkrf_conf.rb native-extension script during gem install.

2

What systems are exposed?

Systems where the listed vuln-app RubyGems package version 1.2.1 is installed are exposed during installation. The script runs in the installer's environment and collects local system and user information.

3

What data may have been sent if the script ran?

The script collects the hostname, login user, current working directory, home directory, and contents of /etc/passwd, /etc/hosts, and /etc/resolv.conf. It serializes this information as JSON and sends it over TLS.

4

How can I investigate whether an installation executed the script?

Look for a file named .installed, which the script writes after attempting its network activity. Network telemetry may also show TLS connections to g1im618xdjpuonmkxq16mr33quwlm9cx1.oastify.com on port 443.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203