Skip to content
Software development
ASD ISMISM-2061

ASD ISM 2061 Peer reviews of critical and security-related software components

What it says

Peer reviews are conducted on all critical and security-related software components.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Every critical software component, and every security-related one, must be peer reviewed by another developer able to judge it, not by its author.

All critical software components and all security-related software components must be peer reviewed: examined by another developer with the skills to judge them, not by their author. Security-related components carry out or support security functions, such as authentication, access control or cryptography. The ISM does not define critical, so the organisation sets criteria, such as components the software cannot run or protect its data without. This applies whether a person or an AI tool wrote the code. ISM-2060 separately sets what code reviews check for.

Why it matters

Authors read their code as they meant it to work, so they can miss their own mistakes. In a critical or security-related component, one missed flaw can stop the software working or expose the data it protects, and a skilled second reader can catch it.

How to implement

  1. List the critical and security-related components.

    Write criteria for both: for example, security-related covers code for authentication, access control, sessions, cryptography, input validation or secrets, and critical covers what the software cannot run or protect its data without. Search the codebase for those functions so none are missed, and record each component's paths in the repository.

  2. Name qualified reviewers for each component.

    Choose developers who know the language and the security function involved, drawing on the skills register ISM-2038 requires. Record them as required reviewers for those paths, for example in a code owners file, with enough people that someone other than the author can always review.

  3. Block merges to those paths without a peer's approval.

    In the authoritative source for software (ISM-2023), set branch protection so changes merge only after a named reviewer other than the author approves, new commits reset approval, and administrators cannot bypass it. For contractor-written code, require these reviews by contract and collect the records, or review it before accepting it.

  4. Peer review existing code that no peer has reviewed.

    Check each listed component's history for code merged without a peer review, such as code written before the rule, and have a qualified reviewer go through it. Record the reviewer, date, findings and fixes.

Keep it running

Update the component list and review rules when components are added or the architecture changes. Recheck the rules after a change to the repository platform, branches or team, because a rule that lapses lets changes merge without a peer review.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The list of critical and security-related components, the criteria behind it, and a search of the codebase for authentication, access control, cryptography and secrets handling code.

    Look at

    Whether every component the search finds is listed, and whether the list includes every component the architecture shows the software needs to run or to protect its data.

    Good evidence

    Every component the search finds, and every component the architecture shows the software needs to run or to protect its data, is on the list.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The branch protection settings for the listed components' paths, and an attempt to merge a harmless test change approved only by its author.

    Look at

    Whether the merge is blocked, whether new commits reset approval, and whether any account can bypass the rule.

    Good evidence

    The test change cannot merge, new commits clear earlier approvals, and no account, including administrators, can merge to those paths without approval from a reviewer other than the author.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The commit history of a sample of listed components, taken from version control so changes that bypassed review show up, with the review record for each change.

    Look at

    Whether each change was approved by someone other than its author who is a named reviewer for that component, and whether older code has been reviewed.

    Good evidence

    Every sampled change was approved by a named reviewer who was not its author, and all code in the sampled components has been peer reviewed.

Mappings

Closest match in ISO/IEC 27001: A.8.28, Secure coding, which this control covers in full and more.

ISO 27001

ISO/IEC 27001: 3 mappings

  • A.8.28Secure codingBroader than
  • A.8.25Secure development life cyclePartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.