Skip to main content

Malicious code in crypto-tax-export (RubyGems)

0
High
Published: 10/11/2026 (10/11/2026, 13:47:41 UTC)
Source: GCVE Database
Product: crypto-tax-export

Description

The RubyGem 'crypto-tax-export' version 0.9.1 contains malicious code embedded in its native-extension build script. During installation, it performs sandbox evasion checks and, if it detects a real developer environment, it launches a delayed reverse shell to a hardcoded IP address. The gem's main code lacks legitimate functionality and appears to be a cover for the malicious payload.

Affected software

RubyGemsghsa
crypto-tax-export
Affected versions
=0.9.1

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

AILast updated: 10/11/2026, 21:45:14 UTC

Technical Analysis

The 'crypto-tax-export' RubyGem version 0.9.1 includes a native-extension build script (ext/crypto_tax_export/extconf.rb) that executes during 'gem install'. This script performs multiple sandbox and analysis evasion checks such as detecting CI environment variables, ephemeral hostnames and usernames, known analysis paths, short system uptime, and presence of developer-specific files. If these checks indicate a real developer environment, the script double-forks a detached daemon that sleeps for a randomized 20-40 minutes before executing a Base64-decoded payload. This payload opens a reverse shell via /bin/sh to a hardcoded IP address (45.138.12.177) on port 8089, attempting to maintain persistence via a reconnect loop. The rest of the gem's code is trivial and unrelated to its advertised functionality, indicating the gem is a malicious package masquerading as a legitimate tax export tool.

Potential Impact

If installed, the gem can provide an attacker with remote shell access to the affected system, potentially allowing unauthorized control and further compromise. The delayed execution and sandbox evasion techniques increase the likelihood of bypassing automated detection and analysis. The malicious code targets developer workstations, which may have sensitive credentials or access to critical infrastructure.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the 'crypto-tax-export' gem version 0.9.1. Remove any installations of this gem immediately. Monitor systems for unusual outbound connections to the IP 45.138.12.177 on port 8089. Employ network-level blocking of this IP and port if possible. Use trusted sources for RubyGems and verify package integrity before installation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17782
Osv Schema Version
1.7.4
Ecosystems
["RubyGems"]

Threat ID: 6acc00a32cdf04f656fecb3e

Added to database: 10/11/2026, 21:33:23 UTC

Last enriched: 10/11/2026, 21:45:14 UTC

Last updated: 10/11/2026, 21:45:14 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses