The CLI automatically installs a newer global release when its cached npm version is stale, without requiring an explicit update command. The update targets its own npm package and has an off switch, so this warrants a warning rather than a block.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Startup of a globally installed CLI when its cache contains a newer version; skipped for the `update` command, CI, or `NO_UPDATE_NOTIFIER`.
Impact
The package updates itself without an explicit update request, replacing the installed CLI with a newer release.
Mechanism
The bundle checks a cached version and launches npm or Bun to install the latest package release globally.
Evidence
dist/todoforai-cli.js~/.config/todoforai/notifier-${encodeURIComponent(name)}.jsonglobal installation of @todoforai/cli
Network endpoints2
registry.npmjs.orgapi.todofor.ai