Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Security-Phoenix-demov1.0.0MITIn 1 marketplace
Generates opengrep or semgrep SAST rules from a CVE, CWE or described pattern, with taint-mode rules included. The research variant first searches the web on the vulnerability before writing rules. Says no API key is needed; opengrep or semgrep is only needed to run the rules.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Two skills for generating opengrep/semgrep SAST rules.
| Skill | Use when |
|---|---|
opengrep-rule-generator | You know the pattern you want to detect, or you have a CVE/CWE reference to hand |
opengrep-rule-generator-research | You need to research the vulnerability with web search first, then write rules from the findings |
/plugin marketplace add Security-Phoenix-demo/security-skills-claude-code
/plugin install phoenix-sast-rules@phoenix-security
Neither skill needs an API key or a runtime. You need opengrep or semgrep installed only
to run the rules they produce.
Full options: MARKETPLACE_INSTALL.md.
skills/
├── opengrep-rule-generator/
│ ├── SKILL.md
│ ├── RULES_SYNTAX.md # the full rule-syntax reference
│ └── OPENGREP_RULE_GENERATOR_PROMPT.md
└── opengrep-rule-generator-research/
├── SKILL.md
├── RULES_SYNTAX.md
└── OPENGREP_RULE_GENERATOR_PROMPT.md
Generate opengrep/semgrep SAST rules through collaborative dialogue, supporting both guided discovery and vulnerability-driven workflows.
This skill helps you create valid opengrep/semgrep YAML rules for static application security testing (SAST). It supports two primary workflows: a guided mode where it asks interactive questions to discover what vulnerability patterns to detect, and a vulnerability-driven mode where it generates rules directly from CVE IDs, CWE references, or OWASP categories.
The guided workflow walks through five steps: identifying the target vulnerability or anti-pattern, confirming the language and framework, examining vulnerable and safe code examples, determining whether taint analysis or pattern matching is appropriate, and setting severity and scope. The vulnerability-driven workflow parses the vulnerability details, checks existing rule coverage, selects the appropriate rule mode (search, taint, or regex/generic), and generates one or more rules with full metadata.
Generated rules include CWE and OWASP metadata, structured messages explaining what was detected, why it is dangerous, and how to fix it. Every rule comes with companion test files containing true positive and true negative cases. The skill also provides an advanced patterns cookbook covering common scenarios like missing security checks, tainted string concatenation, weak config values, and multi-step taint analysis with labels.
| File | Purpose |
|---|---|
SKILL.md | Core skill definition with full workflow, rule generation templates, mode selection guide, and validation checklist |
RULES_SYNTAX.md | Reference documentation for all opengrep/semgrep rule operators, pattern syntax, taint mode spec, and supported languages |
OPENGREP_RULE_GENERATOR_PROMPT.md | System prompt version for use as Claude Desktop project knowledge |
Add the skill files to your Claude Code skills directory or load them as project knowledge in Claude Desktop:
# For Claude Code: copy to your skills directory
cp -r opengrep-rule-generator/ ~/.claude/skills/
# For Claude Desktop: add OPENGREP_RULE_GENERATOR_PROMPT.md as Project Knowledge
# Guided mode — interactive Q&A
Create a rule to detect SQL injection in our Flask app
# Vulnerability-driven mode — from CVE
Generate opengrep rules for CVE-2024-21762
# From OWASP category
Generate SAST rules for OWASP A03:2021 Injection in Python
# Batch generation
Generate opengrep rules for OWASP Top 10 in Java Spring
Generated rules are saved to custom-rules/<vuln-type>/ with companion test files.
opengrep scan --config <rule.yaml> <test-file>)Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub security-phoenix-demo/security-skills-claude-code --plugin phoenix-sast-rulesPlugins from other owners that cover similar ground