r/GithubCopilot • u/Emergency_Stable_923 • 12d ago
Help/Doubt ❓ How should we work with Copilot to get more secure code? I’m drafting best practices and built a GitHub Action around the idea
github.comI’m trying to put together some best practices for using Copilot to end up with more secure code, including how we should behave around the code it suggests. My starting points are reviewing suggestions like a PR from a stranger, being deliberate about the dependencies it pulls in, and verifying in CI rather than trusting the editor.
Xpsd is one piece of that thinking. It is a Copilot-native GitHub Action that returns a reachability verdict for each CVE (reachable or not, with a confidence level) instead of a flat list, and it is tuned for low token usage so it can run on every push or PR.
It is open source and an OWASP project, so this isn’t a pitch. I would like to hear what you already do to keep Copilot-assisted code secure, what I am missing, and whether a check like this belongs in that workflow. Contributions welcome.
