Files
Nexus/docs/reports/2026-06-06-api-audit-b6-agent-install-ws-health.md
T
Nexus Agent 722917bfc9 fix(api): API 全量巡检 B1–B6 修复 server_ids 上限与 pending 审计
限制健康检查/推送/脚本执行的 server_ids 规模,补齐 pending 重试失败与删除审计,并附分批巡检报告。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 23:57:46 +08:00

649 B
Raw Blame History

API 巡检 B6 — agent.py + install.py + websocket.py + health.py

日期: 2026-06-06

结论: PASS(无代码修改)

模块 认证 结果
agent.py X-API-Key(全局或 per-server ✓ 心跳/script-callback 鉴权
install.py 仅安装模式;已安装 → 403 ✓ 历史 F2a-08/09 已修
websocket.py /ws/ 在 PUBLIC_PREFIXESsync/alert 内二次校验 token/batch_id
health.py /health 公开 ✓ 无敏感信息

安装向导边界

  • 正常模式所有 /api/install/* 返回 403(除 status 探测逻辑在 install 模块内处理)