The plugin automatically installs newer versions of its companion XP-Gate CLI globally on the first chat message, with only a configuration opt-out and no confirmation. This is a related update feature, but the unattended installation of code absent from this snapshot warrants a warning.
Static reason
No blocking static signals were detected.
Trigger
Automatically on the first chat.message after the plugin starts, when a global XP-Gate installation is present and outdated.
Impact
Installs and runs code from a newly published version of the companion CLI without a confirmation prompt; that version's contents are not included in this package snapshot.
Mechanism
Fetches the latest version from registry.npmjs.org and runs npm install -g for @boyingliu01/xp-gate. The update can be disabled through autoUpgrade: false in ~/.xp-gate/config.json.
Evidence
index.tspackage.json~/.xp-gate/config.json~/.xp-gate/xp-gate-version-check.json~/.xp-gate/upgrade-notice.json