Skip to content

P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42

Description

@the-code-learner

Launch decision: NO-GO — mainnet not yet safe to expose real assets

Protocol v2 is a substantially more complete reference/development baseline following integration PR #39 and security PRs #40 and #41. Those merges passed the protected-main gates. They do not constitute independent audits, public mainnet authorization, multi-host validator recovery, or proven 1M finalized TPS.

Full evidence requirements: docs/mainnet-security-release-gates.md.

Required, independently reviewed launch blockers

  • Implement and test real v2 multi-process validator/observer startup with secure persistent consensus signer, monotonic height/round double-sign prevention across different state directories.
  • Authenticate bootstrap, QC-backed validator-root transitions, full restart checkpoint and recovery; reject state from unauthenticated peers.
  • Test 3+ independently deployed hosts/providers with Byzantine faults, partitions, prolonged disconnection and crash/restart; publish complete reproducible safety/liveness results.
  • Independent protocol/cryptographic/state/contract audit with published remediation evidence.
  • Deterministic, metered production WASM sandbox with ABI, tooling and gas semantics, including migration/upgrade security.
  • Finalized compute job/assignment authorization and provider isolation, quotas, replay protection and verifiable dispute/slash settlement.
  • Multi-shard 4/16 shard cross-shard proof and recovery tests on controlled distinct hardware; record finality p50/p95/p99, CPU/RAM/network and actual QC-verified throughput.
  • Mobile Citizen verification and cache/relay/DA functions with resource/battery testing and signed, reproducible builds.
  • Finalized VRF key authorization, anti-grinding cutoff, withholding semantics, secure multi-producer beacon and deterministic fallback before activating committee authority.
  • Authenticated governance voting/execution and permissioned upgrades preserving QC-backed validator-root trust.
  • Canonical, adversarially simulated oracle-free ZPH economics; no implicit ContributionScore weighting, mint, levy or rewards before governance/activation spec.
  • Public genesis ceremony, independently pinned NetworkID/validator root, key custody/rotation, signed releases, incident-response/recovery drills, operational alerting, and multi-operator sign-off.

Current evidence

Do not close this issue because a CI pipeline is green or because code compiles. Close only after independently verified acceptance evidence is recorded for every blocker. No trusted oracle shortcuts; measure → simulate → activate.

2026-11-11 — Draft PR #169: fail-closed offline mainnet evidence integrity preflight (NOT launch authorization)

  • PR #169, initial exact head fd68ef230a95ce8e91b370f598b5304d27f12afe, base main eb06bb3a7bbd04dd54129d0ac16a2db0ebdb35da, draft. New scripts/check-mainnet-evidence.py validates a versioned manifest with all 13 areas of mainnet launch evidence, integrity SHA-256 of actual offline files, unique canonical contained paths and rejects missing/invalid/modified/escaped/duplicated artifacts. The CLI always prints MAINNET: NO-GO, even with all checks passing, since file hashes and self-asserted claims are NOT independent external audits, nonrollbackable HSM proof, custody independence or signed release approval. Synthetic negative tests under scripts/test-check-mainnet-evidence.py, Security Regression workflow step, docs/mainnet-evidence-dossier.md operator instructions. No acceptance checkbox met by this tooling alone.
  • New exact-head five workflow runs launched: CI 43110370075, V2 Lab 43110369997, Dependency Lock 43110370110, V2 Devnet Gate 43110370174, V2 Security Regression 43110369942; first REAL sleep180 started 2026-11-11T22:16:38Z and must be independently checked via /tmp/zephyr_pr169_pre.done. No merge until 5/5 exact-head SUCCESS and unchanged base/head/mergeability, then protected expected-head squash and separate real sleep180 plus 3/3 main push. P0 Mainnet NO-GO: independent security, multi-host consensus and full production release gates #42/P0 GO blocker: deploy and audit independent monotonic finalized-checkpoint witnesses #54/P0: independently operated witness publication, monotonic freshness and multi-host adversarial recovery gate #55 OPEN; public mainnet NO-GO.

