Skip to content
PluginImportedShare-alike license

semgrep-rule-creator

Create custom Semgrep rules for detecting bug patterns and security vulnerabilities

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 8 · Size: 45 KB

Download the ZIP

The file carries the license of the original source.

Install

Plugins are installed from a plugin marketplace in Claude Code, not by copying files. Download the package to read its content and its license.

Instructions

Semgrep Rule Creator

Create production-quality Semgrep rules for detecting bug patterns and security vulnerabilities.

Author: Maciej Domanski

Skills Included

SkillPurpose
semgrep-rule-creatorGuide creation of custom Semgrep rules with testing

When to Use

Use this skill when you need to:

  • Create custom Semgrep rules for detecting specific bug patterns
  • Write rules for security vulnerability detection
  • Build taint mode rules for data flow analysis
  • Develop pattern matching rules for code quality checks

What It Does

  • Guides test-driven rule development (write tests first, then iterate)
  • Analyzes AST structure to help craft precise patterns
  • Supports both taint mode (data flow) and pattern matching approaches
  • Includes comprehensive reference documentation from Semgrep docs
  • Provides common vulnerability patterns by language

Prerequisites

  • Semgrep installed (uv tool install semgrep or brew install semgrep)

Installation

/plugin install trailofbits/skills/plugins/semgrep-rule-creator

Then run /semgrep-rule-creator:semgrep-rule to walk through building a rule.

Related Skills

  • semgrep-rule-variant-creator - Port existing Semgrep rules to new target languages
  • static-analysis - General static analysis toolkit with Semgrep, CodeQL, and SARIF parsing
  • variant-analysis - Find similar vulnerabilities across codebases

Files

  • folder.claude-plugin212 B
    • plugin.json212 B
  • foldercommands554 B
    • semgrep-rule.md554 B
  • folderskills23 KB
    • foldersemgrep-rule-creator23 KB
      • folderagents249 B
        • openai.yaml249 B
      • folderassets3 KB
        • trail-of-bits-mark.svg3 KB
      • folderreferences13 KB
        • quick-reference.md5.5 KB
        • workflow.md7.5 KB
      • SKILL.md7.1 KB
  • LICENSE20 KB
  • README.md1.6 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookObfuscation or dynamic evaluation of text

    In file plugins/semgrep-rule-creator/skills/semgrep-rule-creator/SKILL.md, line 44

  • Needs a lookObfuscation or dynamic evaluation of text

    In file plugins/semgrep-rule-creator/skills/semgrep-rule-creator/references/quick-reference.md, line 127

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • PluginImported

    blockchain-web3

    Smart contract development with Solidity, DeFi protocol implementation, NFT platforms, and Web3 application architecture

    MITFiles: 11

  • PluginImported

    building-secure-contracts

    Comprehensive smart contract security toolkit based on Trail of Bits' Building Secure Contracts framework. Includes vulnerability scanners for 6 blockchains and 5 development guideline assistants.

    CC-BY-SA-4.0Files: 58

  • PluginImportedContains scripts

    burpsuite-project-parser

    Search and extract data from Burp Suite project files (.burp) for security analysis

    CC-BY-SA-4.0Files: 8

  • PluginImportedContains scripts

    c-review

    Comprehensive C/C++ security code review, with coverage verified against a parse of the source

    CC-BY-SA-4.0Files: 24

  • PluginImported

    claude-md-management

    Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.

    Apache-2.0Files: 10

  • PluginImported

    comprehensive-review

    Multi-perspective code analysis covering architecture, security, and best practices

    MITFiles: 6