{"meta":{"title":"About secret security with GitHub","intro":"Learn how GitHub's security tools can help you identify, remediate, and prevent secret leaks.","product":"Security and code quality","breadcrumbs":[{"href":"/en/code-security","title":"Security and code quality"},{"href":"/en/code-security/concepts","title":"Concepts"},{"href":"/en/code-security/concepts/secret-security","title":"Secret security"},{"href":"/en/code-security/concepts/secret-security/about-secret-security-with-github","title":"Secret protection tools"}],"documentType":"article"},"body":"# About secret security with GitHub\n\nLearn how GitHub's security tools can help you identify, remediate, and prevent secret leaks.\n\nHardcoded credentials in your repositories can lead to credential leaks, unauthorized access, data breaches, and significant costs to your organization. For details about these risks and how to protect against them, see [Secret leakage risks](/en/code-security/concepts/secret-security/secret-leakage-risks).\n\nGitHub provides tools to help you understand and address your organization's exposure to leaked secrets:\n\n* **Secret risk assessment**: A free, on-demand scan that reveals your organization's current exposure to leaked secrets.\n* **GitHub Secret Protection**: A comprehensive suite of features that detects existing secrets and prevents new leaks across your repositories.\n\n## Secret risk assessment\n\nThe secret risk assessment provides organization owners and security managers with a free point-in-time scan of their organization's repositories to identify hardcoded credentials like API keys, tokens, and passwords, and understand the extent of secret sprawl across your organization.\n\n[<span class=\"btn btn-primary mt-3 mr-3 no-underline\">Run a security risk assessment</span>](https://github.com/get_started?with=risk-assessment)\n\n### What the assessment shows\n\nThe assessment report includes:\n\n* **Total secrets detected**: The aggregate count of exposed secrets in your organization.\n* **Public leaks**: Secrets found in public repositories that are accessible to anyone.\n* **Preventable leaks**: Secrets that could have been blocked with push protection enabled.\n* **Secret categories**: The distribution of secret types (such as AWS keys, GitHub tokens, or generic passwords).\n\n### Why assess your risk\n\nRegular assessment helps prevent:\n\n* Unauthorized access to your systems and data\n* Service disruptions from compromised credentials\n* Regulatory compliance issues\n* Financial loss from resource misuse\n* Reputational damage from security incidents\n\n## GitHub Secret Protection\n\nGitHub Secret Protection is a GitHub Advanced Security product containing a suite of features designed to prevent, detect, and assist in remediating secret leaks in your organization.\n\nWhile the secret risk assessment provides a point-in-time view of your organization's current secret exposure, GitHub Secret Protection:\n\n* **Implements continuous monitoring** and expands scanned surfaces beyond code to include pull requests, issues, wikis, and discussions\n* **Prevents credential leaks** by blocking commits containing hardcoded secrets before they are saved to GitHub\n* **Creates actionable alerts** that can be grouped into campaigns and assigned to team members for remediation\n* **Meets your specific needs** by scanning for patterns unique to your organization and unstructured secrets like passwords\n* **Supports governance at scale** with settings dictating who can bypass protections and dismiss alerts\n* **Surfaces key analytics** through a view dedicated to your organization's secret security\n\nThrough these features, GitHub Secret Protection provides complete coverage for your organization, reducing the risk of costly credential leaks, secret sprawl, and high-effort remediation.\n\nFor more information about the specific features of GitHub Secret Protection, see [GitHub security features](/en/code-security/getting-started/github-security-features#available-with-github-secret-protection).\n\n## Next steps\n\nNow that you know how GitHub can help keep your secrets safe, you should assess your organization's current exposure to leaked secrets. See [Running the secret risk assessment for your organization](/en/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/assess-your-secret-risk)."}