aggregate_reports 会删除 payload_init 和 tree_data 行,因此聚合报告会丢失 payload 来源信息和树状搜索历史记录
作者: feiiiiii5创建于 2026年9月18日更新于 2026年9月18日
标签needs-triage
garak/analyze/aggregate_reports.py:31-37:
if entry["entry_type"] not in (
"attempt",
"eval",
"probe_summary",
"plugin_cache",
):
continueThe writer is garak/payloads.py:103-116 ("entry_type": "payload_init", with "payload_name", "payload_path", "entries", "filesize", "mtime"). The reader is garak/analyze/report_digest.py:79-84, which appends one entry per "payload_init" row into the digest's "meta.payloads". And aggregate_reports.py:181 (at "8d1259ef") calls report_digest.build_digest(a.output_path) on the aggregated file and appends that fresh digest, so nothing downstream can recover what was filtered out. The whitelist already carries "plugin_cache", another metadata row the digest consumes, so the omission looks like an
内容来源: NVIDIA/garak