logs-viewer (RubyGems) · Malicious Code
Affects logs-viewerSource GCVE Database
Malicious package : remove logs-viewer and rotate any secrets on hosts that installed it.
Data as of 19 Jul 2026, 00:00 UTC
Malicious package
Published to RubyGems · OSV MAL-2024-6978
What to do
Remove logs-viewer 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
| Product | Affected | Fixed in |
|---|---|---|
RubyGemslogs-viewerpkg:gem/logs-viewerOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The logs-viewer RubyGem version 0.2.0 contains malicious code as identified by the OpenSSF project. This package is flagged as a malicious package in the RubyGems ecosystem. No official patch or remediation guidance is currently provided. There are no known exploits in the wild at this time.