I really like the new allowlists and autorun abilities except that the default allows too many dangerous commands (like deleting files). Also, it’s easy to add a command to the allowlist accidentally. I’ve resorted to checking the allowlist periodically for peace of mind.
4Aug: I just checked my allowlist and “python3” is in it. I did not put it in (on purpose.) This is quite dangerous. At least create a dialog to affirm the allowlist entry please!
When we run commmands, Cursor ask us to add the command to allow list but the options are too limited.
Let’s say i’m running the command python3 Tools/economic_analysis.py and the cursor asks me to add python3 to the allow list. This is very dangerous way to allow commands. I want to give examples but the problem is too obvious. No one can allow python3 to use freely.
Being able to add a specific command with arguments would be much more useful over blanket allowing dangerous applications. For example, I think running the tests `python test.py` is probably safe and should be allowlisted but blanket python would be too dangerous.