Input data and information sources
Tickets, external code, dependencies and websites the agent reads can come from outsiders. Code repositories, test data and logs can contain personal information.
Also known as: AI coding agent
The agent takes on complete programming tasks, works in the code repository and terminal, executes commands itself and submits changes for review.
Understand the use case
Goldman Sachs is trialling such an agent; according to the manufacturer, Nubank used one to complete a major code migration.
This page describes a typical system design. Actual data flows and permissions depend on your implementation.
System design and data flows
The task arrives as a ticket or message; the agent also reads the repository, documentation and, if needed, websites.
Tickets, external code, dependencies and websites the agent reads can come from outsiders. Code repositories, test data and logs can contain personal information.
A language model plans steps, edits files, runs commands and tests, and adapts its approach to the results.
The model plans project changes, reads relevant files and calls approved development tools. Results from tests or other calls provide context for the next step. A successfully executed tool action must be distinguished from a substantively correct and approved change.
The completed changes are provided as a branch or pull request with a description.
A generated result is newly worded or created. To assess it, the instruction and context on which it is based must remain identifiable.
Commands affect the development environment while work is underway. After review and merge, the change enters the shipped software.
Write or execution permissions allow the system to change a state within an application. Model responses, tool calls and changes actually executed must therefore be considered separately.
Explore the system design: Select a component to see its task, incoming and outgoing data, and role in the use case. The guided walkthrough explains each phase. Then use Yes, Uncertain and No to represent your specific system variant.
16 review first25 clarify9 baseline threats
The diagram shows the typical architecture. Select a component to see what happens there and adapt its features to your system. Enable “Analysis guidance” to see which threats need reviewing for this architecture. The page's checklist continues to describe the typical case.
None yet. Each change will appear here.
In this system design: 16 to review first, 25 to clarify, 9 baseline threats.
External access: Depends on your system
To clarify
Input: Part of every AI system
Review first
To clarify
Baseline for every AI system
Third-party content: Present
Review first
AI model: Part of every AI system
Review first
Baseline for every AI system
Provider service: Present
Review first
To clarify
Document collection: Depends on your system
To clarify
Memory: Depends on your system
To clarify
Training and feedback: Depends on your system
To clarify
Other AI agents: Depends on your system
Tools and interfaces: Present
Review first
To clarify
Result: Part of every AI system
Review first
To clarify
Baseline for every AI system
Business application or equipment: Present
person: Part of every AI system
Baseline for every AI system
Unapproved AI services: Depends on your system
To clarify
Supply chain and technical foundations: 5 baseline threats applying to every AI system
Baseline for every AI system
Only suggests code for developers to review and accept themselves
Completes tasks in office applications and business systems rather than source code
Tickets, external code, dependencies and websites the agent reads can come from outsiders. Code repositories, test data and logs can contain personal information.
Agents use a provider's language model.
Many agents search code repositories and documentation for relevant material. Some agents store notes about projects and earlier tasks and consult them later.
The agent calls the terminal, version control, package managers and testing tools. The agent edits files, creates branches and opens pull requests.
Using a provider does not automatically determine where processing takes place. Storage location, subcontractors, deletion periods and use for training must be checked for the specific deployment.
Assess risks and determine measures
Record data, participants, interfaces and permissions. Resolve uncertain characteristics in the model.
Relate review candidates to actual data flows: what could happen, and who would be affected?
Assess impacts and likelihood in the deployment context. The number of review candidates is not a risk score.
Select appropriate controls, assign responsibilities and define effectiveness checks. Document residual risks and approvals.
A total of 50 threats from the threat catalogue may be relevant to this use case.
A ticket, README file or website contains hidden instructions. The agent executes them with its permissions, for example deleting files or reading credentials.
Permission to write to the main branch, production access credentials or cloud accounts lets mistakes cause damage beyond development. An unreviewed merge can send a change straight into production.
Unrestricted terminal access lets the agent execute any command available to the signed-in user. Without isolation and an allowlist of commands, a mistake is difficult to contain.
Exfiltration from ML Application
The agent can open network connections and execute commands. An injected instruction can make it send source code or secrets to an external address.
Training data or an adopted base model can introduce hidden triggers for misbehaviour.
Listed because of this characteristic
Sleepy Agent (Time/Event-Triggered Hidden Instructions)
An instruction-following model can change behaviour at a particular time or event.
Listed because of this characteristic
Users can override the system's working instructions through their inputs.
Listed because of this characteristic
People requesting generated content may try to bypass intended limits.
Listed because of this characteristic
Carefully crafted queries can reveal system instructions, which must therefore contain no secrets.
Listed because of this characteristic
Complex or high-volume inputs can exhaust model computing resources.
Listed because of this characteristic
Targeted queries can recover some personal or protected training data from the model.
Listed because of this characteristic
Sensitive Information Disclosure
Confidential content can appear in answers, supplied context or logs.
Listed because of this characteristic
Generated code can contain malicious functions or help develop them.
Listed because of this characteristic
Factual Inconsistencies (Hallucinations)
Generated text can invent facts or distort them during rewriting.
Listed because of this characteristic
The target metric can improve while the underlying objective is missed.
Listed because of this characteristic
Agentic AI / Autonomous Agents
When a system plans and acts over several steps, an error can compound at each step.
Listed because of this characteristic
Up to 25 further threats may apply, depending on your system design. Nine threats need to be reviewed for every AI system.
Each Yes adds further threats to your checklist, up to 25 in total. If you cannot yet answer a question, include its threats in your review.
How your system is built
How you operate the system
Depending on the setup, the agent also answers open-ended questions beyond coding.
If yes, add
Many agents search code repositories and documentation for relevant material.
If yes, add
If yes, add
Some agents store notes about projects and earlier tasks and consult them later.
If yes, add
Some agents delegate subtasks to other agents and incorporate their results.
If yes, add
Agents are often connected to additional tools and data sources through the Model Context Protocol (MCP).
If yes, add
If yes, add
If yes, add
Accepted and rejected changes may feed into the provider's further development.
If yes, add
If yes, add
These questions arise for almost every AI system.
If yes, add
If yes, add
If yes, add
If yes, add
If yes, add
If yes, add
Measures for the priority review areas are expanded. Each linked measure explains how to implement it.
Controls for the remaining threats are available on their pages in the threat catalogue.
For every AI system Applies since 2 February 2025.
Depending on use Review trigger since 2 August 2025.
Applies if staff or appointed representatives operate or use AI systems.
Applies since 2 February 2025.
Detailed obligations
Applies if a large language model or another third-party general-purpose model is incorporated into an agent you provide yourself.
Applies since 2 August 2025.
Detailed obligations
Classify your system with the quick checker All obligations in the obligations compass
Review these threats for every AI system, whatever its purpose.
If any of these features does apply to your system, add the listed threats.
Does the system use a knowledge graph storing concepts and their relationships?
If yes, add
Do documents from several customers, departments or permission groups share one search store?
If yes, add
CNBC, Goldman Sachs is piloting its first autonomous coder in major AI milestone for Wall Street, 11 July 2025 According to the deployer
The independent report describes a bank's trial of a coding agent.
Cognition, Nubank customer case study According to the manufacturer
The manufacturer describes the agent migrating data classes from a large ETL system at Nubank.
MITRE ATLAS, atlas-data CHANGELOG
Case studies AML.CS0047, AML.CS0067 and AML.CS0069 describe malicious instructions in Amazon Q for VS Code, exposed secrets and an espionage campaign using Claude Code.
OWASP GenAI Security Project, OWASP Top 10 for Agentic Applications 2026
The list identifies unexpected code execution (ASI05) and tool misuse (ASI02) as distinct risks in agentic applications.
Anthropic, Disrupting the first reported AI-orchestrated cyber espionage campaign, November 2025 According to the manufacturer
The model provider reports that attackers abused its Claude Code programming agent to carry out largely autonomous attacks against around 30 targets.
Updated: 30 September 2026. Review checklist rules version 0.3.2, threat catalogue version 2026.10.24.2. How these pages are structured