semgrep

Run parallel Semgrep scans across multi-language repositories and merge SARIF results.

Updated Oct 27, 2024
One-click install
npx skills add https://github.com/TimMoyence/Innov-mind-museum --skill semgrep-timmoyence
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: semgrep
Source: https://github.com/TimMoyence/Innov-mind-museum/tree/main/.claude/skills/semgrep
Command: npx skills add https://github.com/TimMoyence/Innov-mind-museum --skill semgrep-timmoyence

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Run Semgrep static analysis scans on a codebase using parallel subagents to speed up vulnerability detection and bug hunting across multi-language projects.

Core Features & Use Cases

  • Automatic language detection: detects languages and selects appropriate rulesets to maximize coverage.
  • Parallel scanning: spawns Task subagents to run scans concurrently across languages and repos.
  • SARIF output merging: merges results into a single SARIF file for streamlined review.
  • Semgrep Pro cross-file analysis (optional): leverages cross-file taint analysis when Pro is available.

Quick Start

Provide a repository path to scan to initiate a parallel Semgrep analysis.

Frequently Asked Questions about semgrep

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

FAQPage Schema
How do I run static analysis on a multi-language codebase?▼

Parallel Semgrep scans automate static analysis for multi-language codebases. The system detects languages automatically and selects appropriate rulesets to identify vulnerabilities and bugs across the entire repository.

Can I get SARIF output from Semgrep scans?▼

SARIF output is generated from Semgrep scans. The tool merges results from parallel subagent scans across different languages into a single SARIF file for streamlined review.

Does Semgrep support cross-file taint analysis?▼

Cross-file taint analysis is supported in Semgrep Pro. When a Pro license is available, the scanner leverages this feature to track data flow across multiple files for deeper security insights.

Do I need a Semgrep Pro license to scan for vulnerabilities?▼

A Semgrep Pro license is not required to scan for vulnerabilities. The CLI runs full ruleset or high-confidence scans automatically, but a Pro license is optional and only needed for cross-file taint analysis.

What is the best way to speed up static analysis on large repositories?▼

To speed up static analysis on large repositories, the scanner spawns parallel Task subagents to run Semgrep concurrently across different languages. This parallel scanning approach accelerates vulnerability detection significantly.