Semgrep Rule Variant Creator
插件 活跃Creates language variants of existing Semgrep rules with proper applicability analysis and test-driven validation
To streamline the process of porting Semgrep rules across different programming languages, ensuring accuracy and comprehensive testing.
功能
- 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
使用场景
- 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.
非目标
- 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.
安装
请先添加 Marketplace
/plugin marketplace add trailofbits/skills/plugin install semgrep-rule-variant-creator@trailofbits质量评分
类似扩展
Semgrep Rule Creator
79Create custom Semgrep rules for detecting bug patterns and security vulnerabilities
C4 Architecture
99Comprehensive C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation
Dimensional Analysis
99Annotates codebases with dimensional analysis comments documenting units, dimensions, and decimal scaling. Use when someone asks to annotate units in a codebase, perform a dimensional analysis, or find vulnerabilities in a DeFi protocol. Prevents dimensional mismatches and catches formula bugs early.
Ruflo Knowledge Graph
99Knowledge graph construction — entity extraction, relation mapping, and pathfinder graph traversal
Static Analysis
93Static analysis toolkit with CodeQL, Semgrep, and SARIF parsing for security vulnerability detection
Variant Analysis
79Find similar vulnerabilities and bugs across codebases using pattern-based analysis