MAL-2026-20103

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/vuln-app/MAL-2026-20103.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20103
Published
2026-11-17T23:40:25Z
Modified
2026-11-18T00:45:12Z
Summary
Malicious code in vuln-app (RubyGems)
Details

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

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.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-022825",
            "import_time":  "2026-11-18T00:30:52.18511177Z",
            "modified_time":  "2026-11-17T23:40:25Z",
            "sha256":  "d905ef222b582842835ecb00de0605874b2ccc75e21669725c81de9694aed9bf",
            "source":  "amazon-inspector",
            "versions":  [
                "1.2.1"
            ]
        }
    ]
}
References
Credits

Affected packages

RubyGems / vuln-app

Package

Name
vuln-app
Purl
pkg:gem/vuln-app

Affected ranges

Affected versions

1.*
1.2.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":  "866bc8b95aa509d24f5a81b6304dfe96412fd1745b018be0037260cad62d8c34",
            "tlsh":  "aa1132cc53c97c655b9a88afd50d20425087ce47c6091831bb8944a4cf7eb3873325f9"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "vuln-app-1.2.1.gem",
            "hashes":  {
                "sha256":  "3f7bb02067a0d0afae1b12776421ae826cf726e2c4dc296363ed4342529b47e6"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/vuln-app/MAL-2026-20103.json"