cheeseboxRubyGems
Advisory published Updated
cheesebox is a confirmed malicious RubyGems package (MAL-2026-19157) that executes malicious code on install (malicious version 10.0.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in cheesebox (RubyGems)
What this malware does
The gem declares mkrf_conf.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).
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for cheesebox (version 10.0.1).
If you installed it — respond
Remove cheesebox 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 cheesebox 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 cheesebox-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.