← Blog

ISO 27001 for a software house using AI agents: what the auditor checks

Marco Masut

ISO/IEC 27001 is the international standard that sets the requirements for an information security management system (ISMS): an organization defines its scope, assesses risks, selects controls and shows a certification body that it applies them. For a software house the scope almost always includes development, and so the code an AI agent now writes. The auditor's question does not change: who authorized the change, who verified it, where is the proof. What changes is where the proof gets lost, because the agent's session ends and takes its context with it. In practice, a change written by an agent is defensible when there is a traced request, a verification run by a system distinct from the author, a dated approval by a person, and a record that is not rewritten afterwards. This page lists the controls involved and the evidence to produce while the work happens. It is not certification advice, and it is written about the European and Italian audit context.

What does ISO 27001 ask of people who develop software?

The standard does not prescribe how to program. It asks for a management system with assessed risks and controls chosen and justified in the statement of applicability. Reference controls sit in Annex A, which the 2022 revision groups into 93 controls across four themes (organizational, people, physical, technological). For developers the technological theme matters most. Source: ISO/IEC 27001:2022, published October 2022; read the normative text on the current edition.

| Annex A theme | Example relevant to development | | --- | --- | | Organizational | Security in project management, supplier relationships | | People | Awareness, responsibilities, confidentiality agreements | | Physical | Workstations and premises, usually marginal for development | | Technological | Secure development life cycle, testing, changes, environments, logging |

Which controls does agent-written code put under pressure?

The secure development family, numbered 8.25 to 8.33 in the 2022 edition, plus supplier management. The agent does not invalidate them: it makes them easy to satisfy on paper only.

| Control (Annex A 2022) | What it asks | Where an agent complicates it | | --- | --- | --- | | 8.25 Secure development life cycle | Defined development rules | Rules live in the prompt, not in a document | | 8.28 Secure coding | Secure coding principles applied | Generated code has no author accountable for style | | 8.29 Security testing | Testing in development and acceptance | The result is narrated by the session, not re-runnable | | 8.30 Outsourced development | Oversight of what a third party builds | The agent and its services are a new supplier | | 8.31 Environment separation | Development, test, production kept apart | The agent has broader access than needed | | 8.32 Change management | Changes under procedure | Changes without a traceable request or approval |

Numbers and titles should be checked against the official copy of the standard. On suppliers, treating the agent as a supplier is the easiest position to defend: the list of tools, versions and data flows becomes evidence.

How do change management and separation of roles work?

With two verifiable rules. First: every change has a traced request, a linked commit, checks run by the system and a person's approval before release. Second: whoever writes does not alone approve what is released. With an agent the typical risk is that the same agent writes and then checks, so author and verifier coincide. The fix is not more attention but a process where verification is a deterministic command and the go-ahead is given by a human with a name and a date.

Detail on both lives in separation of duties when an agent writes and tests and in change control process for AI-generated changes.

What evidence will the auditor ask for?

In a certification audit the auditor samples: they pick a few recent changes and ask to follow each from start to end. Useful evidence is what the process produces by itself.

  1. The original request, stored somewhere independent of the session, with an identifier that appears in the commit.
  2. One commit per unit of work, with a message that points to the request.
  3. Checks run by the system, with result and date recorded and re-runnable.
  4. An approval with a full name, dated before release and not editable afterwards.
  5. The list of tools, versions and external services used, agent included.
  6. A periodic review of write permissions on the repository and release systems.

The change record topic is developed in software audit trail when an agent made the change. Detent, the end-to-end delivery system (detent-ai.com), produces this material as part of the flow: a person signs the plan and the final delivery, the system runs the checks, everything stays in versioned files. It does not issue a certification, which belongs to an accredited body: it provides what the auditor samples.

How do ISO 27001 and ISO 42001 relate?

ISO 27001 governs information security, ISO/IEC 42001 governs the AI management system. They meet where an organization uses an agent to produce software: 27001 asks that the change be controlled, 42001 asks that the use of AI be governed, with roles, risks and assessments. They do not replace each other and do not fully overlap. For the AI side, see ISO 42001: what it means for software teams. The sibling piece on service-provider attestation is SOC 2 for teams building software with AI agents.

Where to start in a software house?

With three small steps, before thinking about certification.

  • Write down where each change's request lives and make it appear in the commit.
  • Separate who writes from who verifies and who approves, and make verification a re-runnable command.
  • Put the agent on the supplier list, with the tools, versions and data it receives.

That already gives you a change that can be followed end to end, which is what the auditor wants to see. The wider picture is in AI software development; to compare tools on what they leave after the session, see the comparison table and the benchmark page.