This plugin automatically updates its companion CLI globally on the first chat message unless a separate opt-out is configured. The update targets the product's own package and sends no user data, so this is a warning about an undisclosed default update rather than evidence of malicious data theft.
Static reason
No blocking static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
The first chat.message after the plugin starts.
Impact
A registry release can replace the user's globally installed CLI and run its package install behavior without a specific update request.
Mechanism
It checks the npm registry for a newer XP-Gate version and, unless the user has set autoUpgrade to false, runs npm install -g for that version.
Evidence
index.ts~/.xp-gate/xp-gate-version-check.json~/.xp-gate/opencode-plugin-version-check.json${npm root -g}/@boyingliu01/xp-gate