Skip to content
QORECHAIN
Register

Encrypted Apps

Coldread

Blind hiring on QoreChain: a candidate's name opens only after a post-quantum signed shortlist is committed on chain.

Share on X

About

Coldread is blind hiring on QoreChain: a candidate's name opens only after a post-quantum signed shortlist is committed on chain. Hiring reads the name first, and the name changes the score: identical resumes drew a 50% gap in callbacks from the name alone (Bertrand and Mullainathan, American Economic Review, 2004). Coldread moves that order into a contract anyone can audit. - The employer posts the job and rubric as one ML-DSA-87 signed, hashed document that cannot change. - An applicant needs no wallet. The tab seals the skills to the panel with ML-KEM-1024 + X25519 (QoreSeal; keys are read from the chain's KEM registry and pinned in the job) and encrypts the name under a key only the applicant holds. - The panel scores blind (commit, then reveal) and signs a shortlist. The contract accepts it only with k of n ML-DSA-87 signatures, each checked by pqcVerify (0x0A01) against keys pinned through pqcKeyStatus (0x0A02). - Only a shortlisted applicant can release their key, in a later block. Everyone else stays sealed for good. Why post-quantum: hiring records last for years and a chain is public forever. Here a name can only be opened through ML-KEM-1024, and only after a shortlist the chain has checked with ML-DSA-87. Live on Diana now (the landing page reads these from the chain on every visit): 25 jobs · 31 sealed applications (166 KB of ciphertext) · 8 shortlists with 16 panel signatures · 6 names opened, 24 still sealed · 127 ML-DSA-87 signatures verified by the chain · 21 of 22 attack transactions refused (the 22nd is accepted by design and flagged on chain). Check it in 60 seconds, no wallet: open https://coldread-app-sepia.vercel.app, then /proof/19 and press "Check job #19 in this tab" (9 of 9 checks, 11 of 11 signatures rebuilt from calldata; change one digit and it refuses). Then open /lab and press "Replay all attacks now". From a terminal: node tools/live-stats.mjs. Honest scope: the completed rounds (jobs 19, 21 and 25) were run by Coldread-operated test accounts. evidence/independence-<job>.json says who held each role. Contract 0x86910dcb5dcb22a2baf5ac4f2e672ba76d99c133 (no owner, no proxy, no balance) · App https://coldread-app-sepia.vercel.app · Judges https://coldread-app-sepia.vercel.app/judges · QCAI Stage 2 78/100, no critical · 219 Foundry tests, 26 of 26 mutants killed. Diana testnet only. MIT.

How it's made

