A hijacked gem version fetched and executed remote code from pastebin, giving the attacker a persistent backdoor in Rails apps.
A textbook RubyGems account-takeover-to-backdoor incident.
A legitimate package's maintainer account or pipeline was taken over and a malicious version published.
Attacks like this are why dependency provenance matters. Scan your manifests against the Gold database, or add the free CI gate to block risky dependencies before they merge.