The package’s main risk is an undocumented default behavior that can update the global XP-Gate CLI and execute its installation behavior on the first chat message. The update is for the plugin’s related product on npm, so the source does not establish malicious intent, but the default global install warrants a warning.
Static reason
No blocking static signals were detected.
Trigger
The first chat.message event after the plugin starts; the update runs unless autoUpgrade is set to false.
Impact
A plugin configured for quality gates can modify the global CLI installation and execute its package installation behavior without a separate update request.
Mechanism
Checks npm dist-tags and, if the globally installed XP-Gate CLI is behind, runs npm install -g for that package version.
Evidence
index.tspackage.json~/.xp-gate/xp-gate-version-check.json~/.xp-gate/opencode-plugin-version-check.json~/.xp-gate/upgrade-notice.jsonglobal npm installation of @boyingliu01/xp-gate
Network endpoints2
/-/package/@boyingliu01/xp-gate/dist-tags