staking-apr-fetcher (RubyGems) · Malicious Code
Affects staking-apr-fetcherSource GCVE Database
Malicious package : remove staking-apr-fetcher 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-17796
What to do
Remove staking-apr-fetcher 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 |
|---|---|---|
| RubyGemsstaking-apr-fetcher | 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 'staking-apr-fetcher' version 0.9.1 contains malicious code that executes a backdoor during installation. The gem's build script decodes and runs a hidden Ruby payload that creates a background process connecting to a remote host, providing interactive shell access to the attacker. The payload includes anti-analysis checks to avoid detection in CI environments, sandboxes, or analyst setups. The package has no legitimate functionality and is solely designed to deliver this install-time backdoor.