mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 20:04:45 +00:00
test: detail audit surface summary
This commit is contained in:
@@ -26,6 +26,15 @@ describe("security audit attack surface summary", () => {
|
||||
const findings = collectAttackSurfaceSummaryFindings(cfg);
|
||||
const summary = requireAttackSurfaceSummary(findings);
|
||||
|
||||
expect(summary.detail).toContain("trust model: personal assistant");
|
||||
expect(summary.detail).toBe(
|
||||
[
|
||||
"groups: open=1, allowlist=1",
|
||||
"tools.elevated: enabled",
|
||||
"hooks.webhooks: enabled",
|
||||
"hooks.internal: disabled",
|
||||
"browser control: enabled",
|
||||
"trust model: personal assistant (one trusted operator boundary), not hostile multi-tenant on one shared gateway",
|
||||
].join("\n"),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user