Strange request for allow list '--'. This is not the command

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursors asks to add ‘–’ to allow list. This is not the command.

Steps to Reproduce

NA

Expected Behavior

This is not the command I do not expect to see it here.
Also it would be cool to distinguish ‘terraform’ command from allow list. Eg. I expect to allow separately ‘terraform plan’, ‘terraofm apply’ for the example.

Operating System

MacOS

Version Information

Version: 2.7.0-pre.45.patch.0
VSCode Version: 1.105.1
Commit: 447839e5318c8d58f2447eeeca8f440ae1b72d09
Date: 2026-03-10T05:34:36.213Z
Build Type: Nightly
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Does this stop you from using Cursor

No - Cursor works, but with this issue


Adding screenshot here, because I can not CTRL+V in the first post

Hey, thanks for the report. I can see the screenshot. This is a bug in the allowlist command parser. The parser incorrectly treats -- the end-of-options marker as a command name. It also seems to miss terraform, which is the actual command here. The team is aware of allowlist parsing issues.

On the second part, granular control for subcommands like terraform plan separately from terraform apply has been requested by other users too:

Feel free to upvote it to help us prioritize it.

Let me know if anything else comes up.

1 Like