Skip to main content
MalwarePublished

control-character-command-injection (RubyGems) · Malicious Code

Affects control-character-command-injectionSource GCVE Database

0

Malicious package : remove control-character-command-injection and rotate any secrets on hosts that installed it.

Data as of 8 Nov 2026, 10:51 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-18764

What to do

Remove control-character-command-injection from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
RubyGemscontrol-character-command-injectionAffected
  • =1.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The RubyGem 'control-character-command-injection' version 1.0.1 contains malicious code executed during installation. This code collects sensitive host information including hostname, username, current working directory, home directory, and contents of system files such as /etc/resolv.conf, /etc/passwd, and /etc/hosts. It then sends this data via a TLS connection to an external, unauthorized server. This exfiltration occurs automatically without user interaction.

References

Community reviews

Loading reviews…