Semgrep Rule Runner

Executes Semgrep static analysis using the semgrep CLI with custom YAML rule packs. Supports --config auto for community rules, parses JSON output via --json flag, and integrates with Semgrep App API

SKILL.md

GitHub

Semgrep Rule Runner

Executes Semgrep static analysis using the semgrep CLI with custom YAML rule packs. Supports --config auto for community rules, parses JSON output via --json flag, and integrates with Semgrep App API for centralized findings management and triage workflows.

Installation

Use the upstream install or setup path that matches your environment:

  • $ brew install semgrep
  • $ docker run -it -v "${PWD}:/src" semgrep/semgrep semgrep login
  • $ docker run -e SEMGREP_APP_TOKEN=<TOKEN> --rm -v "${PWD}:/src" semgrep/semgrep semgrep ci
  • $ brew upgrade semgrep

Requirements and caveats from upstream:

  • <a href="https://hub.docker.com/r/semgrep/semgrep">
  • <img src="https://img.shields.io/docker/pulls/semgrep/semgrep.svg?style=flat-square" alt="Docker Pulls" />
  • <img src="https://img.shields.io/docker/pulls/semgrep/semgrep.svg?style=flat-square" alt="Docker Pulls (Old)" />

Basic usage or getting-started notes:

Source