Pattern-to-Rule Skill

Community

Turn CVE patterns into generalized Semgrep rules.

Authorchrismcmacken
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Pattern-to-Rule converts concrete CVE-driven behavioral patterns into generalized Semgrep rules that detect the same security pitfalls across any codebase, without tying to a specific library version.

Core Features & Use Cases

  • Abstracts CVE patterns into library-agnostic rule templates suitable for multiple languages.
  • Generates taint-mode aware rule skeletons, sources, sinks, and sanitizers to enable robust detection.
  • Provides test scaffolds and metadata references to accelerate patching and verification across large repos.

Quick Start

Use this Skill to seed a Semgrep rule from a CVE pattern, then run a scan against repos/ or your project to validate coverage.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Pattern-to-Rule Skill
Download link: https://github.com/chrismcmacken/bounty-hunter/archive/main.zip#pattern-to-rule-skill

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.