Files
zhangxiang 1b8ffd5486 docs(seal): 2026-09-30 封版验收判定与证据入库 + 台账假事实更正
代码封版点仍是 a0328a6;本提交只含验收证据与文档,用于把台账
§0 的「未达可判验收通过(唯一阻断 AUTH-D1)」改判为「封版通过
(含例外清单)」。

补齐 sealed 树上从未跑过的 5 项门禁并如实记录非全绿:
- 全站 check:axe EXIT=0(34 路由 × 双引擎 × 双主题,violation=0)
- 产物安全头 EXIT=0(每头单次,WARN 仅 HSTS 边缘注入)
- 生产目标 E2E 91 passed / 1 failed(唯一红 = firefox 并发墙钟,
  隔离与 4-project 复跑均绿;dev.db 指纹前后一致,未写库)
- 视觉只读 94 passed / 31 failed(20 缺参照 + 11 已过时参照,
  逐条归因;未写任何基线)
- check:motion EXIT=1 / 23 处(与周期 2 同数,未新增)

更正 4 处文档假事实:DEC-N21b(/admin 实有服务端 gating,入口是
src/proxy.ts 而非 middleware.ts)、视觉基线「85 张未提交」(实测
107 张全在库)、「无需重跑 db:seed」(seed 改过 modelCode 而
permissions 精确匹配)、lint 105→104。
2026-09-30 23:41:22 +08:00

33 lines
3.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
🔒 安全响应头检查 — http://localhost:3100/
安全头检查结果:
┌────────────────────────────────────┬────────┬────────────────────────────────────────┬────────────────────────────────────────┐
│ Header │ Status │ Expected │ Actual │
├────────────────────────────────────┼────────┼────────────────────────────────────────┼────────────────────────────────────────┤
│ Content-Security-Policy │ ✅ PASS │ 存在(需包含合理策略) │ default-src 'self'; script-src 'self' 'unsafe-inline' https://www.googletagmanager.com https://ssl.google-analytics.com; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://www.google-analytics.com https://ssl.google-analytics.com https://www.googletagmanager.com; font-src 'self'; connect-src 'self' https://www.google-analytics.com https://ssl.google-analytics.com https://www.googletagmanager.com; frame-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'; │
│ X-Content-Type-Options │ ✅ PASS │ nosniff │ nosniff │
│ X-Frame-Options │ ✅ PASS │ DENY 或 SAMEORIGIN │ DENY │
│ Strict-Transport-Security │ ⚠️ WARN │ 存在(需包含 max-age) │ (未设置) │
│ Referrer-Policy │ ✅ PASS │ 存在(如 strict-origin-when-cross-origin) │ strict-origin-when-cross-origin │
│ Permissions-Policy │ ✅ PASS │ 存在(需配置合理权限) │ camera=(), microphone=(), geolocation=(), interest-cohort=() │
│ X-XSS-Protection │ ✅ PASS │ 存在(0 或 1; mode=block) │ 1; mode=block │
│ Access-Control-Allow-Origin │ ✅ PASS │ 无(不暴露 CORS 头) │ (未设置) │
└────────────────────────────────────┴────────┴────────────────────────────────────────┴────────────────────────────────────────┘
🍪 Cookie 安全标记: 无 Cookie 设置
📝 说明:
• [⚠️] Strict-Transport-Security: 强制 HTTPS 连接,防止 SSL Strip 攻击
📊 检查摘要
安全头检查:
总计: 8
✅ 通过: 7
⚠️ 警告: 1
❌ 失败: 0
✅ 所有关键安全头检查通过!