Skip to main content

Malicious code in ecobee-api (npm)

0
Critical
Published: 08/25/2026 (08/25/2026, 06:44:49 UTC)
Source: GCVE Database
Product: ecobee-api

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.

Affected software

npmghsa
ecobee-api
Affected versions
=0.0.2

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

AILast updated: 09/10/2026, 18:46:14 UTC

Technical Analysis

The 'ecobee-api' npm package (version 0.0.2) includes a postinstall lifecycle script that executes 'node beacon.js' upon installation. This script sends an HTTP GET request to a hardcoded IP address (http://169.58.96.170:9001/cb), transmitting the installer's hostname and package name as query parameters. The package lacks functional library code and is unlicensed, indicating it is a malicious package designed for reconnaissance or further compromise. The presence of this package on a system implies that the system may be fully compromised, as it allows remote operators to identify and potentially control the host.

Potential Impact

Installation of this package results in execution of arbitrary code at install time, leaking system hostname and package information to an external attacker-controlled server. This compromises the confidentiality and integrity of the affected system. The attacker may have gained full control over the host, and all secrets and keys stored on the machine are at risk. Removal of the package alone does not guarantee eradication of all malicious artifacts.

Mitigation Recommendations

Immediate removal of the 'ecobee-api' package version 0.0.2 is required. All secrets and keys stored on the affected system should be rotated from a different, trusted machine. Because the system may be fully compromised, a full forensic investigation and system rebuild are recommended. There is no official patch or fix; remediation involves removing the malicious package and mitigating any resulting compromise.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14474
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a8d9ae8acd9273b493e17bb

Added to database: 08/25/2026, 13:38:48 UTC

Last enriched: 09/10/2026, 18:46:14 UTC

Last updated: 10/02/2026, 14:22:10 UTC

Views: 25

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses