GitHub Code Scanning Adds AI Application Risks: Check Prompt Injection, Disclosure, and Excessive Agency
The public preview scans agent code paths in pull requests; the relevant scan must be enabled and requires GitHub Advanced Security
GitHub has introduced a public preview of code scanning for AI applications and agent vulnerabilities. The detector covers risks such as indirect prompt injection, sensitive information disclosure, and excessive agency, and runs on pull requests alongside existing CodeQL analysis when the required scans are enabled. It flags code paths where untrusted content can reach a model that has access to tools, data, or business systems. This article turns the announcement into a focused verification workflow: confirm prerequisites, create harmless test cases, review alerts in context, reduce permissions, rerun scans, and preserve human approval. The preview requires GitHub Advanced Security and is not currently available on GitHub Enterprise Server.
Key takeaways
By ENHE AI · 2026-11-03 · AI-assisted drafting and editorial checks.
Direct answer: what it scans
GitHub says code scanning can now detect AI application and agent vulnerabilities, including indirect prompt injection, sensitive information disclosure, and excessive agency. The focus is not ordinary prompt wording but whether untrusted content can influence a model with access to tools, data, or business systems.
Scans run automatically when pull requests are created, alongside existing CodeQL analysis. The detector operates only when code scanning and scans for AI applications are enabled for the repository.
How the three risk categories differ
Indirect prompt injection places malicious instructions in untrusted content such as files, webpages, or issue comments. Sensitive information disclosure concerns data access or exposure without appropriate authorization. Excessive agency concerns capabilities, permissions, or autonomy beyond the task.
One code path may combine several risks, such as an agent reading an external issue and then using a high-privilege token with a deployment tool. Categories help locate controls but do not replace human understanding of the full data and permission chain.
Confirm prerequisites before enabling
The public preview requires a GitHub Advanced Security license and is not currently available on GitHub Enterprise Server. The organization must also enable AI application scans in repositories using code scanning; without those conditions, the repository should not be described as covered.
Record repository scope, default branch, enablement time, owner, and policy source. Begin with a sample repository that has a clear agent entry point and tool call, rather than enabling every repository before the team can interpret alerts.
How to validate with harmless cases
In a test branch, add a harmless example where external text reaches a model, the model can call a simulated tool, and permissions are intentionally broader than the task requires. Do not use real secrets, production data, or tools that change external state.
After opening a pull request, record whether an alert appears, which path it identifies, the suggested mitigation, and the human conclusion. If no alert appears, check enablement and supported scope first; one miss does not prove the code is safe.
Fix, rescan, and handle failure
Break dangerous paths at the architecture level: treat external content as data rather than instructions, narrow tool allowlists, use short-lived low-privilege credentials, require human approval for high-impact actions, and limit sensitive fields visible to the model.
Rerun the scan on the same pull request and preserve before-and-after evidence. If the alert persists or the team cannot assess it, block the merge and escalate to a security owner instead of dismissing it or disabling the rule.
FAQ
Can it replace human security review?
No. It surfaces code paths and mitigation guidance, while people still need to assess context, permissions, and the fix.
Why does one clean scan not prove safety?
Coverage, configuration, and detector rules affect results, and the announcement says coverage will continue to expand.
Is GitHub Enterprise Server supported now?
No. The official announcement says it is not currently available on GitHub Enterprise Server.
Related tools and reading
These pages support the same task, workflow, or risk boundary.
- AI agent runtime safety checklist
- Trust checklist for autonomous AI actions
- Nine-stage AI agent evaluation checklist
Conclusion
AI application code scanning can be a useful pull-request gate, but it needs least privilege, input isolation, human review, and rescanning. Prove the alert-to-fix loop in a sample repository before expanding scope.
What this means for everyday users
In a test branch, add a harmless example where external text reaches a model, the model can call a simulated tool, and permissions are intentionally broader than the task requires. Do not use real secrets, production data, or tools that change external state.
Related reading
Nine-Stage AI Agent Evaluation Checklist: From First Commit to Production Drift
AWS published a nine-stage production AI-agent evaluation framework built around Amazon Bedrock AgentCore on October 16, 2026. It follows an agent from defining quality and comparing experiments through merge checks, deployment gates, canary scoring, adversarial testing, drift detection, live pulse monitoring, and feedback-driven improvement. The framework evaluates five dimensions—safety, quality, performance, cost, and operational control—at tool, individual-agent, and multi-agent levels. This durable guide converts the public framework into a vendor-neutral checklist for ordinary teams, with minimum evidence, ownership, and stop conditions designed to catch soft failures where latency and uptime remain normal while answer quality quietly declines over time.
When Should an AI Agent Act Autonomously? A Scope, Know, Bound, Observe Checklist
An AI agent should receive more autonomy only when its actions can be verified, not because one demonstration looked successful. AWS describes a Trust in Depth framework organized around four lifecycle questions: Scope, Know, Bound, and Observe. This durable guide turns those questions into an operational checklist for a small team. Using an internal task-status update as the example, it identifies evidence required before launch, controls during execution, records after execution, and conditions that should stop the agent and request human review. Precise rules can sometimes be tested or formally checked, while tone, sensitive context, and high-impact decisions still require judgment. The objective is bounded, reviewable autonomy rather than either constant approval or unrestricted action.
How to Validate AI-Agent Runtime Safety: A Four-Layer OpenShell Evidence Checklist
NVIDIA launched the OpenShell Reference Architecture on October 21, 2026 for building, containing, observing, and enforcing safer agents across enterprise infrastructure and edge systems. This durable guide turns that architecture into a four-layer acceptance checklist rather than a product summary. For one low-risk agent task, teams verify build provenance, identity and tool boundaries, file and network isolation, observable action logs, policy denials, human approval, and rollback. Each layer requires evidence and a failure response. The goal is not to claim that one runtime makes an agent safe. It is to decide which actions can proceed automatically, which must stop for review, and how operators can reconstruct what happened after a failed or unexpected action.
From Chat Boxes to Personal AI Companions: AI Assistants Are Entering the Desktop Execution Era
AI assistants are moving from answering questions toward continuing real tasks. AI agents, MCP tool ecosystems, personal memory, and local workbenches are pushing this shift together. For users, the real value is not another chat box, but less repeated context setup and more continuity from thinking to doing.
ZONOS3-Mini Opens Its Weights: Check Device, License, and Voice Consent Before Local Narration
Zyphra released ZONOS3-Mini on November 9, 2026. The open-weight speech model uses about 100 million active parameters and 800 million total parameters, carries an Apache 2.0 license, and is presented for browser, phone, local-device, and server execution paths. This article provides a local narration acceptance card: verify the licenses for code, weights, and dependencies; record device, runtime, and time to first audio; test ordinary text, numbers, proper names, and longer sentences separately; and require proof that any reference voice is authorized. Vendor latency and benchmark figures remain source claims, not independent evidence for a specific device. No model files, cloned voices, or audio were produced in this run.
Granite 4.1 LLMON Previews Launch: Test Instruction/Data Separation With Synthetic Injections
IBM released experimental 3B and 8B Granite 4.1 LLMON preview models on November 12, 2026. LLMON uses explicit structured blocks to separate instructions, data, and requirements, with binding intended to express which content may be executed. This guide proposes a small safe evaluation using synthetic data only. Create normal, conflicting, and prompt-injection cases; freeze the model and decoding settings; compare an ordinary prompt with an LLMON prompt; and record task correctness, refusal, unauthorized behavior, and parsing failure. The published results are author-run benchmarks, and the models are explicitly previews for exploration and evaluation. They should not receive production data or external-action permissions before independent security review.
