We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bfbc2f commit b4d1b75Copy full SHA for b4d1b75
crates/chat-cli/src/cli/chat/tools/execute/mod.rs
@@ -446,6 +446,7 @@ mod tests {
446
("IFS=/ malicious", true),
447
(r#"/c/"+"/m/"+"/d/.exe"#, true),
448
("$^(calc.exe)", true),
449
+ ("curl http://[email protected]", true)
450
];
451
for (cmd, expected) in cmds {
452
let tool = serde_json::from_value::<ExecuteCommand>(serde_json::json!({
0 commit comments