Can one stolen GitHub login push to your main branch?
Paste two gh api outputs. Branch Lock checks whether main needs a reviewed PR, blocks force pushes, stops admins bypassing, and writes a ruleset you can apply.
$12, once. The free version works without paying.
Everything runs in this browser tab. Nothing you paste is uploaded. Reads only what you paste. It cannot see org-level settings, tokens or who is admin.
Results
Run the tool to see results here.
Saved runs and report
0 savedRuns are saved in this browser only (localStorage). Export them to a JSON file to keep a copy or move them to another browser. Nothing is uploaded.
Price
How it works
- Paste or type your input on the left, or press Load example.
- Press "Check main". The work happens in this tab.
- Read the findings, then copy or download the result.
- Save a run in this browser, compare it with a later run, export or import runs as JSON, and print a report (Print report, then Save as PDF).
Why this exists
In the Nov 25, 2026 1Password incident, a hijacked employee GitHub account pushed code to backend services. Many repos let any writer, or any admin, reach main with no review.
- "1Password Security Incident" (title) — HN, 1714 points, 2026-11-25
- "push malicious code to backend services This is a huge red flag... Do they not disable push to main?" — HN comment (ctidd), 2026-11-25
- "Someone got into an employee's corporate GitHub account. They used it to access source code and push malicious cod[e]" — @theonejvo (766 likes, 50 replies), 2026-11-25