# ISO 27001 controls for AI coding agents: which Annex A controls apply and what to show an auditor

ISO/IEC 27001:2022 has no control written for AI coding assistants, so existing Annex A controls cover them: the agent as an asset and an identity, its provider, the data it may see, secure development, change and logging. A control map and the evidence an auditor may ask for.

- Source: https://finray.tech/notes/iso-27001-controls-for-ai-coding-agents/
- Author: Finray
- Published: 2026-11-22
- Reading time: 9 min
- Publisher: Finray Technologies Ltd, Cyprus Companies Registry HE 445903

---

## Which ISO 27001 controls apply to AI coding agents?

ISO/IEC 27001:2022 has no Annex A control written for AI coding assistants or agents, and we found no source that names one. An organisation with an ISMS covers agent use with controls it already has: the agent and its tools are assets to register, the agent is an identity with its own access, and its provider is a supplier. The code it writes goes through secure development and change management, and what it does is logged.

This note maps agent use to those controls and lists the evidence an auditor may ask for. Control numbers refer to Annex A of ISO/IEC 27001:2022. The names after each number are our own short descriptions, the standard's titles are not reproduced, and no text of the standard is quoted here, because ISO sells it under licence. Check each control's wording, and the guidance in ISO/IEC 27002, in your licensed copies. The mapping is our editorial reading; fit it to the scope and Statement of Applicability of your own ISMS.

## The control map for AI coding assistants

| What to control | Annex A controls (our short names) | What it means for an AI coding agent |
| --- | --- | --- |
| A written rule for AI use | 5.1 security policies | A topic-specific guideline on AI in development, approved and communicated like any other policy |
| The agent and its tools are registered | 5.9 asset inventory; 5.10 acceptable use | Each approved agent, plugin and extension has an owner, and a list says which tools are approved |
| The agent has its own identity | 5.16 identity management; 5.17 authentication information; 5.18 access rights | Credentials issued to the agent, reviewed with human access, revoked when the tool is retired |
| The agent has only the access its task needs | 5.15 access control; 8.2 privileged access; 8.4 access to source code | Read and write access to the repositories the task needs, and no production credentials |
| The tool's provider is a supplier | 5.19 to 5.22 supplier relationships; 5.23 cloud services | The provider is assessed for how it uses, keeps and locates your information, and changes to its service are monitored |
| The data the agent may see | 5.34 privacy and personal data; 8.11 data masking; 8.12 data leakage prevention; 8.33 test information | Synthetic test data, secrets kept out of what the agent sees, scanning for secrets in what it writes |
| How the code is built and tested | 8.25 secure development life cycle; 8.28 secure coding; 8.29 security testing | The same tests, scans and review for agent-written code as for code written by people |
| Where the agent runs | 8.31 separate development, test and production | Agents work in development or test environments and are never pointed at production |
| How changes reach production | 8.32 change management; 5.3 segregation of duties | The agent is the author, a person approves, and the approval is tied to the version that was reviewed |
| What is recorded | 8.15 logging | Each action is attributable to the person or the model that performed it, and the logs are kept |
| When something goes wrong | 5.24 to 5.28 incident management; 6.8 event reporting | A leaked secret, or an agent acting outside its task, is reported and handled as a security event |
| The people who use the agents | 6.3 awareness and training | Developers know the AI guideline and which tools are approved |

The sections below take the rows in groups and say what evidence each produces.

## The agent as an asset and an identity

Start with the register (5.9). An agent, a plugin and an editor extension are each software that reads and writes your code, so each gets a row with an owner, like any other tool in scope. The acceptable use rule (5.10) then says which of them people may use. Finray keeps an allow-list of approved AI tools, plugins and extensions, and anything not on the list is not approved. A tool upgrade that adds hooks, network calls or telemetry needs approval again before it is used, and shared AI skills come from one internally reviewed source.

