Skip to content
QORECHAIN
Register

Post-Quantum dApp

SynapseQ

Protecting today’s biological data and securing tomorrow’s bionic cyber-humans before Q-Day.

Share on X

About

If someone steals your credit card today, you cancel it in thirty seconds. If someone steals your genome, your brain MRI, or the clinical history of your family, you can never rotate your DNA. Medical data needs to stay private for 50 to 70 years—yet right now, adversaries are already running "Harvest Now, Decrypt Later" attacks, quietly archiving encrypted health records and waiting for quantum computers to break classical RSA and ECC. That realization was our starting point for SynapseQ, and then we asked ourselves a deeper question: what happens twenty years from now, when human biology merges with cybernetics? As brain-computer interfaces, bionic limbs, photonic retinas, and bio-printed organs move from labs into real human bodies, every person will carry a Human Bill of Materials (HBOM). In that world, a quantum signature forgery stops being a privacy leak—it becomes the physical hijack of a part of your own body. SynapseQ is our answer to both horizons, built natively on QoreChain Diana Testnet (Chain ID 9800). Inspired by how biological synapses fire briefly and then fade, we designed an ephemeral sovereignty model where you lend access without ever surrendering ownership. Today, a patient encrypts clinical files locally in the browser and seals the key with post-quantum ML-KEM-1024 envelopes (@qorechain/qoreseal v1), granting a specialist a timed pass enforced on-chain. When the clock runs out—or the moment the patient hits our O(1) emergency Kill-Switch—the access dies permanently at our Zero-Trust Key-Release Gateway. Tomorrow, that exact same foundation lets bionic manufacturers attest every implant and firmware update with NIST FIPS 204 ML-DSA-87 signatures verified directly inside Solidity through QoreChain's native PQC precompiles, while requiring explicit two-step bearer consent before any implant enters a person's active HBOM and letting bearers hand a bio-engineer a 2-hour diagnostic window without ever giving up root control of their body. Because this is also a mental journey into a future that does not fully exist yet, we refused to bury it behind a sterile blockchain form. We designed a dual bilingual experience (English default / Spanish switch): visitors first enter a 3D WebGL Cinematic Landing (/) that deconstructs cyberpunk energy into pure geometry, light, and blueprint reticles—walking them emotionally from today's 70-year privacy clock to 2045's augmented human body—before crossing straight into our Map-First Tactical Bio-HUD dApp (/app.html), featuring QoreX-first EIP-6963 multi-wallet support, live Scoped EVM Window monitoring, and verified on-chain execution on Diana Testnet.

How it's made

