authmatrix (npm) · Malicious Code
Affects authmatrixSource GCVE Database
Malicious package : remove authmatrix and rotate any secrets on hosts that installed it.
Data as of 10 Jul 2026, 13:05 UTC
Malicious package
Published to npm · OSV MAL-2026-6656
What to do
Remove authmatrix 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 |
|---|---|---|
| npmauthmatrix | 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 npm package 'authmatrix' is a malicious supply-chain dropper disguised as an authentication utility but is actually a copy of the pino logger. It attempts to silently install and execute an undeclared external package 'ssr-auth-sync' at runtime, leading to arbitrary code execution. This behavior compromises any system that installs or runs the package. Immediate removal and secret/key rotation are advised due to potential full system compromise.