The automatic global self-update is a real, unprompted code replacement risk, so a warning is warranted. The inspected source does not establish a concrete attack, and the credential findings resolve to ordinary CLI service requests.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Starting the CLI, except when its update command is used, with a newer version cached and an npm or Bun global installation detected.
Impact
The global CLI may be replaced, and later invocations may run the newly installed release.
Mechanism
The updater launches a detached global install of the package's newer registry release without an affirmative prompt; an environment setting can disable the behavior.
Evidence
package.jsondist/todoforai-cli.js.lpm-dependency-evidence-fc8d8e0d-a358-4d3a-8130-3954657cf2a1/1/npm-linux/src/index.ts