# GHSA-8V7Q-MRX4-JVFG: Malicious code in dopc-client (RubyGems)

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

## Affected versions

- dopc-client (RubyGems): 1.0.0
- dopc-client (RubyGems): 10.0.0

## Description

## Source: amazon-inspector (0ecbe68fef68472dcc1e9778859b71dcba31c06e8db799d75bb95c013f6ab1da)
On `require 'dopc-client'`, lib/dopc-client.rb issues a plaintext HTTP GET to the hardcoded bare IP 38.242.235.206 at path /depconf/dopc-client/require with query parameters carrying the installer's OS username (ENV['USER']), hostname (Socket.gethostname), and current working directory (Dir.pwd). The call fires as a top-level side effect of loading the gem, errors are swallowed, and the destination is a plaintext bare IP unrelated to any declared publisher infrastructure. Inline comments and the gemspec description frame the call as a 'benign beacon' / 'defensive placeholder'; the author-controlled self-label does not change the observed behavior — installer-identifying fields are shipped to a third-party endpoint the caller did not configure or opt into.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b5a89d621b6ae82ea63cb4a632ed62a86209b7f8/osv/malicious/rubygems/dopc-client/MAL-2026-18518.json))

## References

- https://github.com/ossf/malicious-packages/blob/b5a89d621b6ae82ea63cb4a632ed62a86209b7f8/osv/malicious/rubygems/dopc-client/MAL-2026-18518.json
- https://rubygems.org/gems/dopc-client/versions/1.0.0
- https://rubygems.org/gems/dopc-client/versions/10.0.0
- https://github.com/advisories/GHSA-8v7q-mrx4-jvfg

Page: https://cve.now/GHSA-8V7Q-MRX4-JVFG

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