Skip to content
QORECHAIN
Register

Post-Quantum dApp

JanusLabs

Quantum-safe approval for every smart-contract upgrade.

Share on X

About

Smart-contract upgrades are the most dangerous action in DeFi. Whoever can replace a proxy's implementation can rewrite every rule, including who gets paid. Radiant Capital and Bybit both lost funds to malicious upgrades signed by legitimate key holders. The cryptography held. The approval process failed. JanusLabs adds an independent ML-DSA-87 guardian to the only path that can upgrade a protected proxy. The protocol's existing multisig still proposes the upgrade. A public delay still runs. But nothing executes until a separately held post-quantum key signs the exact intent: both implementations, both code hashes, the init data hash, the nonce, the chain and the gate. Janus Lens rebuilds that intent from chain, checks the deployed bytecode and shows the guardian what they are signing. If anything changes between approval and execution, the approval dies. The demo on QoreChain Diana shows a compromised 2-of-3 multisig proposing a drain implementation. Every execution path is refused, the implementation never changes and the vault keeps its balance. The same gate also supports guardian veto, key rotation and lost-key recovery, all PQ-signed and delayed.

How it's made

Solidity 0.8.28 and Foundry for JanusGate, an EIP-1967 JanusProxy, a demo lending vault and a 2-of-3 stand-in multisig. JanusGate calls QoreChain's pqcVerify and pqcKeyStatus precompiles with low-level staticcalls and fails closed on empty return data. The guardian key is loaded from the registry, checked against a pinned hash, and required to be registered, algorithm 1 and possession-proven. TypeScript backend with viem, @qorechain/pqc, @qorechain/sdk, Drizzle and Neon. The janus CLI generates an encrypted random ML-DSA-87 guardian key, registers it with proof of possession, opens scoped EVM windows, rebuilds intents in Janus Lens, and signs or vetoes offline. Janus Watch indexes gate events into Neon and alerts when a proposed code hash matches no reviewed build. A read API serves the frontend. 63 Foundry tests use real ML-DSA-87 signatures generated through FFI. The Diana drill records real reverted transactions for the classical-only path, a foreign key, an altered intent and a direct proxy upgrade. Every claim is backed by a test or a Diana transaction hash.

Timeline

JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 8cd76a6 Build the full 2:45 motion cut with kinetic cards, real recordings and the licensed score · Devendurance
JanusLabsPost-Quantum dApp

Pushed 11 commits to main

  • 683d82d Merge main into design/brand-system and reconcile agent-state · Devendurance
  • b38c5d4 Add mobile Figma previews for the landing page and UX states · Devendurance
  • 9b26d31 Add JanusLabs design system and brand kit · Devendurance
  • 4479f84 Add project page copy for the QoreChain submission · Devendurance
  • 00379d6 Create audit evidence directory · Devendurance

and 6 more commits

JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 6c0b3da Assemble the 2:45 film cut from the real recordings, Daniel VO and licensed score · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 2d2d6e8 Render the full 12-beat storyboard and add the real screen recording test · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • b172f4c Add the exact Daniel opening voice test and caption rail detail · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • b7a6585 Rewrite the film script around the Bybit and Radiant incidents, add voice tests and caption samples · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 21ec829 Refresh the storyboard contact sheet · Devendurance(not counted: no real change)
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 01ff2cb Add the JanusLabs film storyboard, stills and reference breakdown · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • c671f8f Document the live challenge, refresh Watch screenshots and project copy · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • de19dc4 Add a live, no-wallet attack challenge against a fresh Diana proposal · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 716b8fc Add live README screenshots, badges and gallery; polish the replay and scroll experience · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 55872e2 Add drill replay, Lenis smooth scroll, scroll reveals and branded scrollbar · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 19152d5 Document the optional Stage 3 audit caveat · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • ce48ff5 Add Janus Watch operations and verification trace pages · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 9f6d819 Add cover, video script and threat model for submission · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 6618646 Add submission README and AI usage notes · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 6255cb5 Fix the mobile hero line break and ticker wrap · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 086a54a Match the frontend to the design previews · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 22d1433 Add JanusLabs web frontend to DESIGN.md · Devendurance
JanusLabsPost-Quantum dApp

Pushed 1 commit to main

  • 02bddc7 Merge design system and brand kit · Devendurance

Comments and questions

  • No comments yet.