Coldread runs on the QoreChain Diana testnet (EVM chain id 9800, Cosmos chain id qorechain-diana): one Solidity contract, a React app, and a small API on Render that relays an allowlisted set of contract calls. The chain verifies every signature; the app never does. CONTRACT Coldread 0x86910dcb5dcb22a2baf5ac4f2e672ba76d99c133 (deploy 0x92980a9fb85fe867ba3dc303acb90be8c1ee00e73b1d6960528cea0165f42d30, block 10993242). Solidity 0.8.28, via_ir, 17,282 bytes of runtime code. The API hashes the deployed code on every health call and reports codeMatch: true. No owner, no proxy, no pause, no balance. Seven steps, one transaction each. Six are authorised by an ML-DSA-87 signature over a digest that names the action, the chain, the contract and the exact arguments: createJob, submitApplication, commitScores, commitShortlist, release, ackRelease. The seventh, revealScores, is permissionless but must reproduce a commit a panel member signed. - pqcVerify (0x0A01) checks every signature, over "qorechain-msg-v1|qorechain-diana|0x<digest>", the exact bytes QoreX signArbitrary signs. - pqcKeyStatus (0x0A02) reads each key, its algorithm id and its proof-of-possession flag, and compares the key hash with the one pinned at job creation. - PqcLib fails closed: a failed call, a short return, a non-canonical offset or a verify word that is not exactly 1 all give false. - The shortlist digest binds activeCount, and withdrawals lock once k scores are revealed (invariant I13), so collected signatures stay valid. - A release must land in a block strictly after the commit block, so the order is checkable from receipts alone. WHERE THE NAME LIVES One random 32-byte master per application, made in the browser, gives three one-way leaves: a secp256k1 key (the applying address), an ML-DSA-87 key (registered with MsgRegisterPQCKeyV2, proof of possession), and K = HKDF-SHA256(master, job id), which encrypts the name with AES-256-GCM. The AAD binds chain, contract, job and address. Skills are sealed to the panel's cards with QoreSeal (hybrid ML-KEM-1024 + X25519; the ML-KEM-1024 public keys are 1,568 bytes each and the apply page reads them from the chain's KEM registry), and sealing refuses when a card does not match the KEM hash pinned in the job. QOREX The employer and the panel (Coldread-operated test accounts) sign in QoreX. QoreX does not let a page register an ML-KEM key, so a wallet's KEM key is registered with tools/qorex-kit.mjs from the same phrase (the kit checks it derives the key QoreX registered), or the employer page makes an in-browser inbox key that QoreX funds and names in the signed job. CHAIN FEATURES - Hybrid ML-DSA-87 transactions from every account, PQC key registration with proof of possession. - ML-KEM-1024 public keys (1,568 bytes each) in the chain's KEM registry for the employer and panel; ML-DSA-87 public keys are 2,592 bytes. The employer desk reads both lengths from chain. - A scoped EVM window for the relayer, allowed_targets = the Coldread contract only, renewed by a scheduled job. - Bank MsgSend drips 0.1 QOR to applicant addresses that pass a proof of work. KITS @qorechain/pqc (ML-DSA-87 keys and signing), @qorechain/qoreseal (hybrid sealing, recipient cards), @qorechain/qoresign (message keys, verifyMessageWithChain in the API), @qorechain/sdk (account derivation, hybrid signing for the funder), @qorechain/evm (EVM window status and cost). Also viem, CosmJS, React, Vite, Foundry. TESTS (RECORDED 2 DEC) - forge test: 219 passed, 0 failed (16 suites), with 8 fuzz tests and invariants I1 to I13. - Real ML-DSA-87 through FFI (FOUNDRY_PROFILE=realcrypto): 19 passed (15 lifecycle, 2 fuzz, 2 invariant). - Mutation testing: 26 of 26 mutants killed. An accept-all verifier mutant fails 12 real-crypto tests. - Every public function and custom error is referenced by a test (90 items, 0 gaps). - Live precompile conformance on Diana (docs/PRECOMPILE_CONFORMANCE.md): 5 of 5. - Attack lab: 22 attack transactions, 21 reverted at their target check, A17 accepted by design. - reverify --job 19: 9 passed, 0 failed, 3 skipped (10 passed, 0 failed, 2 skipped with COLDREAD_API_URL set). AUDITS (QCAI) Stage 1: 82/100, MEDIUM, 30 Nov. Stage 2: 78/100, MEDIUM, 2 Dec, https://dashboard.qorechain.io/audits/QCAIA-1796177899325-808EA7B0. No critical in either. The High in both is a false positive: authority is an ML-DSA-87 signature, not msg.sender. docs/AUDIT.md triages every finding with code lines and tests; the contract was not changed. WHAT WAS HARD - The chain's Comet RPC and Cosmos REST send no CORS headers, so the API proxies an allowlisted subset for key lookups and account reads. - forge coverage cannot build this via_ir contract, so coverage is a checked map of functions and errors, not a percentage. Testnet only. MIT.

Timeline

ColdreadEncrypted Apps

Pushed 213 commits to main

  • 2ceaa4c README: every reverify command carries COLDREAD_ADDRESS and COLDREAD_DEPLOY_BLOCK on one line · mohamedwael201193
  • 1afb858 reverify: report the disclosed inert lab job 17 as INFO in the KEM pin check instead of failing the daily watch · mohamedwael201193
  • ea6c837 /judges: say job 23's employer wallet was funded from a team wallet · mohamedwael201193
  • 5cdad0c README: job 23's employer wallet was funded from a team wallet; drop the 'outside employer' claim · mohamedwael201193
  • 30bfe5d secret-scan: allowlist the one public demo employer phrase line in demoPanel.ts, nothing else · mohamedwael201193

