Extensions

Several third-party tools include Semgrep extensions.

Editor

Semgrep supports Microsoft Visual Studio Code with the semgrep-vscode extension.

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.40.0'
  hooks:
    - id: semgrep
      # See semgrep.dev/rulesets to select a ruleset and copy its URL
      args: ['--config', '<SEMGREP_RULESET_URL>', '--error']

Semgrep as an engine

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