Skip to content

[1.11] Add prompt injection protection hooks #33

@vbonk

Description

@vbonk

What needs to be done

Create .claude/hooks/ directory with template hooks for input validation:

  • validate-pr-body.sh.template — Scans PR descriptions for injection patterns
  • warn-ai-config-changes.sh.template — Warns when AI config files modified

Templates (not active hooks) — users copy to activate.

Acceptance Criteria

  • .claude/hooks/ directory exists with 2 template files
  • Each has documentation comments explaining prompt injection
  • init-template offers to activate

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions