test: detail audit surface summary · openclaw/openclaw@eecbc59
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -26,6 +26,15 @@ describe("security audit attack surface summary", () => {
|
26 | 26 | const findings = collectAttackSurfaceSummaryFindings(cfg); |
27 | 27 | const summary = requireAttackSurfaceSummary(findings); |
28 | 28 | |
29 | | -expect(summary.detail).toContain("trust model: personal assistant"); |
| 29 | +expect(summary.detail).toBe( |
| 30 | +[ |
| 31 | +"groups: open=1, allowlist=1", |
| 32 | +"tools.elevated: enabled", |
| 33 | +"hooks.webhooks: enabled", |
| 34 | +"hooks.internal: disabled", |
| 35 | +"browser control: enabled", |
| 36 | +"trust model: personal assistant (one trusted operator boundary), not hostile multi-tenant on one shared gateway", |
| 37 | +].join("\n"), |
| 38 | +); |
30 | 39 | }); |
31 | 40 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。