Skip to main content

hooks-builder

Enables the creation of event-driven hooks for automating tasks and enforcing security in Claude Code, enhancing workflow efficiency.

Install this skill

or
63/100

Security score

The hooks-builder skill was audited on Feb 12, 2026 and we found 13 security issues across 2 threat categories, including 1 critical. Review the findings below before installing.

Categories Tested

Security Issues

critical line 293

Destructive rm -rf command

SourceSKILL.md
293- Malicious inputs: `{"tool_input": {"file_path": "; rm -rf /"}}`
low line 38

Access to hidden dotfiles in home directory

SourceSKILL.md
38~/.claude/settings.json → Personal hooks (all projects)
low line 162

Access to hidden dotfiles in home directory

SourceSKILL.md
162"command": "echo \"$(date) | $tool_name\" >> ~/.claude/audit.log"
low line 329

Access to hidden dotfiles in home directory

SourceSKILL.md
329"command": "echo \"$(date) | $tool_name\" >> ~/.claude/audit.log"
low line 346

Access to hidden dotfiles in home directory

SourceSKILL.md
346"command": "python3 ~/.claude/hooks/file-protector.py"
low line 378

Access to hidden dotfiles in home directory

SourceSKILL.md
378"hooks": [{"type": "command", "command": "~/.claude/hooks/setup-env.sh"}]
low line 382

Access to hidden dotfiles in home directory

SourceSKILL.md
382"hooks": [{"type": "command", "command": "~/.claude/hooks/validate.sh"}]
low line 386

Access to hidden dotfiles in home directory

SourceSKILL.md
386"hooks": [{"type": "command", "command": "~/.claude/hooks/format.sh"}]
low line 438

Access to hidden dotfiles in home directory

SourceSKILL.md
438chmod +x ~/.claude/hooks/my-hook.sh
low line 196

Access to .env file

SourceSKILL.md
196if [[ "$file_path" == *".env"* ]]; then
low line 197

Access to .env file

SourceSKILL.md
197echo "BLOCKED: Cannot modify .env files" >&2
low line 221

Access to .env file

SourceSKILL.md
221if '.env' in file_path:
low line 222

Access to .env file

SourceSKILL.md
222print("BLOCKED: Cannot modify .env files", file=sys.stderr)
Scanned on Feb 12, 2026
View Security Dashboard
Installation guide →
GitHub Stars 106
Rate this skill
Categorydevelopment
UpdatedMay 21, 2026
majiayu000/claude-skill-registry