validate-hooks
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from hooks/hooks.json to perform its primary function.
- Ingestion points: Reads and parses hooks/hooks.json from the plugin root.
- Boundary markers: Uses strict JSON parsing to validate structure, but does not specify boundary markers for the strings extracted for verification.
- Capability inventory: The skill uses Bash, Read, Glob, and Grep to inspect the filesystem.
- Sanitization: While the skill identifies invalid JSON syntax, it does not explicitly instruct the agent to escape or sanitize command strings before using them in the file verification logic in Step 6.
- [COMMAND_EXECUTION]: In Step 6, the skill instructs the agent to verify the existence and executable status of scripts referenced in the configuration. This involves using shell-equivalent operations on paths defined in the external hooks.json file.
Audit Metadata