GitHub can start 20 AI security scans at once. Which repositories go first?
Your organisation has 30 repositories and one engineer who can review security alerts this week. GitHub can now start up to 20 AI scans at once. How many should you run, and who will check what comes back?
GitHub announced bulk starts for AI Scan for repositories on 16 November 2026. The public preview lets an organisation start one-off scans for up to 20 repositories from its code scanning alerts page or when enabling the organisation setting. The practical change is how many scans you can start in one action. Decide which code needs attention first and set aside time to review the alerts before you start. GitHub’s 16 November release note
Know what the scan covers
A repository holds a project’s code and change history. Its default branch is the main line of development GitHub opens by default. AI Scan for repositories looks for possible vulnerabilities on that branch. It runs on demand and supports languages GitHub’s CodeQL scanner may not cover. Its findings appear alongside CodeQL alerts in the code scanning list. The scanner selects code to examine within a time budget, so a completed scan can leave files and paths unexamined. Keep the checks and tests you already use. GitHub’s repository AI Scan documentation
The preview is available on GitHub.com and GitHub Enterprise Cloud with data residency. Public organisation repositories are eligible without an active-committer licence. Private and internal organisation repositories need GitHub Code Security or GitHub Advanced Security. A public repository under a personal account can use the individual feature. A private personal repository is ineligible. A Copilot licence is optional, and every scan uses Code Security AI credits. Ask the billing owner to confirm the available credits and budget before anyone starts a batch. GitHub’s repository AI Scan documentation GitHub’s 16 November release note
Pick repositories your team can act on
Start with a question about each candidate. What could happen if a weakness in this code were real? A public route that handles account changes, an internal service that reads private data and a script that can deploy to production all deserve a close look. Write down who can explain the code and investigate an alert. If nobody can take ownership, raise that gap with the person who allocates engineering time.
Bring recent changes and existing coverage into the choice. If two repositories handle similarly sensitive work, start with the one whose important paths have weaker review or automated checks. A public repository can be a useful low-risk place to learn how the interface works. The order for production work should reflect what the software can do and who can use it.
Before starting, agree when the first batch will be reviewed and who covers urgent findings. Pick a batch small enough that you can look at every finding from those repositories in the first review session or arrange follow-up. Treat 20 as the maximum number of starts in one action. The review window and available people decide the batch size.
An illustrative first batch
A team maintains a public booking website, an internal booking importer and a prototype with sample data. It has one hour with two reviewers. The booking website accepts customer requests. The importer handles private booking records and uses a language the team’s existing CodeQL setup does not analyse. The prototype has no live deployment or production credentials. The team starts two scans and keeps the prototype on the list for later.
What the team puts in the review queue
| Repository | What to review first |
|---|---|
| Booking website | The web engineer checks authorisation on the endpoint that lets signed-in users cancel a booking. |
| Booking importer | The data engineer checks how files enter the importer and which records it can update. |
| Prototype | Defer the scan. Revisit if it gains a live deployment, real data or access to production. |
Suppose the first scan flags a cancellation route. The reviewer follows the request from the route to the permission check and finds a test that covers only the booking owner. In a test environment, they add a case in which a second account tries to cancel the same booking. In this example the second account can cancel it, so the team adds a server-side ownership check. They rerun both cases and verify that the owner can still cancel and that the second account cannot change the booking. They keep those tests as evidence of what changed.
GitHub lets reviewers filter the code scanning list by the AI Scan tool. After merging a potential fix to the default branch, start a fresh scan if you want to check the finding again. The preview does not run another scan on merge. Check the alert’s status after the rerun and record the evidence before closing anything manually. GitHub’s guide to running scans and reviewing alerts
Try it with three repositories
Take three repositories and write one line for each.
- Name the repository and one real action or piece of data it controls.
- Identify a security check you already have and the gap you want to investigate.
- Check access, credits and who can review the results.
- Name the first code path you would inspect and book a review time.
- Decide what would make you add another repository to the next batch.
If you only have one eligible repository, you can start a scan from its own code scanning page. Begin with one path you understand well enough to assess an alert and turn it into a test. GitHub’s guide to running scans and reviewing alerts


