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; a free CI gate that blocks risky dependencies before they merge is coming soon.