According to Infoq, Microsoft is expanding its AI-driven security capabilities by bringing Copilot Autofix to teams utilizing Azure Repos. This integration allows the platform to automatically process security alerts and suggest specific code modifications, bridging the gap between identifying a flaw and implementing a solution.
Automated remediation via CodeQL and LLMs
The new feature combines the deep semantic analysis of CodeQL with the generative power of GitHub Copilot’s coding agent. When the system detects a supported security vulnerability, it evaluates the surrounding application context to produce a relevant fix. Instead of merely highlighting a single problematic line, the AI can suggest coordinated changes across multiple files to ensure the underlying issue is fully addressed.
Key features of the Copilot Autofix integration include:
- Automated analysis of security vulnerabilities identified by CodeQL.
- Generation of context-aware code fixes using large language models.
- Automatic creation of pull requests for developer review and merging.
- Integration with existing Azure DevOps workflows and governance structures.
Bridging the gap in software security
For years, Static Application Security Testing (SAST) tools have been effective at spotting risks but often left developers overwhelmed by the manual work required to interpret results. Microsoft identifies this "last mile" of remediation as a primary bottleneck in secure software delivery. By automating the initial drafting of fixes, Copilot Autofix reduces the time spent on research and manual coding while maintaining human oversight.
While the AI generates the suggestions, Microsoft emphasizes that developers remain responsible for validating every proposed change. Because large language models can occasionally produce incomplete or unintended side effects, all AI-generated pull requests must still pass through standard testing and approval cycles. This approach aligns with a broader industry trend where AI serves as an assistant to accelerate repetitive tasks without bypassing established enterprise compliance and quality assurance protocols.
This release also marks a significant step in narrowing the feature disparity between GitHub and Azure DevOps. By adding AI-generated remediation to the existing suite of secret scanning, dependency scanning, and CodeQL analysis, Microsoft ensures that organizations committed to Azure Repos can access high-level security automation without migrating their entire infrastructure.