uznex-api-doc (RubyGems) · Malicious Code
Affects uznex-api-docSource GCVE Database
Malicious package : remove uznex-api-doc and rotate any secrets on hosts that installed it.
Data as of 4 Dec 2026, 14:15 UTC
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
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsuznex-api-doc | Affected
| 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.