MAL-2026-18766

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/dynamic-object-handler/MAL-2026-18766.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18766
Published
2026-11-08T09:39:48Z
Modified
2026-11-08T10:15:03Z
Summary
Malicious code in dynamic-object-handler (RubyGems)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (bb6afd419500201966e8ccb55d2f3c8ea28caae5ec8bfc59a87dcf19ca9d022b)

The 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.

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"
            ]
        }
    ]
}
References
Credits

Affected packages

RubyGems / dynamic-object-handler

Package

Name
dynamic-object-handler
Purl
pkg:gem/dynamic-object-handler

Affected ranges

Affected versions

1.*
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"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/dynamic-object-handler/MAL-2026-18766.json"