Branch Lock Local only

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.

Price

How it works

  1. Paste or type your input on the left, or press Load example.
  2. Press "Check main". The work happens in this tab.
  3. Read the findings, then copy or download the result.

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.