Too restrictive commands flagged for manual review
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
darwin
Kiro Version
0.1.42
Bug Description
A simple Django command like
python3 manage.py shell -c "from core.models import Profile, Sector, Industry, Country, Item; print('All models imported successfully')"
needs manual review.
There are a lot of them like this, so you have to be constantly present to click, otherwise the task becomes much too long.
Steps to Reproduce
Any Django shell command is problematic.
Expected Behavior
Any python command should be able to be marked as "trusted", with a wildcard like python3 *
I read the doc at https://kiro.dev/docs/chat/terminal/#dangerous-patterns, of course Django / Python commands contain characters like ;
It's way too restrictive.
Conversation ID
beaddd54-aa60-482f-9e07-8c3fdeb2c7f6 ae32c432-33a3-42b3-82f5-e691cbc25841 0e362810-7137-495c-9d2c-aa0ebadda709 7817d8ed-2075-49f1-a31b-31575cb2374a 7d1875b8-fe69-4988-b3c7-6a48dad32122
Additional Context
No response
Hi @hgspch 👋 thanks for raising this issue.
It seems you opened this issue on version 0.1.42 and there may have been improvements since then.
For instance, when I attemped to reproduce on the latest version (0.2.13) by asking the Agent to run the same command, I clicked "Trust command and accept," and I was given several options for commands to trust,
including the wildcard python3 * option as you recommended.
Hi @chrisbonifacio , I tested again with version 0.2.13, and same issue:
Please note that:
- it's on mac
- I already have
python3 *in the trusted commands in Settings
Hi 👋, we're closing this issue due to inactivity. If you're still experiencing this problem, please create a new issue with detailed information so we can investigate and provide the support you need.