software engineering2 min read

Local sandboxing in the GitHub Copilot app

32 similar posts
  • GitHub Copilot
  • GitHub CLI

AI Summary

GitHub has introduced local sandboxing for the GitHub Copilot app to limit the potential impact of unintended commands by restricting access to files, network resources, and local credentials. Developers can configure per-project settings for filesystems, networks, and credentials, ensuring that sessions fail securely if the operating system cannot enforce the policy. The feature can be enabled globally per project or dynamically for an active session using the /sandbox on command.

Key Takeaways

  • Sandboxing is off by default and can be enabled in app settings.
  • Supports granular filesystem, network, and credential controls.
  • Fails with an error if the underlying operating system cannot enforce the requested policy.

Why it matters

Local sandboxing enhances developer security by isolating AI-driven tools from critical system files, networks, and credentials, mitigating the risk of unintended or malicious command execution.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.