2026-11-11 — PR #169 offline evidence dossier preflight integrated; DOES NOT AUTHORIZE MAINNET GO

  • PR #169 protected expected-head squash MERGED main 6ab3cacc51aae7adca7de10fc1c8f845b48d387c from corrected final PR head f7ef7898ccaae5cdb78a51ea445b654767c36a27. New scripts/check-mainnet-evidence.py, scripts/test_check_mainnet_evidence.py, docs/mainnet-evidence-dossier.md: require 13 release evidence categories and actual contained immutable SHA-256-matched artifact files, deny missing/unknown/escaped/duplicated/modified evidence; CLI always prints MAINNET: NO-GO, including on preflight success. This only verifies dossier file integrity. It does not prove independent operators, nonrollbackable HSM global signer, signed freshness, multi-host adversarial recovery, external audit, performance, runtime correctness or release authority.
  • Initial head fd68ef230a95ce8e91b370f598b5304d27f12afe Security Regression 43110369942 FAILED because hyphenated test file was not importable by unittest discovery (Ran 0 tests); corrected module filename + workflow/docs. New head 5/5 GitHub Actions COMPLETED/SUCCESS after actual 180-second sleep 2026-11-11T22:19:34Z→22:22:34Z, main and head unchanged: CI 43110777141, V2 Lab 43110777178, Dependency Lock 43110777110, Devnet 43110777113, Security 43110777295 (new evidence test step passed).
  • Independent REAL postmerge sleep180 completed 2026-11-11T22:24:06Z→22:27:06Z (marker confirmed). Main SHA independently rechecked unchanged 6ab3cacc51aae7adca7de10fc1c8f845b48d387c; all THREE exact-main-push workflow runs COMPLETED/SUCCESS: CI 43111436454, V2 Lab 43111436378, V2 Security Regression 43111436481. Full 5/5 exact-head PR checks and 3/3 postmerge push checks verified. Still MAINNET NO-GO: tool only verifies file integrity, no external operator independence, HSM monotonicity, multihost Byzantine recovery or security audit demonstrated. NO-GO, all acceptance checkboxes still OPEN until independent evidence reviewed.

2026-11-11 — Draft PR #170: direct local custody signing aggregate deadline

2026-11-11 — Draft PR #171 anchor hardlink isolation fail-closed

2026-11-11 — Draft PR #172 pin active custody anchor descriptor to canonical pathname

2026-11-13 — GitHub-first targets, tracked in #208

Release target update (2026-11-13): GitHub-first zero-required-spend validation under #208. The assistant will conduct and document an internal adversarial code/security review; it cannot count as independent third-party audit. Use isolated Docker/GitHub runner tests before requesting outside MCP infrastructure. True independent operator/key custody, realistic multi-provider recovery, external assurance and every existing acceptance criterion remain NO-GO until verifiable evidence exists. Escalate only after documenting a precise GitHub-only limitation.

2026-11-14 — Seven-process kill/rejoin protected main verification

2026-11-14 — PR #242 independent main-push verification complete

2026-11-14 — Exact main 209a7b8d external 15-test CPU and independent push gates complete