Identity comes next (5.16 to 5.18, 8.2). An agent that works under a developer's own credentials makes its actions look like that developer's. Credentials issued to the agent itself, limited to what its task needs, keep the record honest and make the agent visible in access reviews. Finray's published rule is that each action stays attributable to the real person or the model that performed it. The note on an [ISO 27001 asset register for a software company](/notes/iso-27001-asset-register-software-company/) shows how credentials can be registered alongside the systems they open.

**Evidence an auditor may ask for:** the list of approved AI tools with the approval record for each, the register rows for those tools, and an access review that includes the agents' credentials.

## Suppliers and the data an agent may see

The company behind an AI coding tool processes what the agent sends it, so it falls under the supplier controls (5.19 to 5.22) and, for a hosted service, the cloud services control (5.23). The questions are the usual ones: what the provider does with your information, how long it keeps it, where, and what the agreement says when the service changes.

The data rule follows from the answers. Finray's rule is that agents work with synthetic data, and customer data, personal data and secrets are never given to an AI tool. That rule touches the controls on personal data (5.34), data masking (8.11), data leakage prevention (8.12) and test information (8.33). Every change to Finray's product code also goes through secret scanning, which looks for credentials that have found their way into code, whoever wrote it.

**Evidence an auditor may ask for:** the supplier assessment and agreement for each AI provider, the written data rule, and the secret-scanning results on recent changes.

## Secure development and review of AI-written code

Code written by an agent goes through the same secure development life cycle (8.25), secure coding practice (8.28) and security testing (8.29) as code written by people. The open question is who reviews it, since an agent that reviews its own work is no independent check.

Finray's published path for a change to product code handles this in steps. A test that fails is written before the code that makes it pass, and an AI agent implements the change in an isolated workspace. Every change runs through secret scanning, dependency and vulnerability scanning, static analysis and the test suite. A different AI model family from the one that wrote the change reviews it, and its findings are re-checked in the next review. The change is then tested live on a dedicated test environment with synthetic data.

The separation of development, test and production environments (8.31) applies to agents as it does to people. Finray's rule is that agents that drive a browser run only against local, development or test systems and are never pointed at production.

**Evidence an auditor may ask for:** for a sampled change, the failing test, the scan results, the review findings and their resolution, and the record of where the agent ran.

## Change management: the agent writes, a person approves

Under change management (8.32) and segregation of duties (5.3), the author of a change does not also release it. When an agent writes the change, the agent is the author and a person approves, which is the [four-eyes principle](/intelligence/glossary/four-eyes-principle/) applied to a new kind of author. Finray ties the approval to one version: a person approves the exact version that was reviewed and tested, and any later change to it restarts review. That closes the gap in which a small fix made after review reaches production unseen.

The note on [ISO 27001 change management for software teams](/notes/iso-27001-change-management-software-teams/) sets out the full procedure, including emergency changes, and the glossary entry on [segregation of duties](/intelligence/glossary/segregation-of-duties/) explains the design rule behind it.

**Evidence an auditor may ask for:** the approval on a sampled change, showing who approved, which version, and that the merged version is the one approved.

## Logging: who did what, person or model

The logging control (8.15) asks for records of activity that are kept and protected. For agent work the useful question is whether the record can tell a person from a model. At Finray each change is merged with a record of who did what and at which version, and "who" is either a person or a model.

Incidents belong in the same record. A secret pasted into a prompt, or an agent that changes files outside its task, is an information security event to report (6.8) and handle under the incident controls (5.24 to 5.28). Awareness (6.3) is what makes people report it: developers who know the AI guideline can recognise a breach of it.

**Evidence an auditor may ask for:** a log extract for a sampled change showing the model and the person involved, and an incident record if one has occurred. The fields such a record should hold are listed in [AI agent audit trail](/notes/ai-agent-audit-trail/), and teams that also report to US customers will find the same evidence reused in [SOC 2 evidence for AI-assisted development](/notes/soc-2-evidence-ai-assisted-development/).

