2026-11-26 15:39 UTC

GitHub previews AI scanning for repository backlogs

state: seedheat: mediumuncertainty: mediumrelevance: highai-vulnerability-scanning github-code-securityGitHub

What is this?

GitHub announced AI Scan for repositories in public preview on October 28, 2026. It uses a proprietary harness that can draw on multiple models to inspect a repository’s default branch on demand, selecting code for analysis within a time and credit budget. GitHub says it supports all languages and can surface additional issues in languages CodeQL already covers as well as languages it does not. Findings appear alongside CodeQL alerts and can use existing alert-management and agentic-autofix workflows. Scanning is manual, does not exhaustively inspect every file, and may produce inaccurate or duplicate findings; users should review alerts. Availability depends on repository ownership and visibility, and scans consume Code Security AI credits. The supplied primary evidence is GitHub’s documentation; search results also identify an October 28 GitHub changelog announcement. No independent performance or adoption evidence is supplied.

Why it matters

This extends AI-assisted security review from pull requests to a repository’s existing backlog, and broadens coverage beyond CodeQL’s language support. If useful in practice, it could help teams find neglected vulnerabilities in older code and bring them into established triage and remediation workflows. Its impact is tempered by manual, budget-limited scans, non-exhaustive analysis, and findings that require human review; the sources do not establish detection quality or real-world results.

Current assessment

