Found means fixed: Introducing code scanning autofix, powered by GitHub Copilot and CodeQL
Blog post from GitHub
GitHub has announced the general availability of Copilot Autofix, a tool designed to enhance application security by automatically suggesting code fixes for vulnerabilities in popular programming languages like JavaScript, TypeScript, Java, and Python. Integrated with GitHub Advanced Security and powered by GitHub Copilot and CodeQL, this feature covers over 90% of alert types and is shown to remediate more than two-thirds of vulnerabilities with minimal developer intervention. Code scanning autofix aims to reduce the time and effort developers spend on remediation, addressing the increasing backlog of unresolved vulnerabilities in production environments. The feature provides natural language explanations and code suggestions that developers can accept, edit, or dismiss, potentially involving changes across multiple files and dependencies. GitHub plans to expand language support to C# and Go, and encourages user feedback to refine the tool further, positioning it as a significant step towards a future where a found vulnerability means a fixed one.