copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Settings or Policy to disable autopilot

Open wiltaylor-daf opened this issue 9 months ago • 2 comments

Describe the feature or problem you'd like to solve

Need a setting to prevent users from using autopilot only current option is to not select it

Proposed solution

Add a policy to GitHub enterprise policy that we can disable autopilot for all users in the enterprise.

Also, add a setting so we can also turn it off via a configuration setting.

Example prompts or workflows

No response

Additional context

As we have lots of people using AI for the first time, we would like to control some of these settings at an enterprise level.

wiltaylor-daf avatar Feb 25 '26 05:02 wiltaylor-daf

Second this even using whitelists for allowed commands can be dangerous as normal looking utils like find can be abused to execute arbitrary commands. Allowing a next token predictor to execute anything as it likes is just irresponsible.

copilot needs an option to disable this dangerous feature

Source how find can be abused: https://gtfobins.org/gtfobins/find/

flopana avatar Mar 04 '26 12:03 flopana

+1

chrisnelmes avatar Mar 30 '26 13:03 chrisnelmes