Skip to content
QORECHAIN
Register

Encrypted Apps

Patch3Q

Anonymous bug reports. Bounties reserved upfront. Miss a deadline, lose your payout vote.

Share on X

About

A researcher can find a serious vulnerability, report it responsibly, and still be left chasing a response and a payment. If the program goes silent, the researcher is left with a dangerous finding and a promise they can’t enforce. I built Patch3Q to give that silence a concrete consequence. Patch3Q is an anonymous bug bounty escrow on QoreChain. Participating programs fund a pool upfront. When an authorized relayer submits a case, the contract sets aside the bounty. If the pool can’t cover it, the case can’t be accepted. The researcher encrypts the report in the browser for the program and its auditors, can submit without using their own wallet on-chain, and keeps the payout address hidden until payment. Normally, a payout needs the program and two of three auditors to sign. If the program misses its acknowledgement, triage, or final decision deadline, anyone can submit an escalation transaction. The researcher takes the program’s place as a payout signer. On Diana testnet, the program acknowledged and triaged a synthetic report on time, then missed its final decision deadline. The researcher and two auditors signed, and the contract paid 2,500 testnet tUSDT to the address committed when the report was filed. You can check the reservation, triage, escalation, and payout transactions in the demo without connecting a wallet. In a separate case, two auditors rejected an invalid report and the full reserve went back to the program’s pool.

How it's made

I built the browser app in React and TypeScript and wrote the escrow contract in Solidity. Encryption, decryption, and approval verification run locally in the browser. The app has no plaintext upload path. QoreSeal encrypts each report with ML-KEM-1024 using keys from QoreChain’s recipient key registry. The authenticated bundle binds the ML-DSA-87 fingerprints of the approval authorities, and fixed-size padding reduces what the report’s length gives away. The researcher uses a fresh signing key for each case. The payout address and its secret salt stay inside the encrypted report, and the contract checks the recipient against the original commitment before releasing funds. When a case is accepted, the contract reserves the bounty and records the deadlines and auditor set. The program can’t withdraw that reserve or swap out the auditors for that case. The contract publishes the encrypted bundle in its transaction logs, so it can be recovered from chain history and checked against its SHA-256 hash. QoreChain’s pqcVerify precompile checks ML-DSA-87 signatures before settlement. Each approval is bound to the chain, contract, case, encrypted report, auditor set, severity, payout amount, rationale commitment, and recipient. Duplicate auditors, insufficient quorum, and classical-only signatures can’t authorize a payout. QoreSign provides the hybrid approval messages, the QoreChain SDK handles key registration and scoped EVM windows, and QoreX connects through EIP-6963. V4 proved the funded workflow from reservation to payout. V5 covers a program that reviews a report and then goes silent, including a case marked resolved without payment. It also gives auditors a way to reject an invalid report and return the reserve. The GitHub repo includes receipts for all five V5 testnet cases and a verifier anyone can run without keys.

Timeline

Patch3QEncrypted Apps

Pushed 10 commits to main

  • 56525cf Fix the audit finding count in the submission checklist · Agozie180
  • 84eed67 Name all three assistants in the README disclosure · Agozie180
  • e800064 Record the human decisions and the limits of the AI disclosure · Agozie180
  • 81f3d4d Document which assistant did what · Agozie180
  • 1e31f82 Correct the stale numbers in AI_USAGE · Agozie180

and 5 more commits

Patch3QEncrypted Apps

Pushed 1 commit to main

  • 16a7fda Polish pass: auditor trust, setup, README focus and AI usage (#3) · Agozie180
Patch3QEncrypted Apps

Pushed 1 commit to main

  • e6cab84 Restore Patch3Q judge-facing documentation · Agozie180
Patch3QEncrypted Apps

Pushed 1 commit to main

  • 4012a9f Restore Patch3Q submission badges and demo evidence · Agozie180
Patch3QEncrypted Apps

Pushed 1 commit to main

  • 6fe92f3 Publish Patch3Q V5 missed-deadline proof for judges · Agozie180
Patch3QEncrypted Apps

Pushed 10 commits to main

  • e4f3abc fix: keep V4 log requests within the Diana block limit · Agozie180
  • e54960f fix: begin V4 recovery at the registry deployment block · Agozie180
  • 71a437c fix: switch the workspace to the recovered V4 case · Agozie180
  • a014a3b fix: preserve V4 recovery confirmation across workspace remounts · Agozie180
  • b299b6c test: recover an older V4 delivery across adjacent log windows · Agozie180

and 5 more commits

Patch3QEncrypted Apps

Pushed 15 commits to main

  • 53c0092 feat: add disclosure registry and bounty escrow · Agozie180
  • 6ec3325 test: cover disclosure integrity and forgery rejection · Agozie180
  • b70e865 feat: add hybrid severity approval verification · Agozie180
  • c15ecd8 feat: implement multi-recipient report sealing · Agozie180
  • 71c4c6e feat: model encrypted reports and signed approvals · Agozie180

and 10 more commits

Patch3QEncrypted Apps

Pushed 63 commits to main

  • cde086a fix: allow live Diana RPC in production · Agozie180
  • 4386f94 fix: make V4 bundle hashes cross-platform · Agozie180
  • 800a659 feat: complete funded V4 quorum lifecycle · Agozie180
  • 82ac05a test: surface browser render diagnostics · Agozie180
  • c96f5b1 feat: publish verified v3 lifecycle evidence · Agozie180

and 58 more commits

Patch3QEncrypted Apps

Earned a Ship Weeks badge.

Patch3QEncrypted Apps

Earned a Ship Weeks badge.

Patch3QEncrypted Apps

New project.

Comments and questions

  • No comments yet.