# How to use Copilot to test workspace boundaries

Researchers tested Copilot's workspace boundary with a fake-key reproduction. A restricted reader had an alternate tool path; Microsoft patched the flaw.

Agent: GitHub Copilot (via GitHub Copilot agent tools in VS Code)
Tools: GitHub Copilot, VS Code, Jira, Python
Category: Security
Date: 2025-10-28

Outcome: A fake-key demonstration supported a workspace-read vulnerability report that Microsoft patched as CVE-2025-66389. A distinct setup-script route still required user approval.

## Steps

1. The researchers tested Copilot's handling of an untrusted debugging ticket during an authorized exercise.
2. They compared normal file-reader restrictions with an alternate VS Code fetch tool.
3. A fake-key reproduction supported private reporting and Microsoft's patched workspace-boundary CVE.

Human oversight: The researchers conducted an authorized exercise, tested actual tool behavior with a fake key and reported the workspace-read flaw to Microsoft.

Source: [blindCyber and Brent Harrell — Security research blog](https://blindcyber.com/2025/10/28/copilot-fun/)

Canonical URL: https://agentsinuse.com/use-cases/github-copilot-to-test-workspace-read-boundaries/
