The package performs an automatic global update of its companion CLI on first chat activity, which executes newly published package code without a separate update request. The target is related to the plugin’s purpose and the check uses npm, so this is a warning-level capability rather than evidence of malicious behavior.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message event after the plugin loads, when an older global XP-Gate CLI is found and autoUpgrade is not false.
Impact
Runs the newly published companion CLI package’s install and runtime code in the user environment; users can disable this through ~/.xp-gate/config.json.
Mechanism
Checks npm version metadata, then runs npm install -g @boyingliu01/xp-gate@<version> and records version-check data.
Evidence
index.tspackage.json~/.xp-gate/xp-gate-version-check.json~/.xp-gate/opencode-plugin-version-check.json~/.xp-gate/upgrade-notice.jsonglobal npm package directory for @boyingliu01/xp-gate
Network endpoints2
/-/package/@boyingliu01%2Fxp-gate/dist-tags