GitHub Copilot sandbox restricts AI agent access to local files and credentials
GitHub has made a local sandboxing feature for its Copilot AI coding assistant generally available this week. The feature allows developers to restrict an AI agent's access to files, networks, and credentials on their machine. A developer writing on DEV Community advises creating a strict policy that grants access only to the specific project repository, blocking personal folders containing sensitive data like SSH keys. They recommend starting with a strict policy and loosening it only as needed when tasks like installs or tests fail within the sandbox.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in