NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

uznex-api-docRubyGems

Advisory published Updated

uznex-api-doc is a confirmed malicious RubyGems package (MAL-2026-21134) that steals credentials and exfiltrates sensitive data (malicious versions 99.0.0, 99.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in uznex-api-doc (RubyGems)

MAL-2026-21134
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
gem uninstall uznex-api-doc

What this malware does

The gemspec declares extconf.rb in its extensions: list, so the script runs automatically during gem install. The script collects the hostname, current working directory and username, and builds a filtered dump of environment variables whose names match TOKEN, KEY, SECRET, AWS, CI, GITHUB, NPM, PASS or GEM patterns, then PUTs the result as JSON to the hardcoded bucket https://uznex-front.s3.eu-central-1.amazonaws.com. It subsequently writes a stub Makefile so the native build appears to succeed without compiling anything, and no real native source tree is built. Developer and CI environments routinely hold cloud, registry and VCS tokens in these variables, so installing the gem discloses credential-grade secrets and host identifiers to a third-party destination with no opt-in and no relation to any declared build requirement.

Malicious versions

2 flagged
99.0.099.0.1

Indicators of compromise (SHA-256)

ccde29e74cae8ccd23ad199a540d8029cfc98eb0b3318249dadfc467627c52aa
d4acfad299a2c9f1296dc21382f99c6a4be5bec735f83b37789436ba5f42c315

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for uznex-api-doc (2 malicious versions).

  2. If you installed it — respond

    uznex-api-doc is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If uznex-api-doc was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. uznex-api-doc on RubyGems has been identified as a malicious package (versions 99.0.0, 99.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023235IN-MAL-2026-023236

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks uznex-api-doc-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

uznex-api-doc (RubyGems) malicious package — MAL-2026-21134 | O3 Security