Secure Code Review
Secure code review is the practice of examining source code changes with a security focus — looking for exploitable vulnerabilities, logic flaws, and design issues before they reach production. At GitLab, the Application Security team performs secure code reviews as part of our triage rotation, for smaller, ad-hoc MR reviews and as part of the broader AppSec review process and is actively investing in automation to extend that coverage.
Approaches
Automated MR Security Review
This is the preferred method for AppSec’s triage rotation / ad-hoc MR security reviews
The AppSec team is running an experimental AI-driven security review flow that automatically reviews merge requests for security issues. The flow is triggered by mentioning a service account on an MR and runs a multi-step analysis without requiring a human AppSec engineer to initiate it.
See the Automated MR Security Reviewer page for full usage and setup details.
Manual Reviews
Manual AppSec reviews are performed by Application Security engineers in two ways.
Triage rotation reviews are ad-hoc, unscheduled MR reviews. If you need a quick security look at an MR that does not warrant a full scheduled review, try our Automated MR Security Reviewer before contacting the AppSec engineer on the weekly triage rotation.
Scheduled reviews cover high-priority features, infrastructure changes, and other work submitted through the AppSec review process. See the AppSec Review Template Process for how those reviews are structured and documented.
0d3a5ac7)
