fix(gateway): tighten tools invoke HTTP guardrails (#57771)

* fix(gateway): tighten tools invoke HTTP guardrails

Co-authored-by: Brian Mendonca <208517100+bmendonca3@users.noreply.github.com>

* fix(security): centralize gateway HTTP deny defaults

* fix(gateway): drop duplicate scope guard after rebase

---------

Co-authored-by: Brian Mendonca <208517100+bmendonca3@users.noreply.github.com>
This commit is contained in:
Jacob Tomlinson
2026-03-30 09:16:33 -07:00
committed by GitHub
parent 1ca4261d7e
commit 6b38815f86

View File

@@ -650,6 +650,17 @@ description: test skill
},
expectedSeverity: "critical",
},
{
name: "newly denied exec override",
cfg: {
gateway: {
bind: "lan",
auth: { token: "secret" },
tools: { allow: ["exec"] },
},
},
expectedSeverity: "critical",
},
];
await runConfigAuditCases(
cases,