SEC-KN-P6-ROTATE-b: R1+R2 done; P6-C1-C5 dual-secret verify helper
R1 (T1, operator-authorized): EC2 MCP host /opt/knowtation fast-forwarded 257ef705 -> 15fba5f5 (current GitHub main, SEC-KN-3 present), npm ci clean, PM2 knowtation-gateway restarted healthy.
R2 (freeze 5.1) PASS: non-admin agent_access discard of nonexistent id now 401 on BOTH gateway and MCP (was 200 on MCP pre-deploy); controls green (session 200/200, garbage 401, GET fake id 404/404). Live P6 elevation path closed by deploy. Evidence: docs/reviews/2026-08-01-sec-kn-p6-rotate-b-r1-r2-deploy-probe.md
R3 (P6-C1-C5): hub/lib/session-secret-rotation.mjs verifyJwtWithSecretRotation (primary-first, previous verify-only, fail-closed on missing primary, previous==primary no-op) wired at ALL nine G10 access-JWT verify sites: gateway verifyToken / decodeVerifiedToken / resolveHostedActorRole / metadata-bulk / mcp-oauth-provider; bridge userIdFromJwt + flow/capture/task sessionBoundFromReq. Signing/HMAC/encrypt stay primary-only. README post-deploy: SESSION_SECRET_PREVIOUS contract + 24h drain floor.
Tests: new seven-tier test/sec-kn-p6-session-secret-rotation.test.mjs (30/30) incl. G10 source scan; refreshed 2 stale single-secret source shapes in RBAC trio (verify-once property preserved). Full suite 4378/4380 pass (1 unrelated flow-store perf flake passes in isolation, 1 pre-existing skip). SEC-KN-3 31/31 green.
No T2 (no env/secret write). No posture flips. SD-14 respected.
Semantic Changes
29 symbols
0 comments
muse hub commit comment sha256:635cfdefb9f04dba9c0648b252bef17dfd9015fd1adc0888548c0e461bea80b9 --body "your comment"
No comments yet. Be the first to start the discussion.