Check ID:
Provider: Vercel
Service:
Severity: MEDIUM
Categories:
Resource type:
deployment_production_uses_stable_targetProvider: Vercel
Service:
deploymentSeverity: MEDIUM
Categories:
trust-boundariesResource type:
NotDefinedWhat this check verifies
Vercel production deployments are assessed for source branch stability by verifying they are sourced from a stable branch (main or master). Deploying to production from feature branches bypasses standard CI/CD review processes and may introduce untested or incomplete code into the production environment.
Risk
Production deployments from feature branches may contain untested, incomplete, or unapproved code changes. This bypasses the standard code review and merge workflow, increasing the risk of shipping bugs, security vulnerabilities, or breaking changes to end users.Recommendation
Configure the production branch to main or master and ensure all production deployments go through the standard merge workflow. Use branch protection rules in your Git provider to prevent direct pushes to the production branch.Remediation
Dashboard steps- Sign in to the Vercel dashboard
- Navigate to the project Settings > Git
- Ensure the Production Branch is set to ‘main’ or ‘master’
- Review recent production deployments and revert any that originated from feature branches
References
Where this check fires
This check runs on every scheduled scan against your Vercel account. Findings appear at Cloud Security → Findings filterable byCheck ID = deployment_production_uses_stable_target. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Vercel checks