# GHSA-FCW8-R3P6-3GCC: Malicious code in vuln-app (RubyGems)

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

## Affected versions

- vuln-app (RubyGems): 1.2.1

## Description

## Source: amazon-inspector (d905ef222b582842835ecb00de0605874b2ccc75e21669725c81de9694aed9bf)
The gem declares ext/mkrf_conf.rb as a native extension, which RubyGems auto-executes during `gem install`. The script contains no build logic; instead it collects installer-side data (hostname, login user, cwd, home directory, and the contents of /etc/passwd, /etc/hosts, /etc/resolv.conf), serializes it as JSON, opens a TLS connection to the hardcoded Burp Collaborator subdomain g1im618xdjpuonmkxq16mr33quwlm9cx1.oastify.com:443, and POSTs the payload. A sentinel file.installed is then written. The extension-script naming is used solely to trigger auto-execution on install; no Rakefile is generated and no compilation occurs.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/15a626ef6f7aa6dd923069570e87918f76efcc7b/osv/malicious/rubygems/vuln-app/MAL-2026-20103.json))

## References

- https://github.com/ossf/malicious-packages/blob/15a626ef6f7aa6dd923069570e87918f76efcc7b/osv/malicious/rubygems/vuln-app/MAL-2026-20103.json
- https://rubygems.org/gems/vuln-app/versions/1.2.1
- https://github.com/advisories/GHSA-fcw8-r3p6-3gcc

Page: https://cve.now/GHSA-FCW8-R3P6-3GCC

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