You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Severe/Security Bug: GitHub Copilot "Skip" command results in a parallel agent that cannot be canceled. #293006
The main issue is that a terminal command with "Skip" will still continue execution of the response in parallel, even if a new prompt is started while the command is waiting for confirmation.
Here is one hypothetical example to give you an idea of how to make this happen:
Deny grep auto-approve in settings.json.
Give an LLM a command to be run on a large code base (thousands of files), each containing the string "foobar", such as:
First change all occurrences of "foo" to "xxx", on a file-by-file basis.
Then verify that your changes have succeeded and that there are no more "foo" instances left, using grep in the terminal.
Then change all occurrences of "bar" to "yyy".
The LLM will go through and change "foo" to "xxx" in all the files.
The LLM will then attempt to verify that all that all changes have succeeded. You will be prompted to "Accept" or "Skip" the grep command.
Don't accept "Accept" or "Skip", but instead issue another prompt and tell the LLM that you have decided that you would prefer that it use VS Code search commands instead of grep. The LLM will then start verifying the changes, and then proceed with changing "bar" to "yyy" in all the files.
While this is occurring, to back and select "Skip" for the grep command.
Expectation: The "Skip" command does nothing, because you have issued a new prompt, which should have canceled the earlier awaiting grep approval.
Actual: The earlier prompt continues its work after the "Skip", in parallel with the later prompt.
Not only is this a severe bug that results in dual, parallel agents doing duplicate work, it is a security issue because one of the agents cannot be canceled! (I'm 90% sure of this. I've had a long day and I'm not going to go back and duplicate this just to make sure.) AI that cannot be canceled as it goes about its tasks is a huge security issue.
(This bug is made more likely by #292754 for example.)
To make sure I understand, at step 5, you send another message and it doesn't dismiss the first tool confirm dialog?
Exactly. The tool confirm "dialog" (embedded in the chat) was still there sitting in the chat. In fact I had two of them. I went back and skipped both of them. I was wary of letting sit there embedded in the chat in case I came back later to this session. I thought it odd, because I didn't remember them just sitting there with both buttons still enabled.
Have you updated to 1.109, released today, or is this 1.108?
This was still v1.1.08. I didn't know v1.109 was dropping.
It just upgraded this morning. It immediately showed release notes, so it's possible it could have downloaded the update in preparation for the upgrade, but no I didn't get the release note tab until I started a new VS Code instance this morning.
roblourens Now something stranger is happening. If the LLM provides a command for me to approve, before I could type a prompt like "don't do that", and it would cancel the command.
Now if I enter a prompt such as "don't do that":
The "Allow"/"Skip" dialog stays.
A message "STEERING" appears.
The prompt I submitted is grayed out. Apparently it went into some sort of queue, which I can "send immediately" or "remove from queue".
Importantly there is no cancel button for me to cancel the current response! It looks like if I say "send immediately", it will cancel the response.
This is new and non-intuitive behavior. I should always have a cancel button to immediately cancel AI, not be required to go into some roundabout procedure just to stop the machine.
This issue has been closed as it has been labeled with info-needed and has not received the additional information that was requested from the issue author. It has been labeled as info-needed for 7 days.
Activity
roblourens commentedon Feb 5, 2026
To make sure I understand, at step 5, you send another message and it doesn't dismiss the first tool confirm dialog?
Have you updated to 1.109, released today, or is this 1.108?
garretwilson commentedon Feb 5, 2026
Exactly. The tool confirm "dialog" (embedded in the chat) was still there sitting in the chat. In fact I had two of them. I went back and skipped both of them. I was wary of letting sit there embedded in the chat in case I came back later to this session. I thought it odd, because I didn't remember them just sitting there with both buttons still enabled.
This was still v1.1.08. I didn't know v1.109 was dropping.
It just upgraded this morning. It immediately showed release notes, so it's possible it could have downloaded the update in preparation for the upgrade, but no I didn't get the release note tab until I started a new VS Code instance this morning.
garretwilson commentedon Feb 14, 2026
roblourens Now something stranger is happening. If the LLM provides a command for me to approve, before I could type a prompt like "don't do that", and it would cancel the command.
Now if I enter a prompt such as "don't do that":
Importantly there is no cancel button for me to cancel the current response! It looks like if I say "send immediately", it will cancel the response.
This is new and non-intuitive behavior. I should always have a cancel button to immediately cancel AI, not be required to go into some roundabout procedure just to stop the machine.
garretwilson commentedon Feb 14, 2026
And just now "send immediately" made the suspended command start running and the stop button would no longer work, which is #284678.
The inability to stop the AI is a severe bug. Unstoppable AI is very bad. Why isn't this getting top priority?
roblourens commentedon Feb 25, 2026
I believe this would be the same underlying issue as #291713, but I'll leave it open for now
vs-code-engineering commentedon Mar 5, 2026
This issue has been closed as it has been labeled with
info-neededand has not received the additional information that was requested from the issue author. It has been labeled asinfo-neededfor 7 days.garretwilson commentedon Mar 11, 2026
roblourens so you want me to provide updates on #291713? Is #291713 being given priority? I'm stressing that this is a security risk.