(command)
| 867 | return false; |
| 868 | } |
| 869 | function tokenizeShellCommand(command) { |
| 870 | const tokens = command.match(/"[^"]*"|'[^']*'|`[^`]*`|\S+/g) ?? []; |
| 871 | return tokens.map((token) => stripQuotes(token)); |
| 872 | } |
| 873 | function isRestrictedOpenClawBinary(token) { |
| 874 | if (!token) { |
| 875 | return false; |
no test coverage detected