MAL-2026-18766Malicious code in dynamic-object-handler (RubyGems)
| Ecosystem | Package | Version |
|---|---|---|
| RubyGems | dynamic-object-handler | 1.0.1 |
{"modified":"2026-11-08T09:39:48Z","published":"2026-11-08T09:39:48Z","schema_version":"1.7.4","id":"MAL-2026-18766","summary":"Malicious code in dynamic-object-handler (RubyGems)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bb6afd419500201966e8ccb55d2f3c8ea28caae5ec8bfc59a87dcf19ca9d022b)\nThe gem declares mkrf_conf.rb as a native extension in metadata.yaml, causing it to execute automatically during `gem install`. The script collects the installer's current working directory, home directory path, hostname, login name, and the contents of /etc/resolv.conf, /etc/passwd, and /etc/hosts, then opens a TCP+TLS connection to the hardcoded Burp Collaborator subdomain unl0sfubzxb8a18yj4nk85phc8i66wul.oastify.com on port 443 and POSTs the collected data. A DNS resolution of the same oastify.com subdomain is issued first, producing an out-of-band DNS callback that confirms code execution on the installer's host even when outbound TCP/443 is blocked. The oastify.com domain is PortSwigger's OAST (Burp Collaborator) service, used to receive attacker-controlled callbacks; it has no first-party relationship to the gem's advertised purpose.\n","affected":[{"package":{"ecosystem":"RubyGems","name":"dynamic-object-handler"},"versions":["1.0.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":"0d376e4b3b70b7c67594d19d093f113081fd90ce680d3c4be6d7fac8177efbd3","tlsh":"b411028893857e60bb5384afe24c7151549bdd4ec6096424ff990ca0ef7db6c63205f6"}],"package_integrity":[{"filename":"dynamic-object-handler-1.0.1.gem","hashes":{"sha256":"88e1d605f585b66c0e59cdf9a823508179294c95288b8457be661d1bf3564370"}}]}}}],"references":[{"type":"PACKAGE","url":"https://rubygems.org/gems/dynamic-object-handler/versions/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-022568","import_time":"2026-11-08T10:11:09.235147798Z","modified_time":"2026-11-08T09:39:48Z","sha256":"bb6afd419500201966e8ccb55d2f3c8ea28caae5ec8bfc59a87dcf19ca9d022b","source":"amazon-inspector","versions":["1.0.1"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0