Building SynapseQ was as much a security awakening as an engineering sprint. Our first prototype looked great on paper—it stored encrypted envelopes directly inside the smart contract. Before celebrating, we ran an internal AI-assisted Red-Team audit against our own code, and it broke our v1 wide open: it proved that even "private" EVM storage slots and calldata are publicly readable via eth_getStorageAt, and each write cost an unsustainable 6.86M gas. That failure drove us to re-architect SynapseQ across three hardened iterations (v1 -> v2 -> v3) into a four-layer post-quantum system on QoreChain Diana Testnet (Chain ID 9800): First, SynapseVaultRegistry.sol (Solidity 0.8.24, Foundry) enforces a strict commitments-only rule. Neither plaintext, nor IPFS CIDs, nor PQC envelopes ever touch the blockchain—only SHAKE-256 content hashes (computed over ciphertext) and QoreSeal envelope hashes do. That cut calldata down to 228 bytes (~211k gas per timed grant) and powers an O(1) epoch-based Kill-Switch (emergencyRevokeAll) that revokes every active pass for a patient in ~29k–46k gas regardless of pass count. For the Cyber-Human HBOM module, registerBionicPart and logFirmwareUpdate fail closed and call QoreChain's native PQC precompiles directly—reading registered manufacturer keys and proof-of-possession via pqcKeyStatus (0x...0a02) and verifying 4,627-byte ML-DSA-87 firmware attestations on-chain via pqcVerify (0x...0a01). After a second 52-agent security audit (docs/AUDITORIA-SEGURIDAD.md) and PR #14 remediation, we upgraded the contract to v3 (0x0bB566dFE3225697dB2258c018D2963F6F224e70 on Diana), adding two-step bearer consent (acceptPart/rejectPart), on-chain kemKeyVersion tracking for key rotation, and MAX_PAGE_SIZE=100 bounded pagination. Because local Anvil forks cannot run QoreChain's precompiles, MockQorePqc supports deterministic local testing while real verification is proven live on Diana Testnet from qor1hj8kg2w4g0a9v7nyca7eaz5kn6kgxge44p5n5u across 47 passing Foundry tests (including 12 PQC tests, 2 QCAI regression tests, and fuzzing). Second, to keep envelopes off public calldata without blind trust, we hardened a Zero-Trust Key-Release Gateway (TypeScript/Node.js, 7 passing test suites). It escrows QoreSeal envelopes and proxies encrypted blobs to Pinata IPFS (with zero-RAM upload streaming and atomic 0600 store persistence). A specialist retrieves an envelope and a single-use download token only by signing a Chain ID 9800 challenge AND passing a live isAccessValid(recordId) check on QoreChain. PR #14 hardened CID ownership binding and blob path containment, proxy-aware client nonce rate-limiting (TRUST_PROXY_HOPS), global pin quotas with 30-min orphan cleanup, and retryable crypto-shredding (202 pendingUnpin), alongside a CORS-safe /api/qore/evm-window/:address proxy. Third, our browser-safe PQC SDK integrates all four official QoreChain kits: @qorechain/qoreseal v1 for ML-KEM-1024 (1,568 B) and hybrid ML-KEM-1024 + X25519 (1,720 B) envelopes paired with WebCrypto AES-256-GCM; @qorechain/qoresign (deriveCanonicalPqKey + ML-DSA-87) powering our OEM CLI; @qorechain/sdk for opening, reading, and classifying scoped EVM authorization windows (MsgOpenEvmWindow with allowedTargets strictly restricted to SynapseVaultRegistry and explicit handling of pqc codes 26–28); and @qorechain/rdk for our storage router. In v3, specialist ML-KEM keys are derived from domain- and version-bound SIWE (EIP-4361) signatures supporting rotation while keeping old passes decryptable, backed by Shamir 2-of-3 recovery over GF(256), a 5-vector Q-Day simulator, and a CycloneDX v1.6 CBOM report (cbom-report.json). Fourth, on the frontend (Vite, React 19, Tailwind CSS v4, Railway IaC), visitors land in English by default (with live EN/ES toggle) on our OGL/WebGL 3D GLSL Cinematic Landing (/) powered by GSAP ScrollTrigger and Lenis, then transition into the Map-First Tactical Bio-HUD (/app.html). The dApp prioritizes QoreX Wallet by default with an EIP-6963 multi-wallet selector & disconnect flow, supports QoreX's per-approval scoped EVM window, surfaces pending HBOM implants for bearer approval (PendingPartsPanel), runs pre-flight simulateContract checks, and clearly distinguishes ON-CHAIN receipts from LOCAL DEMO mode. Security audits & QCAI: All internal rounds (Round 1 Red-Team: 13/13 mitigated in docs/informe-revision-key-release-gateway.md; Round 2 52-agent full-repo audit: 9/10 remediated in PR #14 in docs/AUDITORIA-SEGURIDAD.md) and our official QCAI Two-Phase Audit (Phase 1 report stored at docs/audit/2026-11-30-qcai-phase-1.pdf, score 82/100, with all 5 findings analyzed and covered by Foundry regression tests in docs/AUDIT.md, including our PQC precompile design explanation) are documented directly in the repository. Live demo: https://frontend-production-e37aa7c2.up.railway.app/ | Video: https://youtu.be/39m5lv153FM?si=zkCg27hJidi3Deck

Timeline

SynapseQPost-Quantum dApp

Pushed 10 commits to master

  • cac9c9f docs(audit): complete QCAI two-phase audit documentation with Phase 2 PDF · Oriojas
  • 3cc11a6 docs(audit): add QCAI Phase 1 report, finding analysis, and 2 Foundry regression tests · Oriojas
  • 518606c docs: sync test counts (45 Foundry, 7 Gateway) and PR #14 audit remediation status across docs and landing · Oriojas
  • 5a88946 Merge pull request #14 from Oriojas/fix/security-audit-remediation · Oriojas
  • 70c20a3 docs: add official YouTube demo video link and mark submission checklist item complete · Oriojas

and 5 more commits

SynapseQPost-Quantum dApp

Pushed 1 commit to master

  • 5099d7e docs(readme): add verified public Railway live demo URL and mark checklist item complete · Oriojas
SynapseQPost-Quantum dApp

