docs(wave7): record peer-swarm bug fixes, metrics, and map sync
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 18s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 45s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 22s
ci / .NET API 서버 테스트 (push) Successful in 11s
deploy-site / deploy (push) Successful in 44s
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 18s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 45s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 22s
ci / .NET API 서버 테스트 (push) Successful in 11s
deploy-site / deploy (push) Successful in 44s
This commit is contained in:
parent
cc3f7460be
commit
876e72ea2f
15 changed files with 173 additions and 21 deletions
|
|
@ -53,6 +53,7 @@
|
|||
| File | Purpose |
|
||||
|---|---|
|
||||
| `admin-session.ts` | Session types, secret validation (≥32 bytes), strict cookie parse, `adminCookieSecure()` escape hatch |
|
||||
| `admin-url-safety.ts` | Return/redirect path normalization rejecting `//evil`, backslashes, and control chars (Wave 7) |
|
||||
| `security.ts` | server-only HMAC-SHA256 sign/verify, in-memory rate limit/lockout, runtime security validation |
|
||||
| `admin-guard.ts` | RSC guards `requireManager`/`requireAdmin`/`requireSuperAdmin`, role helpers |
|
||||
| `edge-session.ts` | Edge-runtime HMAC verify via WebCrypto (used by `proxy.ts`) |
|
||||
|
|
@ -90,5 +91,6 @@ Root files: `instrumentation.ts` (startup security validation), `proxy.ts` (edge
|
|||
- `/pipelines` and dashboard node/error sections render only measured data.
|
||||
- Deploy: `apps/admin/Dockerfile` → GHCR + NAS compose; the duplicate root `Dockerfile.admin` was deleted 2026-09-26 (Wave 3, cd9d199) since `apps/admin/Dockerfile` is the one actually used. GitLab admin NAS deploy job disabled.
|
||||
- Wave 6 hardening (2026-11-14): extracted `lib/request-security.ts` (`isSameOriginRequest`, `ADMIN_UUID_PATTERN`, byte-bounded JSON body reader) and `components/detail-row.tsx` (`Row` SSOT); hardened `logout` (`sameSite: 'strict'`, CSRF, `no-store`), `license`/`login`/`backend`/`supabase` routes, `users/[id]` & `subscriptions/[id]` (`requireManager()` + UUID `notFound()`), and client unmount/timer/`sttMemo`/non-finite or negative cost guards (`payment-history`, `checksum-copy`, `license-issuer-dialog`, `models/page.tsx`).
|
||||
- Wave 7 hardening (2026-11-14, `c68e81e`, post-`v1.17.1`): added `lib/admin-url-safety.ts` + open-redirect hardening on `/auth/callback` and `/login` (scrubbing OAuth error leakage), replaced `pathname.includes('.')` bypass in `proxy.ts` with `isStaticAssetPath`, hardened `subscription-form.tsx`, and added Vitest harness (`apps/admin/vitest.config.ts`, `tests/admin-security.test.ts` — **1 file / 6 tests PASS**).
|
||||
- **2026-11-04 Wave 4 hygiene:** Removed three unreferenced chart components (`dau-chart`, `feature-usage-chart`, `top-users-chart`) and the admin `recharts` dependency; no active admin route imported them.
|
||||
- **2026-10-28 designpaca audit (`SHELL-15`):** `console-theme.ts` `C.dim` upgraded from `#67789e` to `#7e8eb0` (WCAG AA 4.94:1 on dark card surface), `panelSx`/`innerCoreSx`/`filterBtnSx`/`statusBadgeSx`/`primaryButtonSx` flattened (removed `backdropFilter` blur, decorative gradients, `uppercase`, and positive `letterSpacing`), 1.0:1 foreground/background token collisions (`--d3-status-successBg`, `--d3-status-dangerBg`, `--d3-tag-cyanBg`) fixed across `admin-sidebar.tsx`, `ads`, `releases`, `subscriptions`, `usage`, `users`, and `login`, sub-11px font sizes raised to `11px`, and keyboard navigation (`role="button"`, `tabIndex={0}`) + `aria-label` added to sidebar and dialog controls.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue