Malicious code in seed-phrase-validator (RubyGems)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fb8d12a066c24d672bf16efe57267c46c727592ee21beb0e2accb3bb6e4bfb3a) 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. ## Source: ossf-package-analysis (260c8de6b9fe5e7e977be76b41bc4f7378162aec30f7ef564a9c1760c1b64344) The OpenSSF Package Analysis project identified 'seed-phrase-validator' @ 0.9.1 (rubygems) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.
- Products
- seed-phrase-validator
- Affected versions
- 0.9.1
- Fixed versions
- Not specified
- CVEs
- Not specified
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 11:12 UTC · Revision 1
Source evidence
Malicious code in seed-phrase-validator (RubyGems)
core-osv · Original sourcePublished 11 Oct 2026, 07:35 UTC
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fb8d12a066c24d672bf16efe57267c46c727592ee21beb0e2accb3bb6e4bfb3a) 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. ## Source: ossf-package-analysis (260c8de6b9fe5e7e977be76b41bc4f7378162aec30f7ef564a9c1760c1b64344) The OpenSSF Package Analysis project identified 'seed-phrase-validator' @ 0.9.1 (rubygems) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.
osv:MAL-2026-17794
seed-phrase-validator
Fixed versions: Not specified
Complete source record
{
"id": "9afe0d96973ec4ebfedb8ad27eddea5b3d752e390338ff07cc635534336ec96f",
"url": "https://osv.dev/vulnerability/MAL-2026-17794",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Malicious code in seed-phrase-validator (RubyGems)",
"summary": "--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fb8d12a066c24d672bf16efe57267c46c727592ee21beb0e2accb3bb6e4bfb3a) 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. ## Source: ossf-package-analysis (260c8de6b9fe5e7e977be76b41bc4f7378162aec30f7ef564a9c1760c1b64344) The OpenSSF Package Analysis project identified 'seed-phrase-validator' @ 0.9.1 (rubygems) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.",
"evidence": "osv:MAL-2026-17794",
"products": [
{
"name": {
"value": "seed-phrase-validator",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.9.1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "unknown",
"structured": {
"id": "MAL-2026-17794",
"aliases": [
"MAL-2026-17794"
],
"affected": [
{
"package": {
"name": "seed-phrase-validator",
"purl": "pkg:gem/seed-phrase-validator",
"ecosystem": "RubyGems"
},
"versions": [
"0.9.1"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/seed-phrase-validator/MAL-2026-17794.json",
"indicators": {
"evidence_files": [
{
"path": "ext/seed_phrase_validator/extconf.rb",
"tlsh": "9751775acf8359e55aa1c0c045798012faa3ab0a50646875f3ee0868ff59b26c0f12fe",
"sha256": "10218e975f54a4f11fe3954e1b584a5f05054003bf5773c3c2b8cceaa74ba763"
},
{
"path": "metadata.yaml",
"tlsh": "4121d3c0e78be836fc04e2f668802247e3e7d20ebd552921d9d783c623c5ab91b07165",
"sha256": "040908c7f679de85ab5da8186de07b6157de3a34945d871298d9c867a7eac559"
}
]
}
}
}
],
"modified": "2026-10-13T23:30:06.213000445Z",
"provider": "osv",
"references": [
"https://rubygems.org/gems/seed-phrase-validator/versions/0.9.1"
],
"provider_metadata": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-021356",
"sha256": "fb8d12a066c24d672bf16efe57267c46c727592ee21beb0e2accb3bb6e4bfb3a",
"source": "amazon-inspector",
"versions": [
"0.9.1"
],
"import_time": "2026-10-11T14:17:58.83042015Z",
"modified_time": "2026-10-11T13:46:51Z"
},
{
"sha256": "260c8de6b9fe5e7e977be76b41bc4f7378162aec30f7ef564a9c1760c1b64344",
"source": "ossf-package-analysis",
"versions": [
"0.9.1"
],
"import_time": "2026-10-13T23:14:38.523027353Z",
"modified_time": "2026-10-11T07:35:30Z"
}
]
}
},
"related_cves": [],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 313752,
"published_at": "2026-10-11T07:35:30+00:00"
}