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

telegram-bot_middlewareRubyGems

Advisory published Updated

telegram-bot_middleware is a confirmed malicious RubyGems package (MAL-2024-7034) that executes malicious code on install (malicious version 0.3.2). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in telegram-bot_middleware (RubyGems)

MAL-2024-7034
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
gem uninstall telegram-bot_middleware

Malicious versions

1 flagged
0.3.2

Indicators of compromise (SHA-256)

97484178a2d7a2a5c63c4ae6352ac5e2a1005bdf5b03f7c2688d51fdb94a3699
e5f1dba35082ea3c89b63e465d3812f87b14d2f9060acb511331b6a4a45bb0b1
684b787ab14aa701d3106f6f35255a21ddd532b42e5edf1c9ae7b35635358c1c

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for telegram-bot_middleware (version 0.3.2).

  2. If you installed it — respond

    Remove telegram-bot_middleware 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 telegram-bot_middleware 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. telegram-bot_middleware on RubyGems has been identified as a malicious package (version 0.3.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2024-05839RLUA-2024-10360RLUA-2026-09536

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks telegram-bot_middleware-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

telegram-bot_middleware (RubyGems) malicious package — MAL-2024-7034 | O3 Security