Source establishes guarded, explicit-command agent configuration and continuing hook execution, including a latest-release fallback, which meets the warning policy. The inspected behavior does not establish malicious intent or qualify for an install-time publication block.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
Run react-doctor install with --agent-hooks or select agent hooks during setup; subsequent agent stop events execute the hooks.
Impact
Changes agent workflow and permits later package releases to execute through the installed hooks.
Mechanism
Writes Claude or Cursor hook configuration and scanner scripts that return blocking or follow-up messages. Fallback commands can fetch and execute the latest package without another setup prompt.
Evidence
dist/cli.jsdist/install-rmw4kZuQ.jsdist/install-react-doctor-CEZd9boZ.js.claude/settings.json.claude/hooks/react-doctor.mjs.cursor/hooks.json.cursor/hooks/react-doctor.mjs