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.

Saved runs and report

0 saved

Runs 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

  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.
  4. 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.