Check a repository before you trust it
Trusting a folder lets its configuration act for you. Before trusting a repository you didn’t create:
- Read
.vscode/settings.jsonand stop at anything touchingchat.*, Workspace Trust or the sandbox. - Read
.vscode/mcp.json,.mcp.jsonand.github/mcp.json: workspace MCP servers start as local processes once the folder is trusted. - Read the instruction files, agents and prompts in
.github/, plusAGENTS.mdandCLAUDE.md, and check them for hidden Unicode (Pillar Security). - Read
.github/hooks/and.github/copilot/settings.json, whose hooks and plugins apply to every Copilot CLI user. - List every symlink, and re-clone repositories that arrived with their own
.git/config.