suggesting-cursor-hooks

Pass

Audited by Gen Agent Trust Hub on Sep 10, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill instructs the agent to automate project-related commands such as linting and testing by configuring shell execution within the IDE environment.
  • [DYNAMIC_EXECUTION]: The skill involves the generation of shell scripts (e.g., in .cursor/hooks/) that are dynamically executed based on file change events.
  • [PERSISTENCE]: The setup of 'afterFileEdit' hooks creates a persistent automation mechanism that triggers script execution across development sessions within the project scope.
  • [INDIRECT_PROMPT_INJECTION]: The skill monitors user prompt history to identify repeated requests and suggest automation. 1. Ingestion points: Interaction history containing repeated user commands as described in the Triggers section. 2. Boundary markers: Absent. 3. Capability inventory: File writing, shell script creation, and command execution capabilities. 4. Sanitization: Absent.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 10, 2026, 01:54 PM