Malicious code in ecobee2 (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'ecobee2' npm package version 0.0.2 includes a post-install script ('beacon.js') that executes automatically during installation. This script performs an HTTP GET request to a hardcoded IP address (http://169.58.96.170:9001/cb), transmitting the installer's hostname and package name in the query string over cleartext HTTP. The package README does not document any legitimate reason for this network activity. The presence of this behavior indicates that the package is malicious and compromises the host system.
Potential Impact
Installation of this package results in disclosure of host identity information to an external attacker-controlled server. The package is considered fully compromising the host, potentially allowing attackers full control. Any secrets or keys stored on the compromised system are at risk and should be rotated immediately. Removing the package alone may not eliminate all malicious components or backdoors introduced.
Defensive Guidance
Remove the 'ecobee2' package immediately from affected systems. Consider all systems with this package installed as fully compromised. Rotate all secrets and keys from a separate, trusted system. Because the package grants potential full control to an attacker, a full system compromise response and forensic analysis are recommended. No official patch or fix is available; remediation involves removal and incident response.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14476
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a8d9ae8acd9273b493e17b9
Added to database: 08/25/2026, 13:38:48 UTC
Last enriched: 09/10/2026, 19:17:20 UTC
Last updated: 10/02/2026, 14:22:10 UTC
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.