Demo Book a call

Risky code changes get a second signature.

Countersign replays last week's real traffic through every pull request. If the results change, it holds the change until a named person signs. We start with code that moves money, where one wrong change costs the most.

Sample data: the people, payments and order numbers are made up.

Change #482 · refund-api

Take amount in rupees

Customer paid
This change sends
It reads the amount as rupees, not paise.
Unit tests
All passed
Countersign
Stopped.
Then

Your unit tests pass. Last week's refunds tell a different story.

Countersign sends last week's real refund requests through the old code and the new code, side by side, and keeps every result that changed.

Wrong refunds in change #482
OrderAppOld code sentThis change sends
Replayed
refunds from last week, each one through both versions.
Came out wrong
Where they came from
Likely cause

It fits the way you already ship. One GitHub Action, answering where your team already looks.

Runs in your CI
It's a GitHub Action in your repository. It sends nothing to us.
Each branch runs alone
The old and new code each run in their own process, with no secrets.
Rules with sources
Write your own, or start from the India pack. Each rule cites its NPCI or RBI source.

Some stops are decisions. The owner signs for them.

Sometimes a team wants a change to move money differently. Countersign can't tell a mistake from a decision, so it shows the money and asks the person who owns it.

Change #483 · refund-api

Manual review above ₹1,00,000

What it changes
Countersign
Stopped. Nothing to fix: this is what the change is for.
Reason
Ananya Iyer
Signed by Ananya Iyer, payments lead, for this exact commit

How it decides.

One more check on every pull request, inside your own CI. It works for any API, and today's build checks code that moves money.

Replays
Last week's real requests go through the old code and the new code, side by side.
Compares
Countersign shows every result that changes or breaks a rule, with the exact request and the likely cause.
Stops or asks
The developer fixes it, or the person who owns the service signs for this exact commit.
Can't judge itself
Each branch's code runs in its own process with no secrets. Countersign stops the change when anything looks doubtful.
Keeps the record
Every decision goes into a chained audit log. Change an old record and the chain breaks.
Rules with sources
Write your own, or start from a pack. The first covers Indian payments, each rule with its NPCI or RBI source and date.
Runs in your CI
It's a GitHub Action in your repository, and it sends nothing to us.

Ready for your security review. Each answer links to the code that does it.

Your security team will ask these questions before any pilot. Read the answers here, then check them in the repository.

Security review · Countersign7 questions
Does our data leave our systems?
No. Countersign runs as a GitHub Action in your CI and sends nothing to us. It talks only to GitHub, to post the comment. If payment data can't go to GitHub's machines, run it on your own runners. action.yml
What data does it need?
A masked copy of last week's requests: an id, the app that sent it, what was asked for and the amount. You decide what goes in, and it stays in your repository. Setup guide
Can a pull request switch the check off?
No. The checker, rules and replay data come from the base branch, never from the change being checked. The payments lead owns Countersign's files, so GitHub asks them to review any change to them. CODEOWNERS
Does the new code run with our secrets?
No. The old and new code each run in their own process with a clean environment, no tokens and a time limit. A test tries to rewrite the checker from inside a pull request, and fails. sandbox.py
What if Countersign itself fails?
The change stops. Missing, malformed or late results all count as a stop, and so do Countersign's own files changing mid-run.
Can someone edit the record later?
Not without anyone noticing. Each decision joins a chained ledger, and a signed GitHub attestation covers the whole chain. Changing, removing or reordering an old record breaks it. audit.py
What isn't covered yet?
Both versions of the code run as the same user on the same machine. Running each one in a locked-down container comes next.

The three-minute walkthrough. Both changes, from pull request to merge.

Also on YouTube.

We're looking for one team to try it. Start with one service that moves money.

Tell us how you check risky changes today. We'll set it up on your repository with you.

Bhanu JangidFounder. Builds the product.

Anita BishnoiCo-founder. Runs customers.