Semgrep

https://github.com/semgrep/semgrep

Linux/Unix

Instalación con entorno virtual.

pipx install semgrep

Escaneo general.

semgrep scan <project-path>
semgrep scan --config auto --text --text-output=semgrep.txt <project-path>

Escaneo por patrón.

semgrep -e '<pattern>' --lang=<language> <project-path>

Escaneo por reglas.

semgrep scan --config <rules.yaml> <project-path>
semgrep scan --config <rules-path> <project-path>

Última actualización

¿Te fue útil?