跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Hooks Security

插件 已验证 活跃

Security Hooks - Event-driven automation hooks

目的

Enhance code security and workflow integrity by automating critical checks and preventing accidental risky operations.

功能

  • Event-driven automation for security tasks
  • Prevent accidental pushes to protected branches
  • Protect critical files from modification
  • Scan code for vulnerabilities post-modification

使用场景

  • Preventing accidental commits to production branches
  • Safeguarding important configuration files
  • Automating security checks after code changes

非目标

  • Performing actual vulnerability remediation
  • Replacing a full security audit tool
  • Automating git merge or rebase operations

Documentation

  • info:Configuration & parameter referenceOne hook documents an environment variable ('CC_PROTECT_BRANCHES') with its default and an example, but other hooks lack similar detail for any potential parameters.

Code Execution

  • info:ValidationThe bash scripts do not explicitly use a schema validation library, but rely on standard shell argument parsing and conditional logic for validation.

安装

请先添加 Marketplace

/plugin marketplace add davepoon/buildwithclaude
/plugin install hooks-security@buildwithclaude

质量评分

已验证
95 /100
1 day ago 分析

信任信号

最近提交6 days ago
星标2.9k
许可证MIT
状态
查看源代码