Pushed 1 commit to master

  • 5099d7e docs(readme): add verified public Railway live demo URL and mark checklist item complete · Oriojas
SynapseQPost-Quantum dApp

Newly verified on chain: EVM window (incl. scoped), Hybrid ML-DSA-87 transactions, PQC key registration with proof of possession, Test tokens fUSD, fETH, fBTC

SynapseQPost-Quantum dApp

Pushed 3 commits to master

  • 5c72367 docs(readme): fix Mermaid parse error in sealing sequence diagram · Oriojas
  • 8aca2fb Merge pull request #13 from Oriojas/develop · Oriojas
  • 3d78102 doc(): Documentation is translated into English. · Oriojas
SynapseQPost-Quantum dApp

Pushed 2 commits to master

  • 9ad065c Merge pull request #12 from Oriojas/develop · Oriojas
  • 1feaa3b feat(wallet): prioritize QoreX Wallet by default, add multi-wallet EIP-6963 selector and disconnect action · Oriojas
SynapseQPost-Quantum dApp

Pushed 3 commits to master

  • 9a6fa58 Merge pull request #11 from Oriojas/feat/railway-iac · LuisFelipe09
  • a0aa2f4 docs(deploy): add Railway login, link and deploy guide (.railway/README.md) · LuisFelipe09
  • f96f33e feat(deploy): add Railway IaC (.railway/railway.ts) with Dockerfiles for gateway and frontend · LuisFelipe09
SynapseQPost-Quantum dApp

Pushed 1 commit to master

  • e3da815 docs: add official Built on QoreChain badge for synapseq · Oriojas
SynapseQPost-Quantum dApp

Pushed 17 commits to master

  • 7071ec1 docs(security): add full security audit report (security-audit skill, master@fa10612) · Oriojas
  • fa10612 Merge pull request #10 from Oriojas/develop · Oriojas
  • aa96ca5 feat(i18n): add full EN/ES bilingual support across dApp with English as default · Oriojas
  • 21063fb feat(frontend): set English Landing as default route (/), add return button and custom Rebecca HUD scrollbars · Oriojas
  • 3fc12df feat(frontend): set English Cinematic Landing as default route (/) and add return button in dApp (/app.html) · Oriojas

and 12 more commits

SynapseQPost-Quantum dApp

Pushed 3 commits to master

  • 06c2fc7 feat(evm-window): bounded QoreChain EVM authorisation window end to end · LuisFelipe09
  • 997dd05 Merge pull request #9 from Oriojas/feat/qoreseal-integration · LuisFelipe09
  • 1cc1df8 feat(pqc): integrate official @qorechain/qoreseal v1 envelopes and hybrid ML-KEM-1024 + X25519 support · LuisFelipe09
SynapseQPost-Quantum dApp

Pushed 5 commits to master

  • cda2ea4 Merge pull request #8 from Oriojas/feat/hbom-pqc-verify · LuisFelipe09
  • 145e3ea fix(gateway): avoid 1-in-256 flaky tampered-envelope assertion in test · LuisFelipe09
  • 8cf21c1 docs(readme): document verified Diana Testnet contract address and pqcVerify tx · LuisFelipe09
  • 28c9544 feat(sdk): add hybrid MsgOpenEVMWindow CLI script for Diana Testnet and fix TS6 config · LuisFelipe09
  • 70dfd2f feat(hbom): verify OEM firmware attestations on-chain with QoreChain pqcVerify · LuisFelipe09
SynapseQPost-Quantum dApp

Earned a Ship Weeks badge.

SynapseQPost-Quantum dApp

Pushed 27 commits to master

  • b374fc4 Merge pull request #7 from Oriojas/feat/specialist-onchain-grants · LuisFelipe09
  • e338b09 Merge pull request #6 from Oriojas/feat/key-release-gateway · LuisFelipe09
  • d12693a feat(frontend): list specialist passes from the chain (getGrantsBySpecialist) · LuisFelipe09
  • 4e1ae51 fix(security): keep envelopes off-chain, harden gateway and make UI report real tx state · LuisFelipe09
  • fe712ad feat(security): add Zero-Trust Key-Release Gateway, Pinata proxy, and Shamir 2-of-3 recovery · LuisFelipe09

and 22 more commits

SynapseQPost-Quantum dApp

New project.

Comments and questions

  • @AndresChanchi

    Que buen proyecto :D 🇨🇴