Source inspection found an explicit, user-invoked AI-agent extension setup with persistent post-edit execution and @latest fallback. It is not malicious because there are no npm lifecycle hooks or concealed/exfiltrating execution paths, but it warrants a warning under the agent-extension lifecycle policy.
Static reason
One or more suspicious static signals were detected.
Trigger
User runs `react-doctor install --agent-hooks` or selects Agent hooks during interactive `react-doctor install`.
Impact
Post-edit agent sessions can repeatedly execute React Doctor and, when no local binary exists, resolve and execute a current registry version.
Mechanism
Explicit agent-hook installation with shell-based latest-package fallback.
Evidence
package.jsonbin/react-doctor.jsdist/cli.jsdist/index.jsdist/lsp.js.claude/settings.json.claude/hooks/react-doctor.mjs.cursor/hooks.json.cursor/hooks/react-doctor.mjs