Skip to content
Technological controls
ISO 27001A.8.28

ISO 27001 Annex A 8.28 Secure coding practices in software development

What it says

Secure coding principles shall be applied to software development.

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

What it means

In plain English

Ensure software is built securely to prevent vulnerabilities.

This control is about making sure that the software your business uses or develops is built in a way that keeps it safe from hackers and glitches. If this isn't done, your software might have weak spots that bad actors could exploit to steal your information or disrupt your operations.

Why it matters

Poor secure coding increases risk of data breaches and operational disruptions due to exploitable software vulnerabilities.

How to implement

  1. The IT manager should develop a secure coding policy that defines expected practices.

    This can be done by setting specific guidelines that all software developers must follow, which should cover both in-house and outsourced efforts. Reference standards from ISO 27002:2022 and comply with Australian privacy regulations.

  2. Software developers need to be trained in secure coding practices.

    The organisation should organise training sessions and workshops on common coding vulnerabilities and how to avoid them. Use materials from recognised sources like OWASP and ensure the training is up to date with current threats.

  3. Procurement teams should ensure that third-party software and open-source components align with secure coding practices.

    They should verify that vendors apply secure coding standards by requiring documentation or certifications. This helps to ensure that all software components used are secure and reliable.

  4. Project managers should implement security throughout the software development lifecycle.

    This means incorporating secure design, threat modelling, and regular security reviews and testing into every project stage. Use methods like static application security testing (SAST) to find vulnerabilities early.

  5. Executives should support a culture of continuous improvement in secure coding practices.

    This involves monitoring industry trends and incorporating lessons learned into coding standards and procedures. Encourage feedback loops from security incidents to refine and strengthen secure coding policies continually.

Keep it running

Maintain secure coding standards with peer reviews, SAST/DAST and dependency scanning; refresh secure patterns and train developers on OWASP risks.

Evidence and audit

  1. Check 1 of 5What an auditor asks for

    Ask for

    A copy of the organisation's secure coding policy.

    Look at

    Whether it includes clear guidelines for coding practices and covers third-party software. GOOD is when the policy is aligned with ISO 27002:2022 and Australian regulations.

  2. Check 2 of 5What an auditor asks for

    Ask for

    Records of developer training sessions on secure coding.

    Look at

    The content for relevance and frequency of these trainings. GOOD is when training is regularly updated and covers emerging threats as per ISO 27002:2022 guidance.

  3. Check 3 of 5What an auditor asks for

    Ask for

    To see recent security test reports from the software development process.

    Look at

    Whether these include assessments of coding vulnerabilities. GOOD is when reports show thorough testing was conducted using tools like SAST.

  4. Check 4 of 5What an auditor asks for

    Ask for

    Documentation on third-party software assessments.

    Look at

    The evaluation criteria and approval process. GOOD is when third-party solutions meet or exceed the organisation's secure coding practices.

  5. Check 5 of 5What an auditor asks for

    Ask for

    To review incident response records relating to coding issues.

    Look at

    Any security vulnerabilities that were identified and their resolution. GOOD is when post-incident reviews are used to improve existing coding practices.

Mappings

Closest match in ASD Information Security Manual: ISM-2040, Ensure secure programming practices in software development, which asks for the same thing.

ASD ISM

ASD Information Security Manual: 34 mappings

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

Get help with this control

ISO 27001 training

Mindset Cyber runs PECB-accredited ISO/IEC 27001 training that maps directly to the controls in this library.