unifi-credential-server (npm) · Malicious Code
Affects unifi-credential-serverSource GCVE Database
Malicious package : remove unifi-credential-server and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 11:43 UTC
Malicious package
Published to npm · OSV MAL-2026-15692
What to do
Remove unifi-credential-server 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 |
|---|---|---|
npmunifi-credential-serverpkg:npm/unifi-credential-serverOther threats | 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 unifi-credential-server npm package version 99.0.0 contains malicious code that executes during installation. It collects sensitive environment and system information, encodes it, and exfiltrates the data via DNS queries and HTTPS requests to a hardcoded external domain. This package appears to be a dependency confusion attack lure targeting internal build environments.