-= Per source details. Do not edit below this line.=-
The gem declares an extension script in its gemspec, causing RubyGems to invoke it automatically during gem install. The script performs no native build work: it collects host identifiers (hostname, username, current working directory, home directory) and reads sensitive local files (/etc/passwd, /etc/hosts, /etc/resolv.conf), then opens a TLS TCPSocket to the hardcoded host e9okezgvlhxswlui5o94upb1ys4xsngc.oastify.com on port 443 and POSTs the collected JSON body to it. The destination is a Burp Collaborator out-of-band subdomain, not a publisher- or build-related endpoint, and the data read is unrelated to any compilation purpose.
The OpenSSF Package Analysis project identified 'node-test-repo' @ 1.0.1 (rubygems) as malicious.
It is considered malicious because:
{
"malicious-packages-origins": [
{
"import_time": "2026-11-17T09:37:05.760204947Z",
"modified_time": "2026-11-17T09:18:21Z",
"sha256": "013b3a9afde1d4c01bf70bfa34b03fc9ca0f6a08dbb0a91db6fdccc481214468",
"source": "ossf-package-analysis",
"versions": [
"1.0.1"
]
},
{
"id": "IN-MAL-2026-022824",
"import_time": "2026-11-18T00:30:52.060995195Z",
"modified_time": "2026-11-17T23:40:17Z",
"sha256": "39fc0f46ef530b718c8271a4a4495d4e766b227e821ff8ff949fd2b94062b0ae",
"source": "amazon-inspector",
"versions": [
"1.0.1"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "ext/mkrf_conf.rb",
"sha256": "9e32bb477cd5a7be8b7f4f7f5e213835d927c74207bdbe0da8ac3eac640133c0",
"tlsh": "cf11328c938c7c60db93886fd50c3142509fde46c5095536baac44a0ef2df7867324f5"
}
],
"package_integrity": [
{
"filename": "node-test-repo-1.0.1.gem",
"hashes": {
"sha256": "e2becb4938624d7d7fdcff4be66326eddbdf7e15755c1aa87ff097de4519876c"
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/node-test-repo/MAL-2026-20058.json"