gas-refuel-bridge (RubyGems) · Malicious Code
Affects gas-refuel-bridgeSource GCVE Database
Malicious package : remove gas-refuel-bridge and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:28 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-17788
What to do
Remove gas-refuel-bridge 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 |
|---|---|---|
| RubyGemsgas-refuel-bridge | 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 RubyGem 'gas-refuel-bridge' version 0.9.1 contains malicious code embedded in its native extension build script. During installation, it decodes and executes a hidden Ruby payload that establishes a persistent reverse shell to a remote server after a delay. The payload includes anti-analysis checks to avoid detection in CI environments or ephemeral systems and activates only on developer-like hosts. The gem's outward appearance is benign, with inert code and misleading documentation serving as a cover. This behavior poses a significant risk of unauthorized remote access on systems where the gem is installed.