Skip to main content
MalwarePublished

vuln-app (RubyGems) · Malicious Code

Affects vuln-appSource GCVE Database

0

Malicious package : remove vuln-app and rotate any secrets on hosts that installed it.

Data as of 18 Nov 2026, 04:06 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-20103

What to do

Remove vuln-app 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
RubyGemsvuln-appAffected
  • =1.2.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 vuln-app RubyGem version 1.2.1 contains malicious code embedded in a native extension script that executes automatically during gem installation. This script collects sensitive system information, including hostname, user login, current working directory, home directory, and contents of critical system files (/etc/passwd, /etc/hosts, /etc/resolv.conf). It then serializes this data into JSON and transmits it over a TLS connection to a hardcoded external server controlled by the attacker. A sentinel file is created to mark installation completion. No legitimate build or compilation occurs, indicating the extension's sole purpose is data exfiltration.

References

Community reviews

Loading reviews…