Activity

  1. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    P0 partial progress (30 Oct 2026): PR #43 merged on protected main as 19e441457829d11aca3c665a465ec675f52b6cf2, with exact-head CI, V2 Lab, V2 Dependency Lock, V2 Devnet Gate and V2 Security Regression all successful. This adds a network/validator-bound, append-only fsynced signing-intent journal and NewProtectedService, rejecting same-slot conflicts and historical rollback after restart. This does not close the launch blocker: distinct hosts that hold duplicate consensus private keys and different journal copies could still sign conflicting blocks; a real protected v2 validator executable, exclusive/HSM or threshold signer custody, independently hosted crash/restart consensus testing, external audit and all other launch gates remain outstanding. Mainnet status NO-GO.

  2. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    M1/P0 progress (30 Oct 2026): PR #44 merged on protected main at 47c46a8e0a7b1fd329768b713ab83414bed9848a. Exact-head CI (41060579196), V2 Lab (41060579271), V2 Dependency Lock (41060579186), V2 Devnet Gate (41060579248) and V2 Security Regression (41060579260) all SUCCESS. Adds cmd/v2-observer and internal/v2/bootstrap: independently pinned canonical NetworkID/validator root, exact durable genesis roots per shard, owner-only WAL lock, persistent network-bound QUIC peer ID, observer-only (no consensus signer), bounded peers and a deliberately irreversible single-session restart marker. Existing v2 runtime cannot yet recover a full certified height/parent hash on restart; launching another session against the same data dir is blocked even if roots match genesis (empty finalized blocks still advance height). Corrected previously malformed scripts/verify-v2.sh, and required bash -n in CI plus -race bootstrap tests. This does not satisfy public mainnet requirements: implement independently QC-authenticated durable checkpoint/history recovery, actual protected validator CLI and exclusive multi-host signer custody, admission/DoS protections, multi-operator tests and independent audits. Issue remains NO-GO.

  3. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    M1/P0 recovery increment merged (30 Oct 2026): PR #45 #45 merged to protected main at 0a94e2a428cfe4469edbdf8e9a80a1a6203c74e7. Exact-head CI 41063416342, V2 Lab 41063416284, V2 Dependency Lock 41063416419, V2 Devnet Gate 41063416404, V2 Security Regression 41063416338 all SUCCESS. The non-voting v2 observer can now restart ONLY from a direct, QC-certified genesis successor at height 1, verifying the network, validator set, every independent genesis predecessor shard root and the durable journal's certified poststate; malformed/forged QC, tampered roots, multi-height histories, unverified validator transitions and concurrent writer access are rejected. A new adversarial test confirms recomputing a journal checksum cannot bypass cryptographic QC checks. Mainnet remains NO-GO. Critical next P0 is append-only authenticated multi-height finalized header+certificate history, verified state snapshot replay and monotonic checkpoint/anti-rollback anchor. The latest global commit journal retains just one commit: do NOT infer multi-height safety or production crash recovery from this milestone. Separate duplicate-key custody, multi-host adversarial tests and external audit remain required.

  4. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    M1/P0 multi-height finality history merged (30 Oct 2026): PR #46 #46 merged normally on protected main at commit d8b28aec37aa9e2ce772cca8a752fa31b7f4b977. Exact-head checks all SUCCESS: CI 41068272545, V2 Lab 41068272299, V2 Dependency Lock 41068272293, V2 Devnet Gate 41068272311, V2 Security Regression 41068272303. Adds bounded append-only fsynced certified-history.log with every QC-certified global commit intent, strict genesis/network/validator anchor, per-height hash chain, signed QC and state root validation, independent state delta reapply from genesis in memory on non-voting observer restart; binds last record to PREPARING/COMMITTED durable global journal. Crash/torn history, missing prior blocks, forged intermediate QC with recomputed valid checksum, inconsistent shard state and unsafe validator-set transitions fail closed; concurrency-protected file on Linux/macOS. Initial limit 4096 events/512MiB; no pruning or automatic legacy migration. PUBLIC MAINNET NO-GO remains open: complete old backup/history/state rollback is not detected by this same-directory history; need external monotonic finalized checkpoint, verified validator-set rotations, signed independent genesis/upgrade, exclusive multi-host signing/HSM custody, Byzantine independent-host tests, runtime audits and all remaining production release gates. QC-backed recorded deltas are reapplied; historical transaction scripts are not independently re-executed from original blocks. No claims of public launch or finalized 1M TPS.

  5. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    M1/P0 external minimum-finality checkpoint protection merged (30 Oct 2026): PR #47 #47 merged through protected main at verified SHA 583c9e8cb86e0f9d36cb600581255192d363ea1d. Exact-head PR gate runs all SUCCESS: CI 41076834450, V2 Lab 41076834496, V2 Dependency Lock 41076834396, V2 Devnet Gate 41076834453, V2 Security Regression 41076834420. Added explicit network+initial-validator-bound FinalityCheckpoint{Height,HeaderHash} operator trust input, verified at exact historical ancestor during complete QC-certified genesis-to-tip replay before global WAL reconciliation. New non-voting observer CLI flags -trusted-finalized-height and -trusted-finalized-hash must be paired; fresh genesis-only startup is refused with a positive pinned finalized height. JSON output shows verified tip hash and labels no-pin startup as UNANCHORED. Negative tests cover older internally valid history+global journal backups, same-height fork, future height, foreign network/validator root, malformed/unpaired pins, and fresh observer. Documentation clearly distinguishes an externally supplied trust assertion from an authenticated signed/monotonic checkpoint system. PUBLIC MAINNET remains NO-GO: pin freshness and trusted off-host custody are operator responsibility; need independent monotonic authenticated checkpoint publication and storage, validated historical validator-set transitions, production validator key custody/exclusive HSM signer across hosts, multi-provider Byzantine adversarial recovery and independent audits. Existing no-pin observer remains devnet-only. No economics/VRF/mainnet activation.

  6. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    M1/P0 external monotonic-finality high-water tranche merged (30 Oct 2026): PR #48 #48 merged normally via protected PR at verified main SHA 42885b029a919f262ecc5cc46f9aa42ad28bfcc9. Exact-head premerge runs all SUCCESS: CI 41083099274, V2 Lab 41083099509, V2 Dependency Lock 41083099153, V2 Devnet Gate 41083099310, V2 Security Regression 41083099319. Adds FinalityAnchorStore: owner-only 0700 separately provisioned directory and 0600 versioned network/validator-bound exclusive flock + O_NOFOLLOW fsynced append-only hash-chained high-water ledger, strict increasing (height, HeaderConsensusHash), same-height equivocation and lower-height refusal, 4096 record cap. An observer can opt in via -external-anchor-file (outside mutable node dataDir); after each QC-authorized commit and durable WAL/global journal, high-water advancement must fsync before successful finality return, with fail-stop and QC-verified replay on power loss. Restart requires the separately held exact high-water to be a QC-verified ancestor before recovering any journal, then safely catches up. Tests cover stale but locally QC-valid history rollback, corruption/torn record, missing guard, wrong network/validator root, symlink, 0755 parent rejection, concurrent lock, and injected guard outage. Temporary formatting workflows removed. MAINNET REMAINS NO-GO: an adversary able to restore the high-water file itself still defeats local monotonicity; no independently hosted/authenticated monotonic witness, remote/HSM register, or independently proven freshness. Historical validator-root changes, production validator key custody/HSM fencing, multi-host Byzantine crash/partition tests, independent audit, production WASM and other launch gates unresolved. No public network release, no production validator activation or 1M TPS proof.

  7. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    Dependency-maintenance gate closed (30 Oct 2026): All seven older open Dependabot PRs (#29, #30, #31, #32, #33, #35, #36) are now closed as superseded by tested merged updates; verified open PR count = 0. PR #49 #49 merged to protected main d419d99fb9d9eab819144ca3a6f0ff3b15edfe79 (reviewed Reed-Solomon v1.14.2 and five wallet build packages, with coherent lockfile). PR #50 #50 merged to protected main cc450415fd60916dec5f0f9d4624dfae760a6f3b (libp2p-pubsub v0.19.0, libp2p v0.51.0, quic-go v0.64.1, webtransport-go v0.13.0, Go 1.26.6). Both PRs passed exact-head CI, V2 Lab, V2 Dependency Lock, V2 Devnet Gate and V2 Security Regression. Postmerge CI, V2 Lab and V2 Security Regression also SUCCESS on each merged main commit. No npm audit waiver. An intermittent legacy Go test TestConsensusAutomationRebroadcastsVoteAfterPeerLinkRestored failed once during PR #50 validation with concurrent t.TempDir cleanup; newer exact-head full suite passed; recorded separately at issue #51 #51 for repeat/race investigation. Public mainnet remains NO-GO pending independent security, multi-host consensus, external monotonic checkpoint custody, globally exclusive validator signing, production WASM, etc. Green dependency hygiene != mainnet readiness.

  8. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    M1 / consensus test reliability tranche merged (30 Oct 2026): PR #52 #52 merged through protected main at verified SHA af7da4c815d391c58c201c2f49e6c6a2f59d185d. Addresses #51, flaky legacy rebroadcast test cleanup race. Root causes addressed: both consensus automation loops now shut down before either TempDir state storage cleanup; previously unsynchronized dynamic PeerURLs writes and consensus/peer status reads now use immutable mutex-protected snapshots, including the legacy multi-validator lab's runtime topology wiring. Regression CI repeats consensus rebroadcast test 80 times and race-checks it and the peer snapshot concurrency regression 12 times. Five exact-head PR checks all SUCCESS: CI 41105410434, V2 Lab 41105410460, Dependency Lock 41105410525, Devnet Gate 41105410523, Security Regression 41105410459. All prior multi-validator lab mempool convergence failures from the first patch were fixed and revalidated before merge. Public mainnet remains NO-GO, as CI reliability and in-process peer-list safety do not establish multi-host Byzantine consensus, secure globally exclusive signer/HSM custody, independent authenticated monotonic checkpoint witnesses, validator root rotations, external security audit or production WASM gates. Postmerge push CI/Lab/Security are running at this checkpoint; evaluate separately.

  9. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    P0 signed independent-witness verifier increment merged (30 Oct 2026): PR #53 #53 merged through protected main at verified SHA b8c886a4c20c542a1c86797bb977a32fc7cdd6ae. All five exact-head PR gates SUCCESS: CI 41108477334, V2 Lab 41108477321, V2 Dependency Lock 41108477379, V2 Devnet Gate 41108477283, V2 Security Regression 41108477324. Implements bounded canonical JSON checkpoint attestation with independently pinned Ed25519 witness public keys, supermajority >2/3 of >=3 unique keys; domain-separated NetworkID/original validator-root/height/header-hash digest, all signatures verified, duplicate/foreign/forged/insufficient signer and ambiguous JSON rejection. Non-voting observer CLI can require signed bundle and independently pinned witness keys. Certified history now verifies signed witness and separately held high-water ledger as two distinct QC-certified historical ancestors, without silently replacing or discarding one. Includes adversarial signed/dual-ancestor/race and CLI tests. PUBLIC MAINNET remains NO-GO. This verifies a claimed external signature set against local native QCs, but does NOT prove the signers truly represent independent operators or have recently verified finality; there is no remote monotonic witness deployment, key ceremony, publication/freshness/rotation protocol or third-party audit. Dedicated external acceptance issue: #54 #54. Other #42 P0 gates remain: globally exclusive validator custody, historical validator-set transitions, independent multi-host chaos/recovery, production runtime and security audit. Postmerge main push checks pending at this comment.

  10. the-code-learner commented on Oct 30, 2026

    @the-code-learner
    OwnerAuthor

    Postmerge verification complete for P0 PR #53 on protected main SHA b8c886a4c20c542a1c86797bb977a32fc7cdd6ae: CI push run 41108923924, V2 Lab push run 41108923973, V2 Security Regression push run 41108924365 all completed SUCCESS. Exact-head PR checks likewise all green; temporary gofmt workflow absent from main. The independent signed-witness verification improvement is merged and testable. External witness deployment, independent monotonic/freshness guarantees and their cryptographic/key custody audits are NOT complete, tracked at #54. Public mainnet issue #42 remains NO-GO alongside the remaining production-security release gates.

  11. the-code-learner commented on Nov 9, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-09 release-gate tracker correction: reopened #42 because its own independently-reviewed launch checklist is still unchecked and the repository's current release status is PUBLIC MAINNET NO-GO. CI-passing reference implementation is not production authorization. Recent witness custody progress #121–#125 strengthens local signer/QC and authenticated remote-floor recovery, but NO globally nonrollbackable HSM atomic reserve+sign, >=4 witness keys across >=3 independent operators, production WASM, true multi-host fault injection, independent audit, genesis ceremony or throughput sign-off has been completed. Keep #42 OPEN as the parent P0 GO/NO-GO matrix and link #54/#55 for witness issues and #92 for P1 performance. No 'GO' until each acceptance checkbox is supported by independent evidence; closing the issue earlier did not establish such evidence.

  12. the-code-learner commented on Nov 9, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-09 mainnet parent remains reopened NO-GO: protected merges #125 (fdf54990ac84e8e1d6b00040236aa955fc03782a) and #126 (b9202e2704639b5284b679e9ce7b8d3e3616e74b) strengthen local witness signer recovery with exact authenticated floor reconciliation and 3-of-4 cryptographically signed quorum test under race CI. They do not satisfy independent production HSM globally monotonic atomic custody, >=3 actual operators, real partitions/cold restore, external audit, production WASM and remaining independent sign-off requirements in this parent's checklist. Keep issue #42 OPEN, continue NO-GO.

  13. the-code-learner commented on Nov 9, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-09 mainnet GO/NO-GO parent remains OPEN: PR #127 merged protected main with 5/5 PR and 3/3 postmerge CI, two signed-quorum floor origins verified with local custody restart tests. PR #131 draft improves canonical HTTPS witness publication endpoint policy, still awaiting CI. These do NOT substitute for production globally nonrollbackable HSM reserve/sign, >=4 independent witness keys across >=3 real operators, real multi-host tests, independent audit, and other unreconciled release gates. Public mainnet remains NO-GO.

  14. 61 remaining items

  15. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — PR #195 protected expected-head squash merged into main 945df245dc1d23d4236151200f23b11a937dfe2d from exact PR head c9aac0f5ecbcc84ccfca8a86a838cd6d28e3679b, FIVE exact head workflow runs completed SUCCESS: CI 43412570641, Lab 43412570705, Dependency 43412570631, Devnet 43412570645, Security Regression 43412570546. P0 offline dossier verifier now hashes actual opened regular inode using descriptor-relative O_DIRECTORY|O_NOFOLLOW for parents and O_NOFOLLOW|O_NONBLOCK for leaf; checks fstat metadata before/after SHA256, rejects multiply linked files/descriptor identity reuse, includes deterministic symlink-swap adversarial tests. Not privileged in-place write protection, signed independent review, witness quorum custody or public launch signoff. Exact-main push CI 43417548281 and Lab 43417548171 SUCCESS; Security Regression 43417548195 running at first check. Actual postmerge sleep180 11:30:13→11:33:13 completed; second started 11:34:28 pending 11:37:28. 3/3 NOT claimed yet; P0 #42/#54/#55 OPEN NO-GO.

  16. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — PR #195 P0 offline evidence verification complete on protected main 945df245dc1d23d4236151200f23b11a937dfe2d: five final-head PR gates SUCCESS (CI 43412570641, V2 Lab 43412570705, Lock 43412570631, Devnet 43412570645, Security 43412570546); ALL THREE exact-main push runs independently verified completed/success (CI 43417548281, Lab 43417548171, Security 43417548195). Two genuine postmerge 180s checks 11:30:13→11:33:13 and 11:34:28→11:37:28. The descriptor-relative nofollow hash preflight rejects leaf/parent symlink TOCTOU and checks actual opened regular inode before/after reading, but does not establish independently authenticated third-party audit, external operator/HSM monotonic custody, Byzantine multi-host testing, or public launch authorization. P0 issue #42 and dependent #54/#55 stay OPEN, public MAINNET NO-GO.

  17. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — P0 evidence preflight hardening PR #203 OPEN head 4e034a6ec492ee73e7e7ec80d3a9a3f1f979bde3 against main 049e1b03292fe284405aa779492b4d780b1c9f45. Existing PR195 already descriptor-pinned artifact hash files, but manifest itself remained unbounded Path.read_text(), symlink-following and potentially blocking on malicious FIFO. PR203 implements fail-closed bounded 4MiB manifest reading via opened O_NOFOLLOW|O_NONBLOCK fd, regular singly-linked inode, fstat metadata before/after read; preserves duplicate nested JSON key rejection, no release GO. Adversarial Python tests cover symlink/hardlink, swapped leaf just before os.open, FIFO, oversized input, in-place mutation during read. Existing Security workflow auto-runs complete unittest file. Exact PR head workflow IDs CI 43436747539, Lab 43436747425, Lock 43436747424, Devnet 43436747407, Security 43436747336; at 13:49Z CI/Lock/Devnet SUCCESS, Security dedicated mainnet manifest step SUCCESS, Lab and entire Security in progress. Real premerge sleep180 13:49:21→13:52:21 marker /tmp/zephyr_pr203_wait1.done pending. NO merge without 5/5 exact head, actual wait, protected expected-head and independently verified 3/3 exact main push. P0 #42/#54/#55 remain OPEN NO-GO; this does NOT prove independent witness custody, third-party audit or real multihost testing.

  18. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 15:09 UTC — P0 security dossier hardening PR #203 continues against CURRENT protected main after safe branch rebase. Original PR head 4e034a6ec492ee73e7e7ec80d3a9a3f1f979bde3 5/5 completed SUCCESS but based on obsolete main 049e1b03, NOT merged. After PR207 exact-main postmerge 3/3 completed SUCCESS on 07dd143134b9801340209c33fdff41abf982160b (CI 43448260030, Lab 43448260196, Security 43448260133), reset ONLY own PR203 feature branch with force-with-lease and reapplied the two Python manifest files. Reopened PR203, exact new head 572056988b0eda4938e8b953783ff4d38e5aace0, base main 07dd1431, five NEW workflow runs: CI 43449473753, Lab 43449474055, Dependency 43449473994, Devnet 43449473754, Security 43449473839; at ~15:08 Dependency SUCCESS, others in_progress. Genuine new sleep180 started 15:08:08 marker /tmp/zephyr_pr203_rebased_pre180.done due 15:11:08. Manifest read via bounded O_NOFOLLOW|O_NONBLOCK descriptor, regular single hardlink, max4MiB bytes and stable fstat before/after; symlink, FIFO, hardlink, growth and in-place modification adversarial tests, retains duplicate JSON member reject. No waiver of independent external audit/HSM/operator approval; #42/#54/#55 P0 remain OPEN and public mainnet NO-GO. No PR203 merge before 5/5 exact final head plus actual timer and 3/3 exact-main push after.

  19. the-code-learner commented on Nov 13, 2026

    @the-code-learner
    OwnerAuthor

    2026-11-13 — Follow-up security review of OPEN PR #203 manifest FD hardening: the current proposed read_manifest_document(path) uses os.open(path, O_RDONLY|O_NOFOLLOW|O_NONBLOCK), which rejects a symlink at the leaf, but POSIX O_NOFOLLOW does not reject symlinked ancestor directories in a multi-component manifest pathname. The new PR203 tests cover symlink/hardlink leaf, leaf swap, FIFO, size and in-place mutation, but not a parent directory symlink or parent swap. PR203 is useful partial fail-closed hardening and should keep strict five exact-head CI; however, do NOT treat it as path-component-complete descriptor pinning. Plan follow-up P0 code/test: open each parent component from a pinned root/CWD using O_DIRECTORY|O_NOFOLLOW and dir_fd, reject ../ambiguous path forms, then open leaf using O_NOFOLLOW|O_NONBLOCK, fstat before/after, and adversarial test parent symlink + post-check swap. Neither local verifier change equals independent external audit or root/privileged tamper resistance. #42 and witness #54/#55 remain OPEN mainnet NO-GO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions