Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

ruby-playing_cardsRubyGems

Advisory published Updated

ruby-playing_cards is a confirmed malicious RubyGems package (MAL-2024-7018) that executes malicious code on install (malicious version 0.0.2). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in ruby-playing_cards (RubyGems)

MAL-2024-7018
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
gem uninstall ruby-playing_cards

Malicious versions

1 flagged
0.0.2

Indicators of compromise (SHA-256)

bc6d644278b07212bc574fef2c81d4a76422e4b6d743a0ddd4ec8a13e0e96958
6293a4bc05f2d4593012d0cf841d64692e896c7d99617f5c16175b9f48f665ca
1eecc46c96e9f4b74387d3e69b30d590e53f04f040137288f1a05ebf3f446ad9

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for ruby-playing_cards (version 0.0.2).

  2. If you installed it — respond

    Remove ruby-playing_cards from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If ruby-playing_cards was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. ruby-playing_cards on RubyGems has been identified as a malicious package (version 0.0.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2024-05823RLUA-2024-10344RLUA-2026-09087

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks ruby-playing_cards-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

ruby-playing_cards (RubyGems) malicious package — MAL-2024-7018 | O3 Security