fix: disable rubberband in obfuscation approval test

The approval-id test for obfuscated commands (echo ... | sh) exercises the
separate obfuscation detection + approval flow. RubberBand's indirect_execution
pattern correctly catches this command, but the test needs the approval flow to
run instead. Disable RubberBand for this specific test case.
This commit is contained in:
jeffaf 2026-02-27 08:20:56 -05:00
parent 5a2696cb9a
commit 1558742539

View File

@ -746,6 +746,7 @@ describe("exec approvals", () => {
ask: "off",
security: "full",
approvalRunningNoticeMs: 0,
defaults: { rubberband: { enabled: false } },
});
const result = await tool.execute("call6", {