Repository navigation
Selûne v0.4.0 — Silverfire Closure
Selûne v0.4.0 closes the Silverfire cryptographic, process-isolation, browser-custody, and formal-verification workstreams across ARM64 (Linux 7.3.0) and x86-64 (Linux 7.2.15), verified through a strict 4-family Bounded Audit with blinded external arbitration (Accepted(deferred_ids)) and permanent zero-finding release-cut Warden gates.
- Frozen cryptographic & multicore code commit:
34261109124b2b3c344d9e87aed6b2b3841a57bf(tree5d88622b4d537aec21c1be95bc2619f6cb89bafa) - Version-bumped tree commit:
aa478c7572500119d9eef66fd0a40ef5bd547266(tree2b1e0393b4b6b726e95474c4d6ea0ac561261f66) - Tagged release commit:
7a016daa3ccd5521d8dd8d408219ddcc3cdafd2f(v0.4.0)
Highlights
1. ARM64 Locked-Workspace Stack Trampoline, PROT_NONE Guards & Dual-Host BINSEC/Rel 0.11.3
- Eliminated explicit stack secret arrays across ARM64 signing kernels by switching onto a dedicated
3,456 Bmlocked workspace stack trampoline flanked by below-workspacePROT_NONEguard pages, with explicit signal-mask protection (syscall@plt__NR_rt_sigprocmask) andPSTATE.DITenforcement (SFC-023,SFC-025). - Verified
check_ct_asm.sh(0forbidden ops,0secret stack stores/allocas) across GCC and Clang on both ARM64 (GCC 16.1.1/Clang 22) and x86-64 (GCC 16.2.1/Clang 23.1.3). - Ran live dual-host
BINSEC/Rel 0.11.3(receipts/sfc-rel-audit-v040.json):8/8linked Jasmin kernelssecure(4ARM64*_in_dit+4x86-64*_x86),4/4SFC-023helpersproved,2/2ARM64SFC-025HWCAP_DIT=0proved, andCFP-020PASS. - Captured
4/4dual-hostdudectconstant-time receipts (Admittedon ARM64 and x86-64, both idle and 16-worker saturated,source_digest=sha256:e7286c8b3003bb09816d33bae1edbad297ba72a02b7f5ea5c9705675206d9f94,objdump_gate_passed=true,0leaks).
2. Linux clone3(CLONE_PIDFD | CLONE_AUTOREAP, exit_signal=0) Process Isolation
- Upgraded
libs/silverfire_mt/csrc/sfmt_pool.cto atomic raw Linuxclone3(CLONE_PIDFD | CLONE_AUTOREAP, exit_signal=0)+ immediateexecveat(AT_EMPTY_PATH)on the parent-hashed verify-onlyselune_mcwbinary (SFC-014–SFC-016,SFC-031,SFC-038), keeping child exit status immune to hostwaitpid(-1, 0)reapers andSIGCHLD = SIG_IGN/SA_NOCLDWAIT. - Unified monotonic startup deadlines and lossless 64-slot pidfd quarantine ownership, including unidentified startup-descriptor retention and direct exit draining when initial
fstatfails (FIXTURE_F5). - Verified
12/12clone3isolation fixtures on both ARM64 and x86-64 across GCC, Clang, and Clang ASan+UBSan (-Werror),0forbidden symbols (nm/objdump),libs/silverfire_mt31/31native (11/11wasm-gc /11/11js), and CBMC + Bitwuzla1,335/1,335properties PASS with negative controls refuted. - Fails closed with typed
ENOSYS/EPERM/EINVALroute unavailability on pre-Linux-7.0 kernels lackingCLONE_AUTOREAP(no silent downgrade to unisolated spawn or serial execution).
3. Live 100-Pair x86-64 SFC-013 Full-Wire P-256 Comparator
- Executed live 100-pair independent-comparator qualification (
v0.3.263d723664c4avsmaster34261109124b) on x86-64 (receipts/sfc013-huginn-full-wire-p256-v040.json): PASS — median29.0830 µs(ratio=0.9997, BCa 95% UCB1.0009 <= 1.02), p9529.3607 µs(ratio=0.9946, BCa 95% UCB1.0016 <= 1.02). - Hardened standalone
--mode evaluatereplay to enforce live Git<commit>^{tree}equality for both baseline and candidate,baseline_commit === v0.3.2^{commit}, distinct executable digests, Git blob verification forp256_point_pub.s, exact calibration XOR reachability, and negative controlsnc19..nc21(test_jasmin_repro_gate.sh50/50PASS).
4. Browser Linear-Memory WASM Signer & Calibrated Timing
- Rebuilt and synced the zero-GC linear-memory production artifact (
libs/crypto_wasm_signer/dist/crypto_wasm_signer.wasm,251,621 B,sha256:6bc0794ada3bae8f...) with binary-only instruction exemptions (525functions,binaryToWat=true,0cryptodiv/rem,0usermemory.grow,0unresolved call-graph edges). - Enforced immutable-ref OPFS WAL envelope staging for
v1 -> v2migration and locked enrollment ordering (19/19Node conformance suites,6/6live Playwright Chromium159.0.8154.6E2E suites). - Captured exact Chromium runtime-locked calibrated browser timing (
receipts/wasm-sign051-timing-v040.json,38/38sfc_calibrated_timing_test.mjsPASS;DedicatedWorkerGlobalScopetarget cropped|t|=0.0415, MDEstep_16|t|=19.8224, explicitly classifiedL0empirical evidence).
5. SafeGCD30 Checked Inversion, Lean 4.35.0 Proofs & Platform Verification
- Propagated SafeGCD30 validity masks branchlessly through
inv_ct_checkedintoSecretScalarSecp256k1::ct_sign_sandSecretScalarP256::ct_sign_s(SFC-022L2runtime guard) and composed reachable-block bounds in Lean 4 (spec/SafeGcd30Proofs.lean). - Verified Lean 4.35.0 (
1,329build jobs,215/215ProofAudit /145/145EcdsaProofAudit,0sorry, standard axioms only),moon prove(19/19default +4/4--machine-int),libs/formal_bridge(16/16+20/20replay),./bin/selune test(47/47libraries PASS),11/11MARS ledgers (0diagnostics,637/637verified pins) +7/7mars auditPASS,verify-site(17pages,7labs,0errors), strict Warden release-cut gate (0C/0H/0M/0I,36/36CAG gates,31/31receipts,4/4mirrors), and refreshed Ontologyv10, Graphify KG (12,966nodes,26,004edges,14 MiB), andllm-wiki/+SIM.md(27entries,0failures).
Honest Scope, OWED Items & Permanent Boundaries
- Explicitly OWED (not claimed closed in
v0.4.0):SFC-018(SafeGcdConvergence600full Lean 4L3convergence proof; guarded at runtime byL2SFC-022inv_ct_checked).JasminSf018(admitted=false,L0; staticBINSEC/Relfails closed onsyscall@pltindirect GOT jumpB2', plusB3andB4).JasminSf002(SFC-012cross-host reproducibility remains8/9due to an OCaml5.2.1vs5.3.0variable-UID shift injasmincforp256_point_pub.s).SFC-007(latency gate remainsOWED).
- Permanent
NonUpgradableEvidenceboundaries (preserved untouched):WasmSign048,WasmSign049,JasminSf023,JasminSf024,A1–A5,InstA1–InstA5. - Hosted CI note: GitHub Pages deployment (
47123926572),sim-mcp-wiki-site, andproofs-and-lean(47123926424) pass on GitHub-hostedubuntu-26.04; the two native Linux 7.x / GCC 16 jobs (core-tests-and-marsrequiring Linux 7.0+CLONE_AUTOREAPheaders/kernel andcrypto-four-target-and-wycheproofrequiring GCC 16+ / Clang for zero-spillmbcrypto_ct_mont_mul_mod_u256_ws) fail closed onubuntu-26.04's older kernel headers and GCC 15 and pass in full on the Linux 7.x / GCC 16 dual-host qualification fleet.