GitHub Copilot Autofix generates suggested fixes for security vulnerabilities found in code. It is part of GitHub Code Security, which belongs to GitHub Advanced Security. When a problem is flagged, the proposed change appears in GitHub itself, so developers can repair the flaw while working on the code instead of parking it in a security backlog. Code Security also covers static application security testing and software composition analysis.
Secret scanning sits in a separate product, GitHub Secret Protection. Repositories hosted on GitHub are the main setting, and Azure DevOps teams are covered through an extra purchase. Development and security teams in organizations adopt it, since it is aimed at companies and not at solo hobby use.
Code Security costs $30 per active committer per month, and Secret Protection is $19 per active committer per month. A 30-day trial bundling Enterprise, Copilot and Advanced Security is available.