The manifest has no install-time hook, and the runtime network requests check versions on npm for the plugin and its related CLI. The automatic CLI update is a disclosed-in-code, opt-out convenience for the package’s stated purpose; no unrelated collection or harmful behavior was found.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message event in a plugin session.
Impact
An outdated global xp-gate installation may be updated; no unrelated data collection or malicious action was identified.
Mechanism
Checks the global xp-gate version against npm and, if outdated, runs npm install -g for that package. The autoUpgrade setting can disable this behavior.
Evidence
~/.xp-gate/config.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/%40boyingliu01%2Fxp-gate/dist-tagsregistry.npmjs.org/-/package/@boyingliu01%2Fopencode-plugin/dist-tags