# GHSA-37P4-Q3W5-83PW: Malicious code in control-character-command-injection (RubyGems)

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

## Affected versions

- control-character-command-injection (RubyGems): 1.0.1

## Description

## Source: amazon-inspector (83327b9e45cb49b02f4a3681837f5acdc84f15373a85648f4409946e6fa72f75)
The gem declares an extension script in metadata.yaml that RubyGems executes during `gem install`. At install time the script reads host identifiers (hostname, username, current working directory, home directory) and the contents of /etc/resolv.conf, /etc/passwd, and /etc/hosts, then opens a TLS connection via TCPSocket to the Burp Collaborator subdomain xuv3zi1e60ibh4f1q7unf8wkjbpad01p.oastify.com on port 443 and POSTs the collected data as a JSON body. A DNS lookup to the same host is also performed. The destination is an out-of-band interaction host unrelated to any legitimate publisher infrastructure, and the behavior fires automatically on install without user interaction.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/452e31d9fc58339d97d3fd0a82ef67b846f63d34/osv/malicious/rubygems/control-character-command-injection/MAL-2026-18764.json))

## References

- https://github.com/ossf/malicious-packages/blob/452e31d9fc58339d97d3fd0a82ef67b846f63d34/osv/malicious/rubygems/control-character-command-injection/MAL-2026-18764.json
- https://rubygems.org/gems/control-character-command-injection/versions/1.0.1
- https://github.com/advisories/GHSA-37p4-q3w5-83pw

Page: https://cve.now/GHSA-37P4-Q3W5-83PW

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