Skip to main content
MalwarePublished Updated

ecobee-api (npm) · Malicious Code

Affects ecobee-apiSource GCVE Database

0

Malicious package : remove ecobee-api and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:18 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14474

What to do

Remove ecobee-api 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

ProductAffectedFixed in
npmecobee-apiAffected
  • =0.0.2
  • =0.0.1
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 'ecobee-api' version 0.0.2 contains malicious code that executes during installation. It runs a postinstall script that sends the installer's hostname and package name to a hardcoded IP address over plain HTTP. The package does not provide any legitimate functionality and is likely a dependency confusion or typosquatting attempt. Systems with this package installed should be considered fully compromised.

References

Community reviews

Loading reviews…