What changed

GitHub added dedicated Agents secrets and variables for Copilot cloud agent at repository and organization scope, including repository allowlists for shared values used by private resources or MCP servers.

Why it matters

Organizations can provision consistent agent environments without copying secrets into every repository, but a shared secret increases blast radius unless access selection, rotation and task logs are tightly controlled.

What to do

Create one short-lived test secret, allow it in a single disposable repository, run a task that proves availability without printing the value, then remove access and confirm the next task fails closed.

Caveat

GitHub documents configuration behavior, not protection against every malicious dependency, prompt injection or accidental log. The cloud agent still runs inside a GitHub Actions-powered environment.