MAL-2026-21133: Malicious package uznex

Malicious package. 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...

Malicious code, RubyGems, CWE-506

Type
Malicious package
Ecosystem
RubyGems
Packages named
1 package
What to do
Remove and rotate secrets
Reported
4 Dec 2026

Details

Weakness
CWE-506
Published
4 Dec 2026
Last change
4 Dec 2026

Malicious packages

Remove these from every system and rotate credentials

  • uznex RubyGems, Every published version is malicious. Remove it

Advisories

Vendor and security advisories

Related