The updater targets a related CLI from the npm registry, and no credential theft or unrelated payload was identified. However, it can silently change a global installation by default, so this is a consent-related capability users should know about.
Static reason
No blocking static signals were detected.
Trigger
First chat message after the plugin starts, when a newer XP-Gate CLI version is available and auto-upgrade has not been disabled.
Impact
Changes the user's global XP-Gate installation and executes newly installed package code without a separate upgrade request.
Mechanism
Checks the npm registry and invokes `npm install -g` for the selected XP-Gate version; the opt-out is `autoUpgrade: false`.
Evidence
index.ts~/.xp-gate/xp-gate-version-check.json~/.xp-gate/config.jsonGlobal npm installation of @boyingliu01/xp-gate
Network endpoints1
registry.npmjs.org/-/package/${encodeURIComponent(XP_GATE_NPM_PKG)}/dist-tags