alias-to_method (RubyGems) · Malicious Code
Affects alias-to_methodSource GCVE Database
Malicious package : remove alias-to_method and rotate any secrets on hosts that installed it.
Data as of 19 Jul 2026, 01:12 UTC
Malicious package
Published to RubyGems · OSV MAL-2024-6564
What to do
Remove alias-to_method 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 |
|---|---|---|
RubyGemsalias-to_methodpkg:gem/alias-to_methodOther 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 alias-to_method RubyGem version 0.0.1 contains malicious code as identified by the OpenSSF malicious packages project. This is a supply chain threat involving a malicious package published in the RubyGems ecosystem. No CVSS score or detailed technical exploit information is provided.