Advisory

MAL-2026-17782

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in crypto-tax-export (RubyGems)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (d2481974cbcc361b29455129afea878124dafde18097efca0a87235df57f3bea)
The gem's native-extension build script ext/crypto_tax_export/extconf.rb runs during gem install. Before executing its payload it performs sandbox/analysis-evasion checks (CI environment variables, ephemeral/generated hostnames and usernames, known analysis paths, system uptime under 30 minutes, and presence of developer-signal files such as ~/.ssh, ~/.gem/credentials, and ~/.gitconfig). When those checks indicate a real developer workstation, it double-forks a detached, stdio-closed daemon that sleeps a randomized 20-40 minutes and then executes eval(Base64.decode64(...)) on an embedded payload that opens a /bin/sh reverse shell via TCPSocket to the hardcoded bare IP 45.138.12.177:8089 in a reconnect loop. The create_makefile call is a stub targeting an unrelated name (bitcoin_rpc_lite_native), the shipped lib/crypto_tax_export.rb contains only trivial VERSION/build_id/healthy? methods with no tax-export functionality, and the README is for a different package (bitcoin-rpc-lite), indicating the extension script is the gem's sole purpose and the advertised identity is cover.

Severity

Not rated by the source.

Dates

Published
2026-10-11 13:47 UTC
Modified
2026-10-11 14:30 UTC

Affected packages and fixes

crypto-tax-export

RubyGems · All systems

Affected

  • Versions: 0.9.1

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences