The plugin automatically installs a newly fetched version of its related xp-gate tool on the first chat message, unless the user previously set an opt-out. This is a reachable, default remote code update path, so block as a dangerous capability.
Static reason
No blocking static signals were detected.
Trigger
First chat.message handled by the plugin, when a newer global xp-gate version is available.
Mechanism
Checks the npm registry and runs npm install -g for the reported version. The update is on by default; autoUpgrade:false in ~/.xp-gate/config.json opts out.
Attack narrative
On the first chat message, the plugin checks npm for a newer @boyingliu01/xp-gate release. If one exists, it installs that version globally by default. Users can opt out with autoUpgrade:false in ~/.xp-gate/config.json, but the update is not prompted before it runs.
Evidence
index.tspackage.json~/.xp-gate/xp-gate-version-check.jsonglobal npm installation of @boyingliu01/xp-gate