cvelo
P2 · HighMalware

Malicious code in control-character-command-injection (RubyGems)

  • MAL-2026-18764

Description

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.

Text from the OSV record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • control-character-command-injectionRubyGems

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.