Allowlist is too easy to add to

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!

1 Like

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.

5 Likes

I was just about post similar observation - just add regex to the deny nad whitlists! They don’t seem to understand user needs.

For instance I don’t want rails db:reset to be run except when it’s RAILS_ENV=test rails db:reset - then I don’t care!

There is so much wrong with allowlist / denylist and it’s so easy to solve! Add regex ! Give control to the users!

1 Like

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.

1 Like

Kiro IDE does this, maybe we can have somthing similar in Cursor

3 Likes

yes, plus 1 on this, it’s kind of basic!

4 Likes

Yes it’s to danger. and I want to know how can I edit the allowliat?

this is nice, i also like to have like a temporary allow, allow for this question, allow in this workspace, allow for the next hour

1 Like