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