MAL-2026-21133 Malicious code in uznex (RubyGems)
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Cloud Platforms
Description
-= 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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| rubygems uznex(RubyGems) | = 99.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems uznex(RubyGems) | = 99.0.0 | No fix listed |
References
- rubygems.org product