MAL-2026-21133: Malicious code in uznex (RubyGems)
--- -= 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.
Affected Software
Event History
Frequently Asked Questions
Which environments are most exposed?
Build and CI environments are especially exposed because installation can collect credential-shaped environment variables, including names containing AWS, CI, GITHUB, NPM, GEM, TOKEN, KEY, SECRET, or PASS. Cloud credentials, CI tokens, and registry publishing credentials present during installation may be included.
Does the gem need to be loaded or used after installation for collection to occur?
No. The declared extconf.rb extension runs automatically during gem installation, and the collection and upload occur through that script.
What should responders look for when assessing possible data exposure?
Check whether uznex version 99.0.0 was installed and review available network records for PUT requests to https://uznex-front.s3.eu-central-1.amazonaws.com. The transmitted data includes the hostname, current working directory, username, and selected environment variables.
Why might an installation appear to complete normally?
After collecting and uploading data, the script writes a stub Makefile so the extension build appears to succeed. The package ships no native source files, so the declared extension has no stated build purpose beyond executing this path.