and 208 more commits

ColdreadEncrypted Apps

Pushed 14 commits to main

  • f736380 README: cover at the very top, centred title and tagline, badges and a links row (app, try it, proof, judges, film, submission page, explorer) · mohamedwael201193
  • 50b5129 README: architecture and one job end to end, as mermaid diagrams · mohamedwael201193
  • 2ea44ba README: Built on QoreChain table adds one Diana proof per primitive (REST records and check pages) · mohamedwael201193
  • 9d96e0d README: test layers note the 2 Dec re-run (227 passed, 17 suites) and link the mutation and campaign records · mohamedwael201193
  • 3ffa7fb README: the three Cosmos-form deploy rows link to their Diana REST records · mohamedwael201193

and 9 more commits

ColdreadEncrypted Apps

Pushed 1 commit to main

  • be466eb tools: run reverify main only as a CLI so the vitest import stays offline · mohamedwael201193
ColdreadEncrypted Apps

Pushed 11 commits to main

  • 4043407 scripts/vercel-ignore.sh: build only when app/ or api/ inputs changed · mohamedwael201193
  • 89ada72 vercel.json: ignoreCommand for app and api (docs/tests-only pushes keep production as is) · mohamedwael201193
  • dc9b2d2 test: vercel-ignore.sh skip/build cases in a throwaway repo (11 cases) · mohamedwael201193
  • fc5e57e CI: run the tools unit tests and the vercel-ignore test · mohamedwael201193
  • 137adff app: builder wording in the panel wallet comment · mohamedwael201193

and 6 more commits

ColdreadEncrypted Apps

Pushed 21 commits to main

  • 0a3f0d2 test: a retired panel key cannot commit scores after MsgRotatePQCKey · mohamedwael201193
  • 9e8f241 test: the rotated-in registry key cannot take a seat pinned to the old key · mohamedwael201193
  • baee4f1 test: one panel member's rotation leaves the other seats working · mohamedwael201193
  • dd5148c test: rotating back to the pinned key restores the panel seat · mohamedwael201193
  • 1c89e80 test: fuzz any rotated-in registry key blocks a commit for the pinned seat · mohamedwael201193

and 16 more commits

ColdreadEncrypted Apps

Pushed 4 commits to main

  • 983ef95 tools: key rotation vs pinned panel keys on the live contract (MsgRotatePQCKey, every EVM step predicted by eth_call) · mohamedwael201193
  • 18962d4 evidence: job 26, after MsgRotatePQCKey A->B a panel member's commits signed with B and with A are both refused · mohamedwael201193
  • 9d968bf reverify: job 26 must show member 1 pinned to key A while the registry holds key B; placeholder KEM pins fail on any application · mohamedwael201193
  • 39a13bf README: a key rotation cannot take over a panel seat (job 26) · mohamedwael201193
ColdreadEncrypted Apps

Pushed 1 commit to main

  • 2635132 README: say project or builder instead of team · mohamedwael201193
ColdreadEncrypted Apps

Pushed 4 commits to main

  • 64f44b7 tools: hostile-call campaign against the live contract, built from its own accepted signed calls · mohamedwael201193
  • c31e665 evidence: 1,000 calls on the live contract, 724 hostile, 0 accepted, all as predicted · mohamedwael201193
  • 90c1585 ci: 200 hostile calls against the live contract every hour (keyless, read-only) · mohamedwael201193
  • a6d924b README: 1,000 hostile calls on the live contract, 0 accepted; hourly campaign badge · mohamedwael201193
ColdreadEncrypted Apps

