# GHSA-CJV6-H9QM-8RH2: Malicious code in dynamic-object-handler (RubyGems)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-08
- Modified: 2026-11-08

## Affected versions

- dynamic-object-handler (RubyGems): 1.0.1

## Description

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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/452e31d9fc58339d97d3fd0a82ef67b846f63d34/osv/malicious/rubygems/dynamic-object-handler/MAL-2026-18766.json))

## References

- https://github.com/ossf/malicious-packages/blob/452e31d9fc58339d97d3fd0a82ef67b846f63d34/osv/malicious/rubygems/dynamic-object-handler/MAL-2026-18766.json
- https://rubygems.org/gems/dynamic-object-handler/versions/1.0.1
- https://github.com/advisories/GHSA-cjv6-h9qm-8rh2

Page: https://cve.now/GHSA-CJV6-H9QM-8RH2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
