Expand description
Claude Code hook integration.
Provides pre-tool-use blocking and post-tool-use scanning for Claude Code hooks.
Modules§
- claude_
md - CLAUDE.md scanning with cache.
- post_
tool_ use PostToolUsehook processing.- pre_
tool_ use PreToolUsehook processing.- project_
audit - Project audit for
UserPromptSubmithook. - taint
- Project taint tracking.
Structs§
Functions§
- scan_
text - Run all scans (unicode + substring + secrets + ML) on the given text. Uses the daemon for ML scanning - auto-starts it if not running.
- scan_
text_ with_ threshold - Like
scan_textbut with a custom ML threshold (e.g. higher for CLAUDE.md).