The plugin automatically installs a newer global @boyingliu01/xp-gate version on first chat activity, with only a config opt-out and no confirmation. This is a real but purpose-related update behavior, so it warrants a warning rather than a malicious verdict.
Static reason
No blocking static signals were detected.
Trigger
First chat.message after the plugin starts, provided @boyingliu01/xp-gate is globally installed, outdated, and autoUpgrade is not false in ~/.xp-gate/config.json.
Impact
Changes the user's globally installed CLI without an explicit update request; the plugin reports the result afterward.
Mechanism
Checks the npm registry for the latest version, then invokes npm install -g @boyingliu01/xp-gate@<version> without confirmation. It writes version-check and upgrade notice cache files.
Evidence
index.tspackage.json~/.xp-gate/config.json~/.xp-gate/xp-gate-version-check.json~/.xp-gate/xp-gate-version-check.json.tmp~/.xp-gate/upgrade-notice.jsonglobal npm installation of @boyingliu01/xp-gate