Store the ATD/openapi/protobuf/... interfaces between semgrep components
20
stars
820
commits
Python
primary language
Sep 10, 2026
updated
The semgrep-interfaces repo is synced from the main semgrep repo, so please do not submit PRs against this repo.
cli/src/semgrep/semgrep_interfaces directory of the semgrep repo.OSS/cli/src/semgrep/semgrep_interfaces directory of the
semgrep-proprietary repo.This repository contains IDL (Interface Definition Language) files specifying the interface between different Semgrep components (e.g., between the semgrep CLI and the playground). It also includes the schema for Semgrep rules, as both Semgrep and Semgrep App rely on this.
This repository is meant to be used as a submodule.
You may need to install opam and mypy as pre-requisites for contributing to this repository.
To get setup in this repositoty:
make dev-setupTo update an interface:
generate.pymake. This will propagate that change to the respective .py, .ts, .ml, etc.make test. This will check backwards compatibility, validate schemas, and typecheck python filesThe code in this repository is licensed under the terms of the LGPL 2.1 with OCaml-LGPL-linking-exception. For more information about the licensing details of Semgrep itself see our licensing page.
(top 30 of 56)
Python
61.5%
OCaml
33.8%
Makefile
2.4%
Shell
2.3%
Store the ATD/openapi/protobuf/... interfaces between semgrep components
20
stars
820
commits
Python
primary language
Sep 10, 2026
updated
The semgrep-interfaces repo is synced from the main semgrep repo, so please do not submit PRs against this repo.
cli/src/semgrep/semgrep_interfaces directory of the semgrep repo.OSS/cli/src/semgrep/semgrep_interfaces directory of the
semgrep-proprietary repo.This repository contains IDL (Interface Definition Language) files specifying the interface between different Semgrep components (e.g., between the semgrep CLI and the playground). It also includes the schema for Semgrep rules, as both Semgrep and Semgrep App rely on this.
This repository is meant to be used as a submodule.
You may need to install opam and mypy as pre-requisites for contributing to this repository.
To get setup in this repositoty:
make dev-setupTo update an interface:
generate.pymake. This will propagate that change to the respective .py, .ts, .ml, etc.make test. This will check backwards compatibility, validate schemas, and typecheck python filesThe code in this repository is licensed under the terms of the LGPL 2.1 with OCaml-LGPL-linking-exception. For more information about the licensing details of Semgrep itself see our licensing page.
(top 30 of 56)
Python
61.5%
OCaml
33.8%
Makefile
2.4%
Shell
2.3%