Hook Development
Warn
Audited by Snyk on Aug 6, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). The runtime workflow ingests free text from outsiders via hook event fields like
user_prompt(UserPromptSubmit) andtool_input/tool_result(PreToolUse/PostToolUse), which are then passed into prompt-based hooks as... $USER_PROMPT,$TOOL_INPUT, or$TOOL_RESULTfor LLM evaluation.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata