hook-authoring
Pass
Audited by Gen Agent Trust Hub on May 9, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: Static analysis identified the fork bomb pattern
:(){ :|:& };:inSKILL.md,modules/sdk-callbacks.md, andmodules/performance-guidelines.md. Technical review confirms these are provided as defensive code examples for blocklists in validation hooks. They are presented as strings for comparison, not as commands for execution.- [PROMPT_INJECTION]: The skill documents 'Context Injection Hooks' (inmodules/sdk-callbacks.mdandmodules/hook-types.md) that allow project files likeREADME.mdorCONVENTIONS.mdto be prepended to user prompts. While this introduces a potential indirect prompt injection surface, it is a primary feature of the hook system being documented. The skill mitigates this by providing guidance on validation, testing, and sanitization patterns.
Audit Metadata