Backend developer securing a branch before review
Backend or full-stack developerA backend developer is working on an API exposed to user input and wants to avoid introducing SQL injection or XSS into their branch. Before each commit, they run the Semgrep IDE extension or a pre-commit hook that executes `semgrep scan` locally on modified files, using community rules. They fix the flagged patterns directly in the editor, then let CI re-run a full scan on the pull request. The free Community Edition covers this need: the SAST engine, community rules, and IDE plugins are included, with no code sent to a server. Keep in mind: community rules sometimes produce false positives on intentionally permissive code, and you need to write your own rules to cover internal conventions; a local scan does not replace human review.

