Skip to content

Be more clear about restricted mode/workspace trust #8989

@Tyriar

Description

@Tyriar

I tried to get a link that explains details about workspace trust and the best there seems to be is the line item in https://code.visualstudio.com/docs/copilot/security#_user-responsibilities-and-best-practices

Open new codebases in restricted mode: Until you've reviewed a project for malicious code like watch tasks or scripts, rely on the Workspace Trust boundary and open it in restricted mode. Opening a workspace in restricted mode also disables agent mode in that workspace.

I think we should change it to something like this:

Open untrusted/foreign codebases in restricted mode: Until you've reviewed a project for malicious code, rely on the Workspace Trust boundary and open it in restricted mode. Opening a workspace in restricted mode also disables agent mode in that workspace. Remember any file could be pulled into the context by agent mode so any file could theoretically cause a prompt injection attack.

Metadata

Metadata

Assignees

Labels

doc-enhancementsuggested addition or improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions