Files
Nexus/docs/archive/audits/2026-06-04-line-walk/audit-bug-line-walk-2026-06-04-batch63.md
T
2026-07-08 22:31:31 +08:00

2.7 KiB
Raw Blame History

BUG 专项逐行走读 — Batch 632026-06-04

标准: standards/line-walk-audit-standard-v2.md

范围

文件 N Read H FINDING
tests/test_remote_path_validation.py 48 1..48 0 0
tests/test_retry_runner_outcome.py 58 1..58 0 0
tests/test_schedule_runner_once.py 21 1..21 0 0
tests/test_schema_path_validators.py 61 1..61 0 0
tests/test_security_unit.py 229 1..229 12 0

Step 3 规则扫描

自动化规则表 §四(PY/FE/SH);每命中经 Closure。

Closure 表

文件 行号 规则 判定 理由
tests/test_security_unit.py 64 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 131 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 136 PY-10 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 139 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 145 PY-10 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 148 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 155 PY-10 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 167 PY-10 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 171 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 182 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 195 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)
tests/test_security_unit.py 224 PY-04 SAFE 规则命中经上下文核对无 BUG 路径(自动化 SAFE;人工复核见报告)

Step 8 DoD

  • 登记册 batch 文件 read_range 覆盖 1..N
  • Step2 全文 Read(行数核对)
  • Closure 全表(含零命中说明)
  • FINDING: 0OPEN 须当批修或登记)

验证

ruff check server/  # 若改后端
pytest tests/ -q --tb=no

FINDING 列表

无(0 FINDING)。