diff --git a/.claude/tasks/TODO.md b/.claude/tasks/TODO.md index b48e159a..035b08b6 100644 --- a/.claude/tasks/TODO.md +++ b/.claude/tasks/TODO.md @@ -284,6 +284,13 @@ feat/findings-tree-v2 merged (FindingsTreePicker tracked in HEAD); all work belo - [x] R4.10k (verifier 8/8 MET, one formal scope gap: the contract file itself; security PASS, 3 LOW, protocol-relative test regex fixed 1877c4b) (owner 2026-10-21 rectification recorded: J1.7 PASS with picker-delay reserve, M1/M2 PASS ~60 s, M3-M6 NON TESTÉ, cause unclaimed, no app change) gates: verifier on the contract, security gate on the diff; docs (RUST.md §10.12, CHANGELOG), memory; report → STOP: owner's M1-M5 + Safari before any R4 close; no merge, no R5, no release, no deploy - [x] R4.10n final gates: check:all green 8943bf3, verifier CONFORME 12/12, security PASS (2 LOW) → STOP, wait Safari iOS + merge signal - [x] R4.10l owner verdict recorded (BDR-066: J1.7 PASS w/ reserve, M3 complementary non-blocking, J2.3 option 1 final, logo + CSP hardening validated, gitleaks marker valid with delegated writing, 23 deletions authorized, Safari iOS real device only); contract FILE SCOPE amended (contract itself, memory, redactions) + criteria 9-12; report paths redacted, harness distDir repo-relative; check:all + gitleaks/semgrep/cargo deny/pnpm audit run; verifier re-dispatch = orchestrator + - [ ] R4.11 dependency maintenance before the R4 merge (owner 2026-10-21: three advisories; minimal updates, separate commits; stop on any large migration) + - [x] R4.11a analysis: rustls-webpki 0.103.15 and webpki-roots 1.0.9 reach the tree through ureq 3.4.2 → rustls 0.23.46 (worker only, its TLS client to Supabase; no other crate); fixes 0.103.16 / 1.0.10 published, not yanked, same minor; react-router 7.15.1 through react-router-dom ^7.1.1 (app only): 5 advisories, 4 not reachable (RSC, SSR hydration, server-side route matching; the app is a BrowserRouter SPA with no loader, action or server), 1 reachable in principle (GHSA-wrjc-x8rr-h8h6 backslash open redirect through `` / `useNavigate`) but the only untrusted destination is `next`, rebuilt by `safeNextPath` from a parsed URL against a sentinel origin; latest 7.x = 7.18.4 (2026-09-15), patch-level changelog, no API change for the app + - [ ] R4.11b `cargo update -p rustls-webpki -p webpki-roots` (Cargo.lock only) + - [ ] R4.11c react-router-dom ^7.18.4 (apps/app/package.json + lockfile) + - [ ] R4.11d worker TLS test: an in-process rustls server with a self-signed certificate (rcgen, dev-dependency) must be refused by `HttpBackend` (certificate validation active); honest limit: proves validation, not the emSign distrust itself + - [ ] R4.11e checks: rust-check, `cargo deny check advisories` clean, `pnpm audit --prod` clean, app suite (routing, auth, redirects), check:all (images, sandbox), goldens and oracles unchanged (git status), contract + fresh verifier + targeted security gate; contract criterion 11 regex made generic (owner §6) + - [ ] R4.11f docs: RUST.md §10.13 table (advisory, old, new, audit, residual), CHANGELOG, DEPLOY if the TLS note changes; memory; checkpoint table → wait for the owner's signal - [ ] R4.10m security reserves found by the R4.10l checks, pre-existing, not fixed (dependency upgrades = owner decision, outside R4.10 scope): RUSTSEC-2026-0382 rustls-webpki 0.103.15 + RUSTSEC-2026-0381 webpki-roots 1.0.9 (worker → ureq; `cargo update -p rustls-webpki -p webpki-roots`; advisories warn-only in check:all, release gate blocks); `pnpm audit --prod` 5 (react-router <7.18.2: 2 high, 3 moderate; several RSC/framework-mode only, open-redirect GHSA-wrjc-x8rr-h8h6 applies to ``/`useNavigate`); full audit 57 incl. 2 critical tinypool (vitest, dev only); gitleaks history 561 commits clean, working tree 1 jwt in git-ignored `.env.worker` (never committed) - [ ] owner actions: open UFW 4173 for the recette session, then delete the rule; J1 + J2 on the OD-6 devices - [ ] owner action (non-blocking): `packages/pdf/node_modules` leftover (13 pnpm symlinks, 6 bin shims, 1 vitest cache file, 0 tracked or useful files) → `rm -rf packages/pdf/node_modules && rmdir packages/pdf` (the recursive delete was refused to Claude by the permission layer) diff --git a/Cargo.lock b/Cargo.lock index 972ea6d3..46cb6997 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -900,9 +900,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.15" +version = "0.103.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" dependencies = [ "ring", "rustls-pki-types", @@ -1316,9 +1316,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9" dependencies = [ "rustls-pki-types", ]