The newly added feature will scan your code and notify you if any breachable content is discovered
GitHub has taken a new initiative to scan the source code for any hardcode security credentials. This will save your app from getting cyberattacked and prevent data miners from mine any data for potential leaks and rumours.
It will be available to GitHub Advanced Security subscribers. However, the company is now providing all GitHub repos with free access to its secret scanning tool.
In addition to allowing you to build your own regex patterns, the service analyses repositories for more than 200 recognised token forms and then notifies partners of any possible leaks.
Now, you don’t need to worry about leaks or data breaches if you are hosting your code on GitHub. You will get direct notifications about any potential breaches from GitHub. The feature will severely limit the leaks from popular apps and new features will be harder to track before release.
You must enable the option in their GitHub security settings before you can enjoy the feature. The service will gradually rollout to all the users until the end of January 2023.