WhoBuilt

GitHub's AI Powered Security Platform

Feb 8, 2025· 24 min· 348 views·Watch on YouTube

Speaker

Sarah Khalife, a principal solutions engineer at GitHub, explains how GitHub Advanced Security uses AI to help teams find and fix vulnerabilities, presenting at AI Engineer.

AI across the GitHub platform

Khalife describes GitHub’s goal of adding AI across its platform, including collaboration, productivity, and security. She says GitHub builds features with input from customers, vendors, partners, and its developer community.

What Advanced Security covers

GitHub Advanced Security includes CodeQL code scanning, secret scanning, and Dependabot for vulnerable dependencies. CodeQL traces data flows to show how vulnerabilities can reach an exploitable point, while SARIF inputs let teams bring in third-party scanning results. Push protection can block a commit before a secret enters Git history.

AI for finding and fixing issues

Khalife says AI can make vulnerabilities and secrets easier to identify, speed up remediation, and improve productivity. Code scanning Autofix suggests a vulnerability fix in a pull request using CodeQL context; she says customers testing it have reported success in about 70% of their use cases. Developers can review or edit the suggestion and rerun scans after committing it.

AI support for secret scanning

AI can help generate custom secret patterns from examples, giving teams a starting point for regex rules. It can also analyze repositories for unstructured passwords, which may be flagged as “Other” and include false positives. Khalife says teams should validate findings, then revoke and rotate exposed passwords and store them in a secrets vault.

Organization coverage and pull request workflow

The demo shows organization-level alert and coverage views, including an example with 73,000 open alerts, 99% secret scanning coverage, and 57% code scanning coverage. Repository alerts show the paths from source to sink, helping developers identify where to fix a vulnerability. In a pull request example, Autofix suggests using the escape-html library to address cross-site scripting before merge.

Takeaways

  • Use CodeQL’s source-to-sink paths to find where a vulnerability can be fixed across multiple exploit routes.
  • Review AI-generated Autofix suggestions and rerun scans before merging.
  • Track security coverage across repositories to find gaps beyond the CI pipeline.
  • Use sample inputs to generate custom secret patterns, then validate their results.
  • When a password is exposed in Git history, revoke and rotate it rather than relying on history deletion.

Mentioned in this talk

Search inside this talk

What was claimed 14

Show all 14 facts

Related talks