GitHub Copilot writes a growing share of your code, and now it also runs commands, opens pull requests and installs packages. Here are the real GitHub Copilot security risks, from prompt injection and leaked secrets to hallucinated packages, what GitHub's built-in controls cover, and seven steps to keep AI-written code under control.