# GHSA-9487-F86J-23M4: Malicious code in cheesebox (RubyGems)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-12
- Modified: 2026-11-12

## Affected versions

- cheesebox (RubyGems): 10.0.1

## Description

## Source: amazon-inspector (5b03698e5384db9f041d0e2caa51db10abc0d0dcbfc1e5e77b795acc4d8cec76)
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).

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d96303ea4f55739f99519c744c2cd893c10b2d04/osv/malicious/rubygems/cheesebox/MAL-2026-19157.json))

## References

- https://github.com/ossf/malicious-packages/blob/d96303ea4f55739f99519c744c2cd893c10b2d04/osv/malicious/rubygems/cheesebox/MAL-2026-19157.json
- https://rubygems.org/gems/cheesebox/versions/10.0.1
- https://github.com/advisories/GHSA-9487-f86j-23m4

Page: https://cve.now/GHSA-9487-F86J-23M4

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
