Semgrep rule creator vs Semgrep rule variant creator
Semgrep rule creator is an open-source agent skill for security. Semgrep rule variant creator is an open-source agent skill for security.
- Semgrep rule creator is best for write a semgrep rule that flags user input reaching a dangerous function.
- Semgrep rule variant creator is best for port a python command injection rule to go and java.
- What it is
- Semgrep rule creator is an open-source agent skill for security.Semgrep rule variant creator is an open-source agent skill for security.
- Best for
- Write a Semgrep rule that flags user input reaching a dangerous functionPort a Python command injection rule to Go and Java
- Kind
- SkillSkill
- Pricing
- Open sourceOpen source
- Platforms
- Claude CodeClaude Code
- GitHub stars
- 8.2K8.2K
- Last commit
- Nov 2026Nov 2026
- License
- CC-BY-SA-4.0CC-BY-SA-4.0
- Open source
- Good for
- Write a Semgrep rule that flags user input reaching a dangerous function; Create a taint rule tracking data flow for injection vulnerabilities; Build a custom static analysis check enforcing a team coding standardPort a Python command injection rule to Go and Java; Check whether a SQL injection rule applies to a new language; Create test files for a ported Semgrep rule
What Semgrep rule creator does
Test-first rule workflow
Requires writing ruleid and ok test cases before the rule and re-running tests until all pass.
Taint mode guidance
Steers rules toward data flow tracking from untrusted sources to dangerous sinks.
Pattern anti-pattern checks
Lists common mistakes such as overly broad or overly specific patterns and missing safe cases.
Fixed output structure
Produces one YAML rule and one matching test file inside a folder named after the rule ID.
Documentation prerequisites
Directs the agent to read a set of Semgrep and Trail of Bits testing references before writing rules.
Strict workflow rules
Forbids combined rules in one file, generic language targets and placeholder test annotations.
What Semgrep rule variant creator does
Applicability analysis
Checks whether the vulnerability class and its sources, sinks and sanitizers exist in the target language.
Test-first rule porting
Writes annotated test files with vulnerable and safe cases before translating the rule.
AST-driven translation
Dumps the target language AST so rule patterns follow real syntax tree shapes.
Semgrep test validation
Iterates the rule until semgrep --test reports all tests passed under the recorded version.
Parallel language workflow
Runs each language through the full cycle and reports passed, failed, and not applicable results.
Reference guides
Includes guidance on applicability verdicts, language syntax and troubleshooting failing tests.
Semgrep rule creator vs Semgrep rule variant creator: questions
Is Semgrep rule creator or Semgrep rule variant creator cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Semgrep rule creator and Semgrep rule variant creator?
Semgrep rule creator is an open-source agent skill for security. Semgrep rule variant creator is an open-source agent skill for security.
