本卡屬 FR-186(Agent 本體資安掃描第二輪),第 1 批 S4:8443 資料面與證據檔取送(Agent repo,13 檔/約 869 行)。只掃不修。工作坊用 .claude/workshop-prompts/dispatch-<本卡號>.md 當開場 prompt 直接啟動掃描。

這一棒在做什麼(白話)

用 Claude Code 官方 claude-security plugin 掃 Guidant AI Agent(repo evidence-agent)的「8443 資料面與證據檔取送」,找出資安問題,寫成 PM 與新手工程師都看得懂的報告。只找問題、不修問題。

為什麼切這一塊

FR-177 掃過(舊卡 CM-3509, CM-3515),之後有改動;這次重掃要回答兩件事:上次修的有沒有守住、新改的程式有沒有新洞。 範圍按業務模組垂直切(入口→流程→資料),權限漏洞常在層與層的接縫上。

掃描範圍(scope,與開場 prompt 的 --scope 一致)

guidant_agent/sync/api/data_plane_server.py
guidant_agent/sync/api/data_plane_auth.py
guidant_agent/sync/api/cmd_config.py
guidant_agent/sync/api/cmd_credentials.py
guidant_agent/sync/api/cmd_restart.py
guidant_agent/sync/api/cmd_tasks.py
guidant_agent/sync/api/cmd_update.py
guidant_agent/shared/tls_server.py
guidant_agent/files/api/blob.py
guidant_agent/files/api/blob_route.py
guidant_agent/files/app/blob_ops.py
guidant_agent/files/app/evidence_files.py
guidant_agent/files/app/evidence_sha256.py

檔數 13、約 869 行。驗檔數:git ls-files -- guidant_agent/sync/api/data_plane_server.py guidant_agent/sync/api/data_plane_auth.py guidant_agent/sync/api/cmd_config.py guidant_agent/sync/api/cmd_credentials.py guidant_agent/sync/api/cmd_restart.py guidant_agent/sync/api/cmd_tasks.py guidant_agent/sync/api/cmd_update.py guidant_agent/shared/tls_server.py guidant_agent/files/api/blob.py guidant_agent/files/api/blob_route.py guidant_agent/files/app/blob_ops.py guidant_agent/files/app/evidence_files.py guidant_agent/files/app/evidence_sha256.py | grep -v /tests/ | wc -l 應為 13。scope 外的檔不要當發現報;為核對呼叫端翻範圍外的檔可以,報告標「只為查證」。

重點看什麼

首腦標的思考起點,不是檢查清單。掃完後 runner 逐條對一遍:工具沒報的,開檔看一眼寫「人工查過:成立/不成立/為什麼」。FR-177 的人工補查抓到的問題不比工具少。(以下沿用 FR-177 舊卡的重點,行號是舊版、以檔名與函式名為準。)