Pushed 7 commits to main

  • e1f7072 tools: live-stats prints every on-chain count from contract events, no key, no API · mohamedwael201193
  • 1f72f5a app: read every contract event in the tab for live counts (jobs, sealed bytes, shortlists, names opened, ML-DSA-87 checks) · mohamedwael201193
  • ad94cab app: Live on Diana now panel, eight counts readable at a glance, each with its source · mohamedwael201193
  • a3fcd1a landing: Live on Diana now replaces the two-number strip · mohamedwael201193
  • 8f6a47f judges: live counts above the three-minute path · mohamedwael201193

and 2 more commits

ColdreadEncrypted Apps

Pushed 1 commit to main

  • 5589cc9 film: skip banners at the apply confirmation and the attack replay · mohamedwael201193(not counted: no real change)
ColdreadEncrypted Apps

Pushed 1 commit to main

  • 6992684 proof re-check: say when an ML-KEM key was unreadable, not that it failed the pin · mohamedwael201193
ColdreadEncrypted Apps

Pushed 1 commit to main

  • 9467f6a film: attack-lab shot re-shot on the live site, so job #17 shows 'test panel' · mohamedwael201193(not counted: no real change)
ColdreadEncrypted Apps

Pushed 4 commits to main

  • e9e5b8c reviewer: call the seeded entries Coldread-operated test applications, not demo applications · mohamedwael201193
  • 829fccc lab: say the unused job pins recipient cards for the test panel, not the team panel · mohamedwael201193
  • e9bb703 LAB sample job: label the in-browser seats Sample employer and Sample reviewer, not Demo · mohamedwael201193
  • c2f8e2a judges and proof: drop the word 'team' from job 23 funding and the independence check label · mohamedwael201193
ColdreadEncrypted Apps

Pushed 1 commit to main

  • 8ddccdb film: thumbnail is the 9 of 9 proof frame · mohamedwael201193(not counted: no real change)
ColdreadEncrypted Apps

Pushed 4 commits to main

  • 886d6ca film: skip banners and half-second crossfades at the panel hand-offs, recovery-word blur widened, narration matched to the on-screen text and the lab summary · mohamedwael201193(not counted: no real change)
  • 783f7c3 film: subtitles for the updated narration · mohamedwael201193
  • ec05938 film: thumbnail from the updated cut · mohamedwael201193(not counted: no real change)
  • 30acd35 README: film length 2:57 · mohamedwael201193
ColdreadEncrypted Apps

Pushed 3 commits to main

  • 5431569 film: landing, employer key check and the apply sealing line re-shot on the live site (no 'demo' wording on screen) · mohamedwael201193(not counted: no real change)
  • 9dccc29 film: thumbnail from the re-shot cut · mohamedwael201193(not counted: no real change)
  • 99b4f80 README: film length 2:55 · mohamedwael201193
ColdreadEncrypted Apps

Pushed 1 commit to main

  • 7a9a50b LAB job data: 'LAB sample job' wording, matching the UI and tests · mohamedwael201193
ColdreadEncrypted Apps

Pushed 3 commits to main

  • 97579b7 film: re-cut on the fixed site (key lengths on screen, stronger blur on the real words, punch-ins, soft cuts) · mohamedwael201193(not counted: no real change)
  • 923183a film: subtitles and thumbnail for the re-cut · mohamedwael201193
  • f7c4b59 README: film length 2:56 · mohamedwael201193
ColdreadEncrypted Apps

Pushed 1 commit to main

  • 7f37975 watch: a rejected status POST is a warning; the run's verdict is the reverify · mohamedwael201193
ColdreadEncrypted Apps

Pushed 4 commits to main

  • ce32535 ui: call the Coldread-operated accounts test accounts and the public keys sample keys, instead of 'demo' · mohamedwael201193
  • c78d103 tests: follow the test/sample account wording · mohamedwael201193
  • 4910157 llms.txt: test/sample account wording · mohamedwael201193
  • 9b7b6ce README, DEPLOY: test/sample account wording; the live-site badge reads 'live app' · mohamedwael201193

Comments and questions

  • No comments yet.