No approval required for any tool execution in docker sandboxes
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
Describe the bug
In docker sandboxes, CLI does not ask me approval for any tool executions:
- create, edit or delete a file
- call curl GET or POST by bash
- create instant python script and run it
- call dotnet command for compiling
Even though /yolo show says Tool, path, and URL requests require individual approval., I have never asked approval for tool executions.
If I ran CLI on Windows outside of docker sandboxes, approvals requested correctly. CLI seems to be affected by the environment but it is not described in reference document. IMO, yolo off should work regardless of the environment.
Affected version
1.0.83
Steps to reproduce the behavior
- Install docker sandboxes (
winget Docker.sbx) and launch copilot (sbx run copilot) /yolo offand confirm by/yolo show- Ask to run any of operations above like "I want to check yolo off behavior. Try to create and delete a file, generate and run python script, and access external URL."
Expected behavior
CLI asks me approval for the tool executions.
Additional context
Environment
- GitHub Copilot CLI in Docker Sandboxes v0.39.0 on Windows 11
permissions-config.jsonnot existspermissions.disableBypassPermissionsModeisdisableinsettings.json
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện với Docker Sandboxes v0.39.0 trên Windows 11 bằng sbx run copilot; so sánh /yolo off và /yolo show với CLI chạy trực tiếp. Sau đó, lần theo việc xử lý quyền cùng với permissions-config.json và settings.json, đồng thời xác nhận fix khi mỗi thao tác được liệt kê yêu cầu phê duyệt trong sandbox.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, shell
- Lĩnh vực
- authorization, cli, security
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100