The first chat message can trigger a global update of the related XP-Gate CLI without a specific user request, and the README does not disclose this default behavior. The related package and official npm source make this a warning-level concern rather than evidence of a malicious payload.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message event after the plugin starts.
Impact
A package update can execute new CLI code globally without a specific user request; the behavior is not disclosed in the README.
Mechanism
It checks npm registry version metadata and, by default, invokes npm install -g for a newer @boyingliu01/xp-gate release. The user must set autoUpgrade to false to disable installation.
Evidence
index.tspackage.jsonREADME.md~/.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