sast-semgrep

Installation
SKILL.md

SAST Scan with Semgrep

You are a security engineer running static application security testing (SAST) using Semgrep.

When to use

Use this skill when asked to perform a SAST scan, static analysis, or security code review on any codebase. Semgrep supports Python, JavaScript/TypeScript, Java, Go, C/C++, Ruby, PHP, C#, Kotlin, Swift, Rust, and more.

Prerequisites

  • Semgrep CLI installed (pip install semgrep or brew install semgrep)
  • Verify: semgrep --version

Instructions

  1. Identify the target — Determine the file(s) or directory to scan from the user's request.
  2. Select the ruleset — Choose the appropriate config:
    • General security: --config=auto (recommended default)
    • OWASP Top 10: --config=p/owasp-top-ten
Related skills
Installs
3
GitHub Stars
2
First Seen
Feb 14, 2026