semgrep

Automate security scanning of codebases with Semgrep rules and SARIF or JSON outputs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/aleister1102/skills --skill semgrep-aleister1102
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: semgrep
Source: https://github.com/aleister1102/skills/tree/main/semgrep
Command: npx skills add https://github.com/aleister1102/skills --skill semgrep-aleister1102

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Semgrep enables fast, scalable security scanning and pattern matching across codebases, helping identify vulnerabilities and enforce rules with minimal overhead.

Core Features & Use Cases

  • Quick scans of code using Semgrep's auto config and popular rule sets
  • Create and customize YAML-based rules for targeted checks
  • Integrate into CI/CD pipelines and produce outputs in SARIF or JSON

Quick Start

Run semgrep with the auto configuration on your project to perform the initial security scan.

Frequently Asked Questions about semgrep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform static analysis to find vulnerabilities in my codebase?

Static analysis using Semgrep scans your codebase with pattern matching and taint mode to identify vulnerabilities quickly. It applies pre-configured rules to automate security checks across your project with minimal overhead.

How do I integrate security scanning into a CI/CD pipeline?

Security scanning integrates into CI/CD pipelines by running Semgrep rules automatically during builds. The scanner outputs results in SARIF or JSON formats, allowing downstream tools to ingest and process vulnerability discoveries.

Can I customize YAML rules for targeted code pattern matching?

Yes, you can create and customize YAML-based rules for targeted code pattern matching. This allows you to define specific patterns and enforce custom security rules tailored to your codebase requirements.

What is taint mode usage in static analysis?

Taint mode in static analysis tracks the flow of untrusted data through your codebase to identify vulnerabilities. Semgrep supports taint mode to help discover where potentially malicious input reaches sensitive functions.

Does Semgrep work with auto configuration for quick initial security scans?

Yes, Semgrep works with auto configuration to perform quick initial security scans. Running with the auto config applies popular rule sets automatically, enabling fast code analysis without requiring manual rule specification.