The automatic global self-update and restart is an unprompted dangerous capability, so warn rather than block. The prepare hook is Husky setup, and the workspace file operations belong to an explicit sync command.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Invoking the CLI when its update check is due and a newer release is available.
Impact
A newly published release can replace the installed CLI and execute during an ordinary command invocation.
Mechanism
The entrypoint checks npm for the latest version, runs a global npm install for that release, then re-executes the current command.
Evidence
dist/index.jsdist/lib/auto-update.js