Attacker compromised maintainer Matthew Manning's RubyGems account via credential stuffing and published malicious versions containing a backdoor that activated in Rails production environments, fetched remote code from Pastebin, and exfiltrated credentials. The gem had 113M total downloads; malicious versions were downloaded ~1,000 times.
PACKAGE_ACTIVE_MALWARE + PACKAGE_INSTALL_SCRIPTS; SOURCE_MALFORMED_METADATA detects source-registry divergence
| Tool | Verdict | Details |
|---|---|---|
| OSS Risk Guard | Caught | PACKAGE_ACTIVE_MALWARE + PACKAGE_INSTALL_SCRIPTS; SOURCE_MALFORMED_METADATA detects source-registry divergence |
| Socket | Caught | Behavioral analysis detects malicious payload. |
| Snyk | Missed | No malware detection capability |
| Sonatype (Nexus) | Missed | Limited ecosystem coverage for this attack |
| Black Duck | Missed | No malware detection capability |
| Endor Labs | Missed | No malware detection capability |