MAL-2026-21133

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/uznex/MAL-2026-21133.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21133
Published
2026-12-04T11:56:58Z
Modified
2026-12-04T12:30:17Z
Summary
Malicious code in uznex (RubyGems)
Details

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

Source: amazon-inspector (58714e58dc6e19906fe230b6e93ffca7067e07b77a123f826574f30b1c5d0acc)

The gemspec declares extensions: [extconf.rb], so extconf.rb executes automatically during gem install. The script collects the hostname, current working directory and username, filters the process environment for credential-shaped variable names (matching TOKEN, KEY, SECRET, AWS, CI, GITHUB, NPM, PASS, GEM), serializes the result as JSON and PUTs it to the hardcoded endpoint https://uznex-front.s3.eu-central-1.amazonaws.com. It then writes a stub Makefile so the build appears to succeed. No native source files are shipped, so the declared extension has no build purpose beyond executing this collection and upload path. CI tokens, cloud access keys and registry publishing credentials present in the build environment are harvested and leave the machine without user interaction.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023234",
            "import_time":  "2026-12-04T12:16:56.779146875Z",
            "modified_time":  "2026-12-04T11:56:58Z",
            "sha256":  "58714e58dc6e19906fe230b6e93ffca7067e07b77a123f826574f30b1c5d0acc",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

RubyGems / uznex

Package

Name
uznex
Purl
pkg:gem/uznex

Affected ranges

Affected versions

99.*
99.0.0

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":  "extconf.rb",
            "sha256":  "e5c73730b9ec7467c5a18f9482bebde4f580ffd7a6fe7360f10597c024f6f8bc",
            "tlsh":  "470175d3c324fd249b9591e73c1ab4113c53fe3c42602c11d85199d821c0c8e1363d64"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "uznex-99.0.0.gem",
            "hashes":  {
                "sha256":  "4205e76d374c9f8083f8cd9cc9e172dea78db05aaab2228bdbfaf0d9a66ac71f"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/uznex/MAL-2026-21133.json"