## What an auditor may ask

| Question | Evidence that answers it |
| --- | --- |
| Which AI tools are approved, and who approved them? | The allow-list with an approval record per tool |
| Which credentials do your agents use, and who reviews them? | The credential register and the latest access review |
| What does each AI provider do with your code and data? | Supplier assessments and agreements |
| What data may an agent see? | The written data rule and how test data is produced |
| How do you know agent-written code is secure? | Tests, scan results and independent review on sampled changes |
| Can an agent reach production? | Environment configuration and the rule that keeps agents away from it |
| Who approved this change, and was it the version reviewed? | The approval record tied to the merged version |
| Can you tell a person's action from a model's? | Log and merge records that name either the person or the model |

## How this note relates to Finray's own certification

Finray Technologies Ltd holds ISO/IEC 27001:2022 certification, issued by NQA under UKAS accreditation, certificate No. 215646, valid from 21 October 2025 to 21 October 2028, and the 2026 surveillance audit was passed. This is a company-level certification of the information security management system and not a product certification. The details are in the [certification section of Finray's trust centre](/trust/#certification).

The map in this note is our editorial reading of the standard. It is not taken from Finray's certificate, its scope or its Statement of Applicability. The practices described above are the ones Finray publishes on [how we build](/company/how-we-build/), and the note on [building bank-grade software with AI agents](/notes/bank-grade-software-with-ai-agents/) maps the same path to DORA and other frameworks. For the day-to-day side of running people and agents together, see [how to manage AI coding agents in a team](/notes/manage-ai-coding-agents-in-a-team/). Finray records each engineering task in [Pync](/platforms/pync/) with its acceptance criteria before the work starts, and there an agent's change to an issue, a subtask or an asset [stays marked as not yet valid until a person accepts it](/platforms/pync/ai-agents/).

## Frequently asked questions

### Is there an ISO 27001 control for AI coding assistants?

ISO/IEC 27001:2022 has no Annex A control written for AI coding assistants or agents, and we found no source that names one. Existing controls apply: asset inventory, identity and access, supplier relationships, data protection, secure development, change management and logging.

### Does AI-written code need a separate review process?

It can go through the same process as any other code, with the agent recorded as the author. At Finray a different AI model family from the one that wrote the change reviews it, and a person approves the exact version that was reviewed and tested.

### Which Annex A control covers secure coding by an AI agent?

Control 8.28 is the secure coding control. In practice it works together with 8.25 on the secure development life cycle, 8.29 on security testing and 8.32 on change management. Check the wording of each in your licensed copy of the standard.

### Should an AI coding agent have its own credentials?

In our reading of controls 5.16 to 5.18 and 8.2, yes: credentials issued to the agent, limited to what its task needs, reviewed with everyone else's access and revoked when the tool is retired. Separate credentials keep each action attributable to the person or the model that performed it.

### Can customer data be given to an AI coding tool?

Under Finray's rules, no: agents work with synthetic data, and customer data, personal data and secrets are never given to an AI tool. Each organisation sets its own rule from its data classification and the terms of its AI supplier.

### Is the provider of an AI coding tool a supplier under ISO 27001?

Treat it as one. The supplier controls 5.19 to 5.22 and the cloud services control 5.23 ask how the provider handles your information, what the agreement says, and how changes to the service are monitored.

## Sources

- [ISO/IEC 27001:2022, Information security management systems: requirements (ISO catalogue page; the standard is sold by ISO and its text is not quoted here)](https://www.iso.org/standard/27001)
- [Finray: How Finray builds software with AI agents (path of one change, rules for AI)](https://finray.tech/company/how-we-build/)
- [Finray: Trust centre (certification, rules for AI)](https://finray.tech/trust/)
- [Finray: Pync, delivery and ISMS workspace (agent changes to issues, subtasks and assets in the Review queue)](https://finray.tech/platforms/pync/)
