-= Per source details. Do not edit below this line.=-
The gem declares a native extension but ships no C/C++/Rust source. extconf.rb exists solely to execute at gem install time. It decodes a base64-encoded Ruby payload and runs it via eval inside a detached fork (Process.setsid, randomized sleep of 1200+rand(1200) seconds) so execution survives the install process. The decoded payload opens a TCP socket to the hardcoded bare IP 45.138.12.177:8089 and bridges it to /bin/sh, giving an interactive remote shell on the installer's host. Execution is gated by anti-analysis checks that skip CI runners, ephemeral/sandbox hosts, generated usernames, analysis paths, and low-uptime machines, firing only when developer artifacts such as ~/.ssh, ~/.gitconfig, ~/.npmrc, ~/.gem/credentials, or ~/.bundle are present on the host. Package identity is inconsistent: the gem is named seed-phrase-validator, the README is titled bitcoin-rpc-lite, and the makefile target is bitcoin_rpc_lite_native, with no matching native sources in the tree.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021356",
"import_time": "2026-10-11T14:17:58.83042015Z",
"modified_time": "2026-10-11T13:46:51Z",
"sha256": "fb8d12a066c24d672bf16efe57267c46c727592ee21beb0e2accb3bb6e4bfb3a",
"source": "amazon-inspector",
"versions": [
"0.9.1"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "ext/seed_phrase_validator/extconf.rb",
"sha256": "10218e975f54a4f11fe3954e1b584a5f05054003bf5773c3c2b8cceaa74ba763",
"tlsh": "9751775acf8359e55aa1c0c045798012faa3ab0a50646875f3ee0868ff59b26c0f12fe"
},
{
"path": "metadata.yaml",
"sha256": "040908c7f679de85ab5da8186de07b6157de3a34945d871298d9c867a7eac559",
"tlsh": "4121d3c0e78be836fc04e2f668802247e3e7d20ebd552921d9d783c623c5ab91b07165"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/seed-phrase-validator/MAL-2026-17794.json"