You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dependabot-rebase-reusable merges with the bypass App after checks complete without requiring successful conclusions #1399
The workflow directly merges with a bypass-capable App after checking conflict freedom and check completion, without checking successful conclusions. An eligible dependency update can therefore enter the protected default branch despite a failed required security or CI check.
Source/control: Attacker-influenced upstream dependency or action content proposed in a genuine eligible Dependabot PR.
Sink/decision: App-authenticated PUT request to the pull-request merge endpoint.
Missing mitigation: The privileged merger never establishes that the effective required checks succeeded for the revision being merged.
Assumptions
Based on these assumptions: A3 (Deployment configuration): The reviewed callers run with the documented App credentials and supplied rulesets granting that App always-bypass authority over required checks.
Findings that rely on assumptions are published at medium severity at most. If an assumption does not hold for your deployment, dismiss this finding.
Reachability call stack
standards/workflows/dependabot-rebase.yml:53 — invokes the reusable with App credentials.
.github/workflows/dependabot-rebase-reusable.yml:75 — creates the App token.
.github/workflows/dependabot-rebase-reusable.yml:178 — merges with bypass authority.
Filed from a CodeRabbit security scan (scan 2d23b5ee-606a-403f-b407-81ddebdb0115, revision 1ea9ee1fbecc). Finding IDs: 64f4aafd-8d99-416f-826b-8c75f0594f01. CodeRabbit notes that findings relying on its stated assumptions are capped at medium severity; dismiss if an assumption does not hold.
Activity
fix(dependabot): withdraw automation when metadata fails; count only …
fix(dependabot): count a required check only as a GitHub Actions chec…
fix(dependabot): bind required checks to the ruleset's app; scope bot…
fix(dependabot): do not request workflows permission the App lacks (#…
fix(dependabot): read the merge gate with the App token, not GITHUB_T…
style(dependabot): wrap the failed-token error under the 200-column l…
test(dependabot): make the token-split assertions fail when they shou…
fix(dependabot): collapse superseded check runs only when unambiguous (…
docs(dependabot): match the caller stub example to the template; note…
fix(security): gate Dependabot approve/merge on check success and com…