Malicious code in web3-signer-kit (RubyGems)
Description
The web3-signer-kit RubyGem version 0.9.1 contains malicious code embedded in its extconf.rb file. During gem installation, it decodes and executes a base64 payload that establishes a remote shell connection to a hardcoded IP address, enabling full remote code execution. The payload includes sandbox evasion techniques and requires the presence of developer artifacts before activating. The gem itself has no legitimate functionality and acts as a decoy to deliver this malicious payload.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The web3-signer-kit RubyGem version 0.9.1 includes a malicious extconf.rb script that, upon installation, decodes and evals a base64-encoded payload. This payload creates a TCP socket connection to 45.138.12.177:8089 and bridges a /bin/sh shell over the socket, allowing remote code execution by the attacker controlling that endpoint. The execution is delayed by a randomized sleep and gated by sandbox evasion checks that look for CI environments, ephemeral hosts, analyst usernames, and require developer artifacts such as ~/.ssh, ~/.gitconfig, and ~/.gem/credentials. The gem provides no real functionality and serves solely as a dropper for this backdoor.
Potential Impact
Successful installation of this gem on a developer or analyst machine can lead to full remote code execution by an attacker, compromising the host system. The attacker gains a remote shell with the privileges of the installing user. The evasion techniques reduce the likelihood of detection in automated or sandboxed environments but do not eliminate risk on targeted developer machines.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the web3-signer-kit gem version 0.9.1. Remove any instances of this gem from systems and audit for signs of compromise if it was installed. Monitor for connections to the IP 45.138.12.177 on port 8089. Since this is a malicious package, rely on trusted sources and verify package integrity before installation. Patch status is not yet confirmed — check the vendor advisory or RubyGems security notices for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17801
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["RubyGems"]
Threat ID: 6acc00a32cdf04f656fecb37
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:44:45 UTC
Last updated: 10/11/2026, 21:44:45 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.