The first-chat background task can silently install a newer companion package globally unless the user has configured an opt-out. This is an undisclosed automatic update capability, so the package merits a warning; no credential theft or unrelated data collection was found.
Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source
Trigger
The first chat.message after the plugin starts.
Impact
The installed companion package can change or run code through npm installation outside the project without the user explicitly requesting an update.
Mechanism
Checks the npm registry and, by default, runs npm install -g for a newer @boyingliu01/xp-gate version; autoUpgrade:false disables the install.
Evidence
index.tspackage.json~/.xp-gate/xp-gate-version-check.json~/.xp-gate/xp-gate-version-check.json.tmp~/.xp-gate/opencode-plugin-version-check.json~/.xp-gate/upgrade-notice.jsonglobal npm installation of @boyingliu01/xp-gate