GitHub on Wednesday announced the public beta availability of code scanning autofix, a new feature meant to help developers address code vulnerabilities faster.
Initially announced in November 2023, code scanning autofix relies on GitHub’s AI-powered code completion tool Copilot and semantic code analysis engine CodeQL to identify vulnerabilities in JavaScript, Typescript, Java, and Python repositories, and provide fix suggestions for them.
According to the Microsoft-owned code hosting platform, the feature can suggest remediation for more than two-thirds of the identified flaws.
“Our vision for application security is an environment where found means fixed. By prioritizing the developer experience in GitHub Advanced Security, we already help teams remediate 7x faster than traditional security tools,” GitHub says.
With code scanning autofix, the platform aims to significantly reduce the time developers spend on addressing bugs and help enterprises slow the growth of unaddressed vulnerabilities in production repositories.
“Security teams will also benefit from a reduced volume of everyday vulnerabilities, so they can focus on strategies to protect the business while keeping up with an accelerated pace of development,” GitHub notes.
Fix suggestions for bugs identified in the supported programming languages include natural language explanations and previews of the code suggestions that developers can accept, edit, or dismiss.
The code suggestions include changes to the current file and may include changes to multiple files and dependencies that should be added to the project, GitHub says.
Next, the code hosting platform will add support for C# and Go, followed by other programming languages.
GitHub has made available resources and documentation about the system and encourages developers to join the autofix feedback and resources discussion.
Code scanning autofix is now available in beta for all GitHub Advanced Security customers.
Related: GitHub Enhances Security Capabilities With AI
Related: GitHub Enterprise Server Gets New Security Capabilities