Secure SDLC

Add security activities to every phase of the software lifecycle so issues are prevented early instead of patched late.

Intermediate · about 4 hours · difficulty 2/5

Learn first: The Security Mindset and the CIA Triad, Git and GitHub for Security Work

A secure software development lifecycle (SSDLC) adds security activities to each stage of how software is built, rather than running one test just before release. Fixing a design flaw on a whiteboard is far cheaper than fixing it in production.

Security by phase

  • Requirements: capture security and privacy requirements (authentication, logging, data retention) alongside features.
  • Design: threat model new features and significant changes.
  • Implementation: secure coding standards, peer review, approved libraries.
  • Verification: automated SAST, dependency scanning, secret scanning and tests for security requirements.
  • Release: signed builds, hardened configuration, a security sign-off for high-risk changes.
  • Operations: monitoring, vulnerability intake, patching dependencies.

Frameworks to know

  • NIST SSDF (SP 800-218): high-level practices grouped into Prepare, Protect, Produce and Respond.
  • OWASP SAMM: a maturity model to assess and improve a programme step by step.
  • OWASP ASVS: a detailed list of verifiable application security requirements.

Making it work with developers

  • Security champions inside each team.
  • Fast, low-noise tooling in the pull request, not a separate portal.
  • Clear guidance and paved-road libraries so the secure way is the easy way.

Pitfalls

  • A security gate at the end that blocks releases and gets bypassed.
  • Tools that produce hundreds of unreviewed findings.

Good enough to move on: you can map at least one concrete security activity to each SDLC phase for a small web project and name the relevant SSDF practice group.

Key concepts

  • Security activities per SDLC phase
  • Security requirements
  • NIST SSDF (SP 800-218)
  • OWASP SAMM
  • OWASP ASVS
  • Security champions

Mini project

For a small open-source web app you use, write a one-page SSDLC plan listing one activity, owner and tool per phase, mapped to NIST SSDF practice groups.

Check yourself

Why does shifting security activities earlier in the lifecycle reduce overall cost?

Free resources