Skip to main content

Semgrep Rule Variant Creator

Plugin Active
Part of:Trailofbits

Creates language variants of existing Semgrep rules with proper applicability analysis and test-driven validation

1 Skill 0 MCPs
Purpose

To streamline the process of porting Semgrep rules across different programming languages, ensuring accuracy and comprehensive testing.

Features

  • Automated applicability analysis per language
  • Test-first rule creation workflow
  • Generates independent rule variants for multiple languages
  • Outputs structured rule and test files
  • Adaptation for language-specific idioms

Use Cases

  • Porting existing Semgrep rules to new languages.
  • Expanding rule coverage across polyglot codebases.
  • Creating language-specific versions of vulnerability patterns.
  • Ensuring consistent security analysis across diverse language environments.

Non-Goals

  • Creating new Semgrep rules from scratch.
  • Running existing Semgrep rules against code.
  • Providing generic code linting or formatting.

Trust

  • warning:Issues Attention13 issues opened and 4 closed in the last 90 days suggests maintainers are responding slowly to a moderate number of open issues.

Code Execution

  • info:ValidationInput validation for the Semgrep rule file path and target languages is not explicitly schema-driven, relying on Semgrep's internal validation.

Installation

First, add the marketplace

/plugin marketplace add trailofbits/skills
/plugin install semgrep-rule-variant-creator@trailofbits

Quality Score

94 /100
Analyzed about 11 hours ago

Trust Signals

Last commit3 days ago
Stars5.2k
LicenseCC-BY-SA-4.0
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.