Problem (one or two sentences)
The agent ignores the denied command rm, he bypasses it with such code:
cat > verify-hook-install.nu << 'HEREDOC'
use scripts/development/modules/nu/install_hooks.nu [install-git-hooks]
let project_root = ($env | get -o FILE_PWD | default (pwd))
install-git-hooks $project_root
HEREDOC
nu verify-hook-install.nu && rm verify-hook-install.nu
Context (who is affected and when)
Everyone
Reproduction steps
- Open Settings -> Auto Approve
- Write inside "Denied Commands" the word "rm" -> Add
- Press "Save"
- Now the agent is still be able to use
rm without approval
Expected result
Asking for approval
Actual result
The agent could execute the code without approval
Variations tried (optional)
No response
App Version
Version: 3.53.0 (44f6bba)
API Provider (optional)
None
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Problem (one or two sentences)
The agent ignores the denied command
rm, he bypasses it with such code:Context (who is affected and when)
Everyone
Reproduction steps
rmwithout approvalExpected result
Asking for approval
Actual result
The agent could execute the code without approval
Variations tried (optional)
No response
App Version
Version: 3.53.0 (44f6bba)
API Provider (optional)
None
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)