Repository navigation
Description
P0 Protocol V2: persistent signing guard permits conflicting header targets across rounds at same height
Static security review 2026-11-13 on internal/v2/consensus/signing_guard.go. DurableSigningGuard.Authorize(network,id,height,round,target) currently rejects a changed target ONLY when height==g.height && round==g.round. For height==g.height && round>g.round, any new hash is accepted. Existing TestDurableSigningGuardRejectsConflictsAcrossRestarts explicitly expects Authorize(...,10,1,hashB) after Authorize(...,10,0,hashA) to succeed.
internal/v2/node/service.go calls this same guard before both proposer and validator vote signatures. ValidatorSet.VerifyCertificate authenticates signatures/quorum per round but cannot by itself prevent two conflicting quorum certificates at one height under round changes. Without a specified cross-round locking/unlocking protocol or justified lock-release proof, allowing honest keys to authorize different headers at one height is a P0 safety risk. No claim of an actually witnessed conflicting finalized V2 mainnet chain; current 4/7 live lab tests use round 0 only. This finding must be addressed before cross-round production finality and mainnet GO.
Conservative mitigation and required evidence
- Fail closed in the durable journal on any header target change at the same height across later rounds, preserving monotonic later-round authorization only for the same header. Keep same-slot identical replay idempotent and all earlier rounds/heights rejected.
- Replay must verify recorded target consistency across all rounds of the same height and reject otherwise with
ErrSigningJournal; checks must survive process restart. - Adjust existing test which currently expressly permits a cross-round changed target; add positive same-target higher-round test, negative changed-target same-height even after restart, and corrupt historic journal replay regression.
- Validate unchanged current two-height 4/7 independent QC lab, cryptographic negative controls and full protected CI on exact PR head; independent 3/3 postmerge.
- Before adding production round-change functionality, design/verify a cross-round BFT lock/unlock scheme with cryptographically certified unlock evidence; conservative lock may reduce liveness for alternative proposals until that is done. DO NOT weaken safety to fix liveness.
- Keep P0 V2 network lab: launch independently fenced validator processes and verify QC finality across Docker hosts #211 and P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 mainnet NO-GO; this is one identified security boundary, not a substitute for host independence, external custody or multiheight partition tests.
2026-11-14 — P0 conservative mitigation draft #228 on latest main
- Initial draft security(v2): P0 reject same-height cross-round conflicting signing intents #227 head
a994f66ed6d94dc16ff838bd33680062f488a893passed 4/7 real-process signed QC and Docker matrix, but branch was superseded/closed after unrelated ci(v2): fail-closed valid P-256 signatures below 3/4 and 5/7 quorum #225 protected merge advanced main. New draft PR #228 exact head9c8236598a4334f9108e1babe33ae19b17680af6, base mainf3d7766ceb215965f021f3af910dd896f248dd28, ports the same safety change, journal replay rejection and adversarial tests. All exact-head protected gates pending; mainnet NO-GO and issue P0 remain OPEN until validation/merge. This conservative lock explicitly restricts cross-round alternative header liveness until a verified unlock-proof scheme exists.
2026-11-14 — Protected P0 conservative signing lock MERGED, full multi-round safety still OPEN
- Final exact PR security(v2): P0 durable signer locks same height across all rounds #228 head
9c8236598a4334f9108e1babe33ae19b17680af6passed 7/7 completed SUCCESS: CI, V2 Lab, V2 Devnet Gate, Dependency Lock, Security Regression, real signed QC 4/7-process and Docker matrix. Protected expected-head squash merged PR #228 intomainc166fe6f74b64162a4b4495e5e96dbe3c4bb1972. Same-height cross-round changed-target signing and fully hash-chained conflicting journal replay now fail closed; same-target later rounds remain allowed, with restart tests. Independent CI/V2 Lab/Security postmerge push workflows are RUNNING, not yet complete. - Issue P0 V2 safety: signing guard accepts conflicting header at later round of same height #226 stays OPEN: conservative lock does not implement a certified unlock/proposal-rotation mechanism for nonidentical later-round headers; full BFT multi-round liveness and independently operated host/custody tests remain unproven. Mainnet stays NO-GO.
2026-11-14 — PR #228 postmerge exact-main all three SUCCESS
- Verified unchanged main
c166fe6f74b64162a4b4495e5e96dbe3c4bb1972after the actual 180-second observation window. Three independentpushworkflows COMPLETED/SUCCESS: CI 43525806979, V2 Lab 43525807066, Security Regression 43525807059. This verifies the conservative guard mitigation at this SHA; it does NOT close the missing formal unlock proof or external/host diversity acceptance. Issue P0 V2 safety: signing guard accepts conflicting header at later round of same height #226 remains OPEN, mainnet NO-GO.
2026-11-14 — Kaggle exact-main 7 Go tests success; signer guard expansion drafted
- PR fix(kaggle): discover trusted private dataset mount and fail before CPU if pins absent #240 protected squash main
c670726e5521ec14d4056c7eac7458dfbbe4031fnow passed 3/3 independent push workflows: CI 43581625583, V2 Lab 43581625495, and V2 Security Regression 43581625545. The independently hosted private Kaggle CPU-only real Go run 43581625479 passed 7 Go tests with exact source/binary SHA checks; no GPU/TPU used. - New draft PR #241, head
07bd253b286cff62dd421ac9c236e5d602d5d84c, adds five selected Go signer cross-round lock/restart and QC tampering regression tests to the external CPU matrix (12 minimum), with GitHub-local preflight before remote submission. All exact-head protected workflows pending. A Kaggle CPU unit test is not a live independent 4/7 validator QC, HSM or formal cross-round unlock proof. P0 remains OPEN, mainnet P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 NO-GO.
2026-11-14 — Kaggle real Go signer/QC 12-test matrix verified on latest main
- PR #242 exact head
1f3a29d08eb12e30df37edfd38a5b795ac5b7f56passed 5/5 protected checks and fixed invalid Kaggle workflow duplicated tail from PR test(kaggle): require real external Go signer-lock and QC tampering regressions #241 (original main run 43582519238 failed with zero jobs, retained). Protected squash main08a74a789c0715a12c19d1d51c047d7deaf906c7. - Independent Kaggle real-Go CPU run 43582991493 completed SUCCESS, downloaded and validated signed-off-by-workflow exact-source SHA and binary SHA-256 evidence, 12 compiled Go consensus unit tests PASSED, 0 failed, including conservative signer cross-round journal lock/restart and indexed QC tampering negative tests. Kaggle execution remains private, offline, CPU only with GPU/TPU disabled. Evidence artifact
kaggle-offline-go-consensus-cpu-evidenceID 14108748967. - Exact-main CI 43582991516 and V2 Lab 43582991519 SUCCESS; Security Regression 43582991517 in progress at this update. These 12 Go unit tests are not evidence of production BFT certified unlock, remote live validator QUIC networking, separate signer custody or independent host operators. P0 P0 V2 network lab: launch independently fenced validator processes and verify QC finality across Docker hosts #211/P0 V2 safety: signing guard accepts conflicting header at later round of same height #226 and P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 mainnet NO-GO remain OPEN.
2026-11-14 — PR #242 independent main-push verification complete
- At exact
main08a74a789c0715a12c19d1d51c047d7deaf906c7, 3/3 independent push workflows completed SUCCESS: CI 43582991516, V2 Lab 43582991519, V2 Security Regression 43582991517. Separate external private Kaggle CPU real Go run 43582991493 SUCCESS with 12 Go tests and exact-source/hash evidence, no GPU/TPU. The previous workflow parse failure 43582519238 remains historical evidence, not overwritten. - This is external CPU-only unit-test execution, not independent live validator hosting, a multi-round BFT unlock certificate, externally fenced HSMs, or complete audit. All corresponding P0 release acceptance conditions remain OPEN; mainnet P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 NO-GO.
2026-11-14 — External CPU test identity acceptance hardened (#243)
- Current exact main
08a74a789c0715a12c19d1d51c047d7deaf906c7completed 3/3 CI/V2 Lab/Security Regression and Kaggle #43582991493 PASS 12 compiled Go consensus tests, but the external verifier previously accepted merely 12 or more PASS lines without checking identities and SKIP/duplicate cases. - Draft PR #243 head
21dadd6209c6d13cd6b1acb541b37351750d5230now requires exactly the 12 named tests, rejects missing, duplicate, failed or skipped named tests, and independently verifies sorted named passes in GitHub Actions. Protected checks are pending. This is test-evidence integrity work, NOT BFT unlock proof or independent running validators; P0 remains OPEN, mainnet P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 NO-GO.
2026-11-14 — Exact-name external Go evidence gate integrated
- PR #243 exact head
21dadd6209c6d13cd6b1acb541b37351750d5230passed 5/5 protected workflows (CI, V2 Lab, Security Regression, Devnet Gate, Dependency Lock). Protected squash merged tomain61410711fec6f9ae2b0819fb171e792a005201a4. - Kaggle remote Go evidence now rejects missing, duplicate, skipped, or substituted Go test names, verifies exactly twelve top-level test identities twice (within notebook and independently in GitHub), and keeps pinned source/binary SHA, private dataset, CPU-only GPU/TPU off, and bounded 180s polling.
- Independent main CI/V2 Lab/Security and Kaggle exact-main run in progress at issue update. No new remote evidence claimed until GitHub reports SUCCESS. Mainnet P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 remains NO-GO; P0 V2 safety: signing guard accepts conflicting header at later round of same height #226 P0 OPEN for real BFT lock/unlock and independent signer custody.
2026-11-14 — Exact-name 12-test external Kaggle Go CPU evidence verified
- Protected PR #243 merged
main61410711fec6f9ae2b0819fb171e792a005201a4after 5/5 exact-head gates. Kaggle exact-main run 43587630386 COMPLETED/SUCCESS: 12 compiled Zephyr Go consensus test identities exactly matched the required set, 0 skipped/failed, names independently verified in GitHub after downloaded report; source SHA and SHA-256 binary pins verified. Private offline CPU-only kernel, no GPU/TPU, 180s remote status wait. Artifactkaggle-offline-go-consensus-cpu-evidenceid14111715356. - CI 43587630323 and V2 Lab 43587630337 independently SUCCESS; postmerge Security Regression 43587630408 still in progress when written. No live external validator QC or multi-round unlock proof claimed, P0 stays OPEN; P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 mainnet NO-GO.
2026-11-14 — PR #243 full exact-main independent push gates complete
- At unchanged exact
main61410711fec6f9ae2b0819fb171e792a005201a4, CI 43587630323, V2 Lab 43587630337, and V2 Security Regression 43587630408 3/3 SUCCESS, alongside external Kaggle exact-test-identity Go 43587630386 SUCCESS. This qualifies the 12 named CPU-only unit tests, not production cross-host BFT finality or signer custody. Mainnet P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 NO-GO.
2026-11-14 — Protected external Kaggle 15-name Go host-fence test matrix passed
- PR #244 merged to main
973edcc767efff74654f24707d4b8c7c381af449after 5/5 protected gates, but its exact-main Kaggle workflow43588671404failed at YAML parsing (zero jobs) due to a duplicate appended workflow suffix and broken host-fence preflight command; no remote compute spent from this failed workflow. - Corrective PR #245 passed 5/5 protected gates and merged main
209a7b8d5c749f9a8496659fa0841e1506632ba7. It repairs Kaggle YAML and adds mandatory regular CI checks for YAML parse, duplicate section rejection, complete anchored Go preflight filters, exact required test identities and no GPU/TPU. The new static CI check was exercised successfully. - Independent exact-main Kaggle 43589324906 COMPLETED/SUCCESS, 15 named Go consensus tests passed with no omissions/skips, source commit and SHA-256 binary verified; includes three cross-process host custody root fence negative tests, all on private offline CPU notebook. Evidence artifact id
14111387570. Exact-main CI 43589324940 and V2 Lab 43589324946 SUCCESS; Security Regression 43589324947 running when recorded. - The exercises are cross-process on a single external CPU host; NOT independently operated physical hosts, externally protected HSMs, live QUIC 4/7 validators or a formally certified BFT unlock. P0 remains OPEN; mainnet P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42 NO-GO.
2026-11-14 — Exact main 209a7b8d external 15-test CPU and independent push gates complete
- GitHub protected main
209a7b8d5c749f9a8496659fa0841e1506632ba7has 4/4 SUCCESS: CI 43589324940, V2 Lab 43589324946, V2 Security Regression 43589324947, and external Kaggle offline Go CPU 43589324906 with 15/15 exact named tests. Host-fence regression is local subprocess only; external validator custody, independent hosts and certified multi-round unlock remain unproven. Mainnet remains NO-GO.
Activity