New: GitHub’s October 28, 2026 changelog announcement, surfaced in web results, says AI Scan for repositories entered public preview; GitHub’s documentation describes how the feature works. The tool is separate from CodeQL, scans only the default branch when manually triggered by someone with write access, and uses an agent to select code for analysis rather than reading every file in full. GitHub says it supports all languages and suppresses some findings matching existing CodeQL alerts, but matching is best effort and duplicates may remain. Findings join the code-scanning backlog and can be assigned, linked to issues, included in security campaigns, or handled with agentic autofix. During preview, fixes do not automatically trigger a rescan. Scans consume Code Security AI credits; eligibility and billing vary by repository owner and visibility, and enterprise policy can restrict use. The documented limits include a 30-minute and 150,000-credit detection-step cap. GitHub cautions that findings can be inaccurate and scans do not guarantee discovery of every vulnerability. Significance: this makes AI-based review available for legacy/default-branch code and may extend detection to languages outside CodeQL, using GitHub’s existing security-alert distribution and remediation workflows. Uncertainty: no supplied benchmarks, independent validation, or adoption evidence shows recall, false-positive rates, or security outcomes. Company capability and availability claims should not be read as proof of effectiveness.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 722h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-27 13:00⭐ origin echo-reconstructedGitHub’s original release announcement says: “You can now use AI Scan to find vulnerabilities across your whole repository, not just in pull
GitHub on blog (echo) · attributed from hn.story.50409231
—
11-08 00:02first on hacker news · published · +275.1hGitHub AI Vulnerability Scans for Repositories
robinstunes
—
11-08 00:02amplified on hacker news 👑hn.story.50409231
robinstunes
peak 2 · 0 comments · 103% of case engagement
11-08 00:24our radar first saw it · +275.4hdiscovery anchor: hn.story.50409231—
pace: p23 vs 879 stories at the 720h mark (now 722h old) — ahead of adap-delegated-authority-protocol-draft (2.0x), behind agentprobe-failure-injection-agent-testing (0.7x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnGitHub AI Vulnerability Scans for Repositories
Retrieved article excerpt

Open article · Retrieved 2026-11-08T00:25:39.952248+00:00

In this article

# AI Scan for a repository's backlog

Find additional security vulnerabilities across languages and manage the results in your existing code scanning backlog.

Copy markdown

## In this article

Note

AI Scan for repositories is in public preview and subject to change.

AI Scan for repositories uses a proprietary harness that leverages multiple models, when available, to find security vulnerabilities on your repository's default branch. It supports all languages, extending coverage beyond CodeQL-supported languages and finding additional vulnerabilities in languages CodeQL already analyzes. You run scans on demand, independently of CodeQL.

AI Scan for repositories adds findings to your code scanning backlog alongside CodeQL alerts. You can use existing workflows to assign alerts, apply agentic autofix, include alerts in security campaigns, and link them to issues.

## [Availability](https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories#availability)

Availability depends on who owns the repository and its visibility.

| Repository owner | Visibility | Availability and requirement |
| --- | --- | --- |
| Organization | Public | Available without an active-committer license |
| Organization | Private or internal | Available with GitHub Code Security or GitHub Advanced Security |
| Personal account | Public | Available |
| Personal account | Private | Not available |

You do not need a GitHub Copilot license.

## [Billing](https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories#billing)

You run AI Scan for repositories on demand, and each scan consumes **Code Security AI credits**. This usage is separate from active-committer licensing.

Usage is billed to the account responsible for the organization's billing.

For public repositories owned by a personal account, usage is billed to that personal account unless the repository owner has a GitHub Copilot license provided by an organization or enterprise. In that case, usage is billed to the organization or enterprise that provides the license.

If the billing account receives included AI credits through a GitHub Copilot entitlement, AI Scan uses those credits first. After the included credits are exhausted, or if the account has no included credits, usage is metered and governed by the applicable budgets. If a hard budget leaves no Code Security AI credits available, AI Scan cannot produce findings. Scanning resumes when an administrator increases the limiting budget or a new billing cycle begins.

AI scan for repositories has some limits to prevent it from consuming very high amounts of budget. Detection steps are limited to 30 minutes and 150,000 AI credits.

For more information, see [GitHub Advanced Security license billing](https://docs.github.com/en/billing/concepts/product-billing/github-advanced-security#how-ai-feature-usage-is-billed).

## [How AI Scan works](https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories#how-ai-scan-works)

Users with **write access** to a repository manually trigger a scan of the repository's default branch. The AI agent searches across the repository to identify files and functions to examine. It selects code for further analysis rather than reading every file in full. The agent runs within a time budget. When that budget is exhausted, it stops searching and reports its findings.

AI Scan runs independently of CodeQL. If the repository already has CodeQL alerts, AI Scan uses those alerts to suppress matching findings.

## [How AI Scan findings appear in the code scanning backlog](https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories#how-ai-scan-findings-appear-in-the-code-scanning-backlog)

When a scan finishes, its findings appear as alerts in the repository's code scanning alert list, under the **Security and quality** tab, alongside alerts from CodeQL. You can filter the list by the **AI Scan** tool to focus on these findings.

Use the existing alert severity filters to prioritize findings for assessment. You can assign alerts, link them to issues, include them in security campaigns, or use agentic autofix to help remediate them. See [Assessing code scanning alerts for your repository](https://docs.github.com/en/code-security/how-tos/manage-security-alerts/manage-code-scanning-alerts/assess-alerts).

During public preview, merging a potential fix does not automatically trigger another AI Scan. You must manually trigger a new scan to check for resolved alerts.

The alert will only close automatically if the applied fix changes the exact line of code that triggered the alert. Otherwise, you must manually close the alert.

## [Limitations](https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories#limitations)

- Scans analyze the default branch only.
- Scans are manually triggered. Scheduled scans and automatic scans on push are not supported.
- The agent selects which code to examine within a time budget. A scan does not exhaustively analyze every file or guarantee that it finds every vulnerability.
- Matching against existing CodeQL alerts is best effort, so duplicate alerts can occur.
- AI-generated findings can be inaccurate. Review each finding before deciding how to address it.

For guidance on using AI-powered security features responsibly, see [Application card: GitHub security and quality AI features](https://docs.github.com/en/code-security/responsible-use/security-and-quality-ai-features).

## [Supported languages](https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories#supported-languages)

AI Scan for repositories supports all languages, including languages already supported by CodeQL. Use it alongside CodeQL to find additional vulnerabilities, or to extend scanning coverage to languages that CodeQL does not support.

## [Enabling AI Scan for repositories](https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories#enabling-ai-scan-for-repositories)

Before enabling AI Scan for repositories, confirm repository eligibility, review the billing account's included AI credits, and configure budgets for metered usage.

- **Enterprise**: Enterprise owners can allow or prevent organizations from enabling AI Scan for repositories. This policy controls both AI Scan on pull requests and AI Scan for a repository's backlog. The policy is set to "Not allowed" by default. Allowing AI Scan does not enable it automatically. See [Enforcing policies for code security and analysis for your enterprise](https://docs.github.com/en/enterprise-cloud@latest/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-code-security-and-analysis-for-your-enterprise#enforcing-a-policy-to-manage-ai-scan-in-your-enterprises-repositories).
- **Organization**: Organization owners and security managers can enable AI Scan for repositories for eligible repositories. Repositories inherit the organization setting. See [Configuring global security settings for your organization](https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/establish-complete-coverage/configure-global-settings#enabling-ai-scan-for-repositories).
- **Organization-owned repository**: People with admin access to the repository can opt out when the organization has enabled AI Scan. They cannot opt in when the organization setting is disabled. To disable the feature, go to the repository's "Settings" page, under "Advanced Security", then under "Code Security", toggle off **AI Scan for repositories**.

## [Next steps](https://docs.github.com/en/code-security/concepts/code-scanning/ai-scan-for-repositories#next-steps)

To run a scan and manage the resulting alerts, see [Viewing and managing AI Scan alerts on your repository''s default branch](https://docs.github.com/en/code-security/how-tos/manage-security-alerts/manage-code-scanning-alerts/viewing-and-managing-ai-scan-alerts).
robinstunes20
🟧 echo.blog ⭐GitHub’s original release announcement says: “You can now use AI Scan to find vulnerabilities across your whole repository, not just in pullGitHub——

Interpretation history

Decision trace