Skip to main content
MalwarePublished Updated

perp-funding-rates (RubyGems) · Malicious Code

Affects perp-funding-ratesSource GCVE Database

0

Malicious package : remove perp-funding-rates and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:28 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-17793

What to do

Remove perp-funding-rates 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

ProductAffectedFixed in
RubyGemsperp-funding-ratesAffected
  • =0.9.1
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 'perp-funding-rates' version 0.9.1 contains malicious code in its native-extension script that executes during installation. The script decodes and evaluates a hidden Ruby payload that establishes a reverse shell to a hardcoded command-and-control server, allowing remote code execution on the installer's machine. The payload activates only on developer workstations or build systems identified by the presence of specific user files, indicating a targeted attack. This behavior is obfuscated and delayed to evade detection.

References

Community reviews

Loading reviews…