btrez-logger (npm) · Malicious Code
Affects btrez-loggerSource GCVE Database
Malicious package : remove btrez-logger and rotate any secrets on hosts that installed it.
Data as of 21 Nov 2026, 03:57 UTC
Malicious package
Published to npm · OSV MAL-2025-41539
What to do
Remove btrez-logger 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 |
|---|---|---|
npmbtrez-loggerpkg:npm/btrez-loggerOther 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 btrez-logger npm package versions 5.0.7, 5.1.0, and 5.1.1 contain malicious code. This threat involves a malicious package distributed via the npm ecosystem, potentially impacting users who install these specific versions.