Skip to main content
MalwarePublished

uznex-api-doc (RubyGems) · Malicious Code

Affects uznex-api-docSource GCVE Database

0

Malicious package : remove uznex-api-doc and rotate any secrets on hosts that installed it.

Data as of 4 Dec 2026, 14:15 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-21134

What to do

Remove uznex-api-doc from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
RubyGemsuznex-api-docAffected
  • =99.0.1
  • =99.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The RubyGem 'uznex-api-doc' versions 99.0.0 and 99.0.1 contain malicious code that executes during installation. This code collects sensitive environment variables related to credentials and host information, then exfiltrates this data to a hardcoded third-party Amazon S3 bucket without user consent. The malicious script disguises its activity by faking a successful native build, potentially exposing developer and CI environment secrets.

References

Community reviews

Loading reviews…