city-search (RubyGems) · Malicious Code
Affects city-searchSource GCVE Database
Malicious package : remove city-search and rotate any secrets on hosts that installed it.
Data as of 19 Jul 2026, 00:43 UTC
Malicious package
Published to RubyGems · OSV MAL-2024-6831
What to do
Remove city-search 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 |
|---|---|---|
RubyGemscity-searchpkg:gem/city-searchOther 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 RubyGems package 'city-search' version 0.0.4 contains malicious code as identified by the OpenSSF malicious packages database. This package is flagged as a security threat due to the presence of harmful code embedded within it. No official patch or remediation guidance is currently provided by the vendor. There are no known exploits in the wild at this time.