Extensions

Several third-party tools include Semgrep extensions.

Editor

Pre-commit

The pre-commit framework can run semgrep at commit-time. Install pre-commit and add the following to .pre-commit-config.yaml

repos:
- repo: https://github.com/returntocorp/semgrep
  rev: 'v0.50.1'
  hooks:
    - id: semgrep
      # See semgrep.dev/rulesets to select a ruleset and copy its URL
      args: ['--config', '<SEMGREP_RULESET_URL>', '--error']

Version management

Semgrep as an engine

Many other tools have functionality powered by Semgrep. Add yours with a pull request!