ecobee2 (npm) · Malicious Code
Affects ecobee2Source GCVE Database
Malicious package : remove ecobee2 and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-14476
What to do
Remove ecobee2 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 |
|---|---|---|
| npmecobee2 | 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 'ecobee2' version 0.0.2 contains malicious code that executes automatically upon installation. It runs a script that sends the host's identity information to a hardcoded external IP address over unencrypted HTTP. This behavior is undocumented and suspicious, indicating a compromise. Systems with this package installed should be considered fully compromised, and all secrets and keys on the system should be rotated from a separate, trusted machine.