Independent thinking. Informed defence.

CISO Times

Intelligence for the people behind the defence.

The CISO Decision Brief

Control A.8.28Secure coding

Secure coding principles must be applied to software development.

New in the 2022 edition as an explicit control. It covers the practices that prevent the vulnerability classes that recur: input handling, output encoding, authentication and session management, error handling that does not leak, and the safe use of cryptographic and other libraries.

The control reaches beyond the code the organisation writes. Most applications are mostly dependencies, so the secure use of components — knowing what is included, keeping it current, and checking it comes from where it claims to — is part of coding securely, and connects to A.5.21 and A.8.4.

What makes this work in practice is tooling in the path developers already use — analysis in the pipeline, dependency checks, and review — rather than a standard nobody reads. And it depends on A.8.29’s testing to tell whether the principles are being applied, since the only evidence otherwise is the absence of discovered defects.

How to put this in place

Common coding errors lead to common breaches. Your ISMS needs developers who follow agreed secure coding practice, supported by automated checks, so weaknesses are caught before release.

  1. Choose secure coding guidance suited to your languages and frameworks.
  2. Train developers and record attendance.
  3. Add code and dependency scanning to the pipeline.
  4. Require peer review before merge, enforced in the repository settings.
  5. Triage scan findings, fix them by severity and record the outcome.

Evidence an auditor usually looks for: secure coding guidance, training records, scanning results with how findings were handled, and review enforcement settings.

What is in the packs for this

From ISO 27001 Implementation & Certification Readiness. Each one helps with this requirement.

  • Annex A Control Implementation LibraryExcel

    Its row in the Control Library: what it is for, practical steps, what an auditor samples, the usual owner, common mistakes and whether it usually applies.

  • Statement of Applicability TemplateExcel

    Has its own row on the Statement of Applicability sheet, where you record whether it applies, why and how far it is implemented.