The plugin automatically updates its related global CLI on the first chat message, with opt-out rather than opt-in control. This is a meaningful default capability that can modify the user’s global npm installation, but the source does not show unrelated data collection or malicious payload behavior.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message event after the plugin starts.
Impact
This can change the user’s global npm installation without a separate upgrade request. The behavior is disclosed through an upgrade notification, but auto-upgrade is enabled by default.
Mechanism
It checks the npm registry and, if the global XP-Gate CLI is outdated, runs npm install -g unless a config file explicitly opts out.
Evidence
index.tspackage.json~/.xp-gate/xp-gate-version-check.json~/.xp-gate/opencode-plugin-version-check.json~/.xp-gate/upgrade-notice.json
Network endpoints2
registry.npmjs.org/-/package/@boyingliu01%2Fxp-gate/dist-tags/-/package/@boyingliu01%2Fopencode-plugin/dist-tags