Security
Last updated 30 November 2026.
This page says what Countersign is sent, how the record is protected and where the hosted service runs. It is a short version of Security and limits in the documentation, which has the detail behind each statement here. To report a fault, see Reporting a security fault.
What is sent, and what never is
Countersign runs in two ways. On your own machine, the ledger and the keys stay on that machine and nothing your agent does is sent to us. On the hosted service, each action your agent asks for is sent to app.trycountersign.ai, which decides it and keeps the ledger.
An ask sent to the hosted service carries:
- the tool name, such as
Bashorpayments.send - the target: a file path, a URL or whatever your own code sets
- a hash of the arguments, and not the arguments themselves
- a short list of facts, such as the kind of action, the shell command cut to 1,000 characters, the working directory, and the account and machine name
- the agent's signature
Never sent: the full arguments of an action, the contents of a file, the output of a command, the text of a prompt, the agent's private key and your own private key.
Text that looks like a key, a token or a password is replaced with a marker on your machine, before the ask is signed and sent. This is a check for known shapes. It will miss a secret in a shape it does not know.
You can send less. In minimal mode the hook sends the kind of action and the program's name, and no command, path or URL. The documentation lists every field for every way of connecting an agent.
How the record is protected
- Every decision is one entry in a ledger. Each entry is chained to the one before it, so an entry cannot be changed or removed without breaking the chain.
- The ledger is committed to by a hash tree (SHA-256, the Merkle tree of RFC 6962), and the engine signs the top of the tree with an Ed25519 key. The agent signs each ask with its own key, and the person who owns the agent signs its passport and the policy with theirs.
- Anyone can check a ledger, or a single receipt from it, offline. The check needs the engine's public key and nothing else. It verifies every signature and runs the recorded policy again for every decision, so a decision that does not follow from the policy in force at the time fails. The same check runs in a browser.
- You can export the whole ledger at any time and keep your own copy.
- The engine's keys are each made from one root secret with HKDF-SHA-256. Every algorithm used is a published standard, and the documentation lists them.
What this shows: the record has not been changed since it was written, and each decision followed from the rules. What it does not show is in Security and limits in the documentation.
Your signing key and your password
- Your signing key is made in your browser. The service stores a copy that only your password opens, and it cannot read that copy.
- Your password is never sent to us. Your browser derives a secret from it, and we store a salted hash of that secret.
- A recovery code, and any passkey you add, each open one more encrypted copy of the key. We cannot read those either.
- Signing in opens a session. It does not open the signing key. Issuing a passport, activating a policy and approving an action each need a signature made with the key, which the engine checks.
- If you lose your password, your recovery code and every passkey, the key is gone. Nobody at Countersign can reset or replace it.
- After 10 wrong passwords or recovery codes for one email address in 15 minutes, sign-in for that address is locked until the 15 minutes are up.
- The console sets no cookies, loads script only from its own address and cannot be framed by another site.
Where the hosted service runs
- Vercel runs the service. Our functions run in London.
- Neon hosts the database.
- Card details go to Stripe and never reach the service.
A list of the companies that handle data for us is available on request from [email protected].
The request log holds one line for each request: the route, the workspace, the status and how long it took. It never holds the body of a request or an answer, an API key, a session token or a webhook address.
Backups
- The database can be put back to any moment in the last 7 days.
- A full backup is taken each night. It is encrypted and kept for 30 days.
- A backup alone cannot sign a decision.
- Deleting a workspace does not reach backups already taken. The data can stay in them for up to 30 days.
Who can do what
- An agent's credential can ask under its own passport and report how an action ended. Nothing else.
- A console session or the workspace's API key can read the ledger and export it, and can revoke a passport. It cannot issue a passport, activate a policy or approve an action.
- Those three need the signature of a person who holds a signing key.
Countersign does not sandbox an agent. Someone with admin rights on their own machine can take the hook out. The documentation says what that person can still do, and how a managed rollout and receipt checks catch it.
Reporting a security fault
Write to [email protected]. A person reads it.
It helps to say what you found, the steps that show it, and which address or build it was on. countersign version prints the build.
Please test against a workspace of your own, and do not read, change or delete data that belongs to someone else.
Whether the hosted service is up is shown at status.trycountersign.ai.
Changes
If this page changes, the date at the top changes with it. See also the Privacy notice and the Terms.