Files
vuln-osv/data/RubyGems/MAL-2026-20103.json
T

1 line
2.2 KiB
JSON

{"schema_version":"1.9.2","id":"MAL-2026-20103","published":"2026-11-17T23:40:25Z","modified":"2026-11-18T00:45:12.072166295Z","summary":"Malicious code in vuln-app (RubyGems)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d905ef222b582842835ecb00de0605874b2ccc75e21669725c81de9694aed9bf)\nThe gem declares ext/mkrf_conf.rb as a native extension, which RubyGems auto-executes during `gem install`. The script contains no build logic; instead it collects installer-side data (hostname, login user, cwd, home directory, and the contents of /etc/passwd, /etc/hosts, /etc/resolv.conf), serializes it as JSON, opens a TLS connection to the hardcoded Burp Collaborator subdomain g1im618xdjpuonmkxq16mr33quwlm9cx1.oastify.com:443, and POSTs the payload. A sentinel file.installed is then written. The extension-script naming is used solely to trigger auto-execution on install; no Rakefile is generated and no compilation occurs.\n","affected":[{"package":{"name":"vuln-app","ecosystem":"RubyGems","purl":"pkg:gem/vuln-app"},"versions":["1.2.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"ext/mkrf_conf.rb","sha256":"866bc8b95aa509d24f5a81b6304dfe96412fd1745b018be0037260cad62d8c34","tlsh":"aa1132cc53c97c655b9a88afd50d20425087ce47c6091831bb8944a4cf7eb3873325f9"}],"package_integrity":[{"filename":"vuln-app-1.2.1.gem","hashes":{"sha256":"3f7bb02067a0d0afae1b12776421ae826cf726e2c4dc296363ed4342529b47e6"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/vuln-app/MAL-2026-20103.json"}}],"references":[{"type":"PACKAGE","url":"https://rubygems.org/gems/vuln-app/versions/1.2.1"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-022825","import_time":"2026-11-18T00:30:52.18511177Z","modified_time":"2026-11-17T23:40:25Z","sha256":"d905ef222b582842835ecb00de0605874b2ccc75e21669725c81de9694aed9bf","source":"amazon-inspector","versions":["1.2.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}