mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
fix(exec): remove host obfuscation gating
This commit is contained in:
@@ -62,14 +62,6 @@ vi.mock("../infra/exec-inline-eval.js", () => ({
|
||||
detectInterpreterInlineEvalArgv: vi.fn(() => null),
|
||||
}));
|
||||
|
||||
vi.mock("../infra/exec-obfuscation-detect.js", () => ({
|
||||
detectCommandObfuscation: vi.fn(() => ({
|
||||
detected: false,
|
||||
reasons: [],
|
||||
matchedPatterns: [],
|
||||
})),
|
||||
}));
|
||||
|
||||
vi.mock("../infra/node-shell.js", () => ({
|
||||
buildNodeShellCommand: vi.fn(() => ["bash", "-lc", "bun ./script.ts"]),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user