MAL-2026-19157: Malicious code in cheesebox (RubyGems)

Published Nov 12, 2026
·
Updated

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

Source: amazon-inspector (5b03698e5384db9f041d0e2caa51db10abc0d0dcbfc1e5e77b795acc4d8cec76) The gem declares mkrfconf.rb as a native extension in its gemspec, causing it to execute automatically during gem install. On execution the script reads installer-side system files (/etc/passwd, /etc/hosts, /etc/resolv.conf) and collects host identifiers (hostname, username, home directory, current working directory), then opens a TLS TCPSocket to the hardcoded Burp Collaborator subdomain xwx31i3e80kbj4h1s7wnh8yklbrdf33s.oastify.com on port 443 and POSTs the collected data as JSON. The destination is an attacker-controlled out-of-band interaction host, not any infrastructure related to the gem's declared purpose, and the data read is unrelated to building a native extension (no mkmf probing, no compilation of shipped sources).

Affected Software

1 affected component
rubygems/cheesebox=10.0.1

Event History

Nov 12, 2026
Advisory Published
via OSV·03:51 PM
Data Sourced
via OSV·03:51 PM
DescriptionAffected Software

Frequently Asked Questions

1

What action triggers the malicious behavior?

The behavior runs automatically during gem installation because mkrf_conf.rb is declared as a native extension in the gemspec. No native-extension build activity is required beyond installing the gem.

2

What information can be exposed from an affected installation host?

The script reads /etc/passwd, /etc/hosts, and /etc/resolv.conf. It also collects the hostname, username, home directory, and current working directory before sending the data as JSON.

3

How can I check for potential exposure?

Check whether cheesebox version 10.0.1 was installed on the host. Network telemetry may also show TLS connections to xwx31i3e80kbj4h1s7wnh8yklbrdf33s.oastify.com on port 443 during installation.

4

What can be done if the affected gem cannot be trusted?

Avoid installing or executing the gem on systems containing sensitive host or account information. If it was installed, treat the listed system and host-identifier data as potentially disclosed to the hardcoded external host.

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