semgrep-rule-creator
仓库创建 2026年1月15日最近提交 6 天前SkillHot 收录 20 天前
▸ 精选理由
加速从问题到可复用检测规则的闭环,减少漏报与重复工作。
这个 Skill 做什么
生成可生产使用、带测试和验证的自定义 Semgrep 规则以检测漏洞与代码模式。
把你想检测的安全漏洞或代码模式,生成可直接上线的 Semgrep 规则并附带测试用例和验证方法,减少误报和漏报。适用于写自定义静态分析规则、捕捉安全 bug 或强制编码规范时使用。特点是产出生产级规则和配套测试,方便集成到 CI/CD 管道里。
▸ 展开 SKILL.md 英文原文
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.
6.3k
Stars
542
Forks
40
仓库内 Skill
+270
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/trailofbits/skills/main/plugins/semgrep-rule-creator/skills/semgrep-rule-creator/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/trailofbits/skills/main/plugins/semgrep-rule-creator/skills/semgrep-rule-creator/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Semgrep Rule Creator Create production-quality Semgrep rules with proper testing and validation. ## When to Use **Ideal scenarios:** - Writing Semgrep rules for specific bug patterns - Writing rules to detect security vulnerabilities in your codebase - Writing taint mode rules for data flow vulnerabilities - Writing rules to enforce coding standards ## When NOT to Use Do NOT use this skill for: - Running existing Semgrep rulesets - General static analysis without custom rules (use `static-analysis` skill) ## Rationalizations to Reject When writing Semgrep rules, reject these common shortcuts: - **"The pattern looks complete"** → Still run `semgrep --test --config <rule-id>.yaml <ru
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有