hooks-session-start-hook

Pass

Audited by Gen Agent Trust Hub on Mar 2, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: Generates a bash script at scripts/claude-session-start.sh or .claude/hooks/session-start.sh designed to automate project initialization tasks such as dependency installation and test verification.
  • [EXTERNAL_DOWNLOADS]: Triggers downloads from official package registries by invoking standard, well-known package managers including npm, yarn, pnpm, bun, poetry, pip, cargo, go, bundler, maven, and gradle.
  • [COMMAND_EXECUTION]: Modifies the project's .claude/settings.json configuration file to register the hook and sets execution permissions on the generated script using chmod +x.
  • [COMMAND_EXECUTION]: Performs an automated verification step by executing the newly created script to ensure the environment is correctly configured.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 2, 2026, 11:21 PM