Skip to content
Quorum

Quorum

Trust the log, not the server

Created on 23rd November 2026

•

Quorum

Quorum

Trust the log, not the server

The problem Quorum solves

When you click "Update now", nothing checks that you got the same file as everyone else; your machine just trusts the update server. Those servers keep getting hijacked: Notepad++, eScan, AOMEI and cPGuard all shipped malicious updates in the last 18 months. Several attacks were selective, so only a few users got the bad file and researchers saw nothing. A signature proves who signed, but not that everyone got the same file, and an attacker who steals the key can sign too.

Quorum removes the update server from the trust path. Every release needs two separate keys and goes into a public, append-only log. Three independent witnesses check and cosign that log. Before installing, the app checks that enough witnesses vouch for exactly this file, and it refuses to install if any check fails. A hijacked server, a stolen release key, or a log showing one user a different history gets blocked and exposed instead of installed silently. Vendors drop the SDK into their updater to protect their users. It also works for CLIs and AI agents that download plugins or models. (Instead of reading all of this i explain all of this in my 8 min long youtube video that i have attached)

Challenges I ran into

The hardest part was being honest about what a stolen key can do. In the first version, a stolen publishing key (the cPGuard case) was only detected: the release went into the public log, the monitor flagged it, and clients still installed it. We added two-key releases late, so the log and every client now require a second signature from a separate approver key. That meant changing the entry format without breaking the frozen test vectors. We made the approver check mandatory in the app's trust bundle but optional in older configs, and the client reports "NOT CHECKED" instead of passing silently. Making split views provable was also tricky: a client that is shown a forked log now forwards that signed head to the witnesses, and two conflicting heads for the same tree size are cryptographic proof that the log lied.

Getting the crypto exactly right took work too. Ed25519 by default accepts some alternative signature encodings and weak keys, and a small-order public key can make bad signatures verify. So we use strict RFC 8032 verification, reject small-order keys, and accept only canonical base64. Failing closed was a deliberate trade: when a witness is down, the app refuses to update. We chose safety over availability and say so openly. The rest was plumbing:

  • keeping a 12-client live demo, 10 real attack scenarios and 136 tests consistent across Docker, Postgres and the web dashboard;
  • a CI failure caused by a pnpm version conflict;
  • a single colon that broke the Docker Compose YAML (Wow great job aayush :) ).

Tracks Applied (1)

Open Innovation

Quorum isn't tied to one industry or one kind of app. It protects how software reaches people, and almost every product ...Read More

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio