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) and tool_input/tool_result (PreToolUse/PostToolUse), which are then passed into prompt-based hooks as ... $USER_PROMPT, $TOOL_INPUT, or $TOOL_RESULT for LLM evaluation.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 6, 2026, 04:52 PM
Issues
1
Security Audit — snyk — Hook Development