# Secure SDLC

> Add security activities to every phase of the software lifecycle so issues are prevented early instead of patched late. Free notes, key concepts, resources and...

Canonical: https://www.internhack.in/roadmaps/tracks/cybersecurity/secure-sdlc
Last updated: 2026-11-28

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](https://www.internhack.in/roadmaps/tracks/cybersecurity/security-mindset), [Git and GitHub for Security Work](https://www.internhack.in/roadmaps/tracks/cybersecurity/git)

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

- [NIST SP 800-218: Secure Software Development Framework](https://csrc.nist.gov/pubs/sp/800/218/final) (NIST)
- [OWASP SAMM](https://owaspsamm.org/) (OWASP)
- [OWASP Application Security Verification Standard](https://owasp.org/www-project-application-security-verification-standard/) (OWASP)

Previous: [Patch Cycles and Vulnerability Reporting](https://www.internhack.in/roadmaps/tracks/cybersecurity/patch-management) · Next: [Threat Modelling with STRIDE](https://www.internhack.in/roadmaps/tracks/cybersecurity/threat-modeling-stride)

## More in Secure Software Development

- [Secure SDLC](https://www.internhack.in/roadmaps/tracks/cybersecurity/secure-sdlc)
- [Threat Modelling with STRIDE](https://www.internhack.in/roadmaps/tracks/cybersecurity/threat-modeling-stride)
- [Secure Coding and Input Validation](https://www.internhack.in/roadmaps/tracks/cybersecurity/secure-coding)
- [Dependency and Supply-Chain Hygiene](https://www.internhack.in/roadmaps/tracks/cybersecurity/supply-chain-security)
- [Secrets Management](https://www.internhack.in/roadmaps/tracks/cybersecurity/secrets-management)
- [SAST and SCA in CI Pipelines](https://www.internhack.in/roadmaps/tracks/cybersecurity/sast-sca-ci)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Cybersecurity Roadmap](https://www.internhack.in/roadmaps/tracks/cybersecurity)
