# MAL-2026-20058: Malicious code in node-test-repo (RubyGems)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-11-17
- Modified: 2026-11-18

## Affected versions

- node-test-repo (RubyGems): 1.0.1

## Description

The gem declares an extension script in its gemspec, causing RubyGems to invoke it automatically during `gem install`. The script performs no native build work: it collects host identifiers (hostname, username, current working directory, home directory) and reads sensitive local files (/etc/passwd, /etc/hosts, /etc/resolv.conf), then opens a TLS TCPSocket to the hardcoded host e9okezgvlhxswlui5o94upb1ys4xsngc.oastify.com on port 443 and POSTs the collected JSON body to it. The destination is a Burp Collaborator out-of-band subdomain, not a publisher- or build-related endpoint, and the data read is unrelated to any compilation purpose.

The OpenSSF Package Analysis project identified 'node-test-repo' @ 1.0.1 (rubygems) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

## References

- https://rubygems.org/gems/node-test-repo/versions/1.0.1

Page: https://cve.now/MAL-2026-20058

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