12.1 Application Security & Secure Software Development Lifecycle (SSDLC)
Key Takeaways
Use the applicable SSDF edition and integrate security into design, implementation, verification and operation.
Model trust boundaries and distinguish identity, permissions, integrity and evidence of disputed actions.
Use OWASP Top 10:2025 to recognize risks and define separate, scoped verification requirements.
Use SAMM to develop capability and BSIMM to compare observed practices where the cohort supports comparison.
Use evidence to decide whether to release or repeat work and assign owners for unresolved risks.
Put software assurance into the lifecycle
A secure software development lifecycle (SSDLC) connects the security needs of a service to design, implementation, verification, release, maintenance and retirement. A missing requirement can be easier to address before design decisions and dependent releases accumulate. Use actual rework and operational impact in business cases. The cost of a fix depends on the defect, release process and affected service.
NIST's final Secure Software Development Framework (SSDF) v1.1, SP 800-218, groups practices into Prepare the Organization, Protect the Software, Produce Well-Secured Software and Respond to Vulnerabilities. The later Rev. 1 draft proposes v1.2. Use the applicable published requirements and recognize their status. These practices can be integrated into different development models. Assign roles and select evidence and review points appropriate to the service. NIST SSDF publications · NIST SP 800-218
| Decision | What to document or verify |
|---|---|
| Requirements | Identify critical workflows, sensitive data, applicable obligations, security requirements and criteria for accepting the service. |
| Architecture | Map data, components, connections, people and trust boundaries. Choose and document secure defaults, least privilege, separation of duties and checks on protected actions. |
| Implementation | Use reviewed standards, secure components and approved tooling. Review code, configuration and exceptions against the design. |
| Verification | Combine targeted static, dependency and runtime evidence with review of security requirements. Use authorized and representative test environments. |
| Release | Verify the exact approved artifact, production configuration, ownership, recovery readiness and relevant disposition of findings. |
| Operation and retirement | Monitor and triage disclosed flaws, coordinate repairs and retest them. Retire access, data and dependencies under the retention and sanitization rules that apply. |
Learn from a threat model
A threat model makes trust assumptions visible. Start with a data flow diagram showing processes, data stores, external parties and trust boundaries. Define what needs protection, what could go wrong, how the design addresses it and which tests will demonstrate the result. Update the model when access paths, dependencies or service requirements change. Microsoft’s STRIDE provides threat categories and the corresponding security properties.
| Category | Relevant property | Defensive design question |
|---|---|---|
| Spoofing | Authentication | What establishes the identity of a caller or service? |
| Tampering | Integrity | How do we verify a record or release artifact has not been changed without authority? |
| Repudiation | Non-repudiation | What evidence ties an action to a principal, scope and time if disputed? |
| Information disclosure | Confidentiality | Who may see each class of data under normal and failure conditions? |
| Denial of service | Availability | How is essential capacity preserved when demand exceeds a limit? |
| Elevation of privilege | Authorization | How does each protected operation check the actor, action and target? |
Protected logs with reliable timestamps support accountability. They may be incomplete or show what an account did without attributing the action to a person. A digital signature can supply additional evidence of integrity and origin, with assurance depending on key control, context and verification. Define what evidence is required to substantiate a contested action. Microsoft STRIDE guidance · NIST FIPS 186-5
Worked design review. A financial service can apply a transfer only when a named caller is authorized for the account, transaction and joint-approval rules. Identify which service has authority to decide and apply controls on the protected operation. Test approved and disallowed paths using isolated accounts and synthetic records, and review the result and audit evidence. Missing authorization is broken access control and can allow elevation relative to the user's permission boundary. Transport protection helps keep data in transit confidential and intact, while the authorization decision remains necessary.
Use current references for different purposes
The OWASP Top 10:2025 is an awareness document. Use a scoped verification standard and the service's own requirements to test coverage. The current category names and codes are:
| Code | Web application risk |
|---|---|
| A01 | Broken Access Control |
| A02 | Security Misconfiguration |
| A03 | Software Supply Chain Failures |
| A04 | Cryptographic Failures |
| A05 | Injection |
| A06 | Insecure Design |
| A07 | Authentication Failures |
| A08 | Software or Data Integrity Failures |
| A09 | Security Logging and Alerting Failures |
| A10 | Mishandling of Exceptional Conditions |
For example, use server-side authorization for protected actions, parameterized database operations to keep data separate from instructions, scoped cryptography and key management, and tests of failure handling and alert delivery. Select controls by the design and validate them. The absence of a scanner finding does not establish those properties. OWASP Top 10:2025 · OWASP Application Security Verification Standard
OWASP Software Assurance Maturity Model (SAMM) has five business functions and fifteen practices for self-assessment and improving capability. Building Security In Maturity Model (BSIMM) describes activities observed in participating software security initiatives. Use SAMM to structure priorities and BSIMM to compare to an appropriate cohort when the available sample and definitions support the comparison. A comparison neither establishes compliance nor proves control effectiveness. OWASP SAMM model · Black Duck BSIMM16
A payment service has authenticated the caller, but the design never checks whether that caller may initiate a transaction on the selected account. Which STRIDE issue best describes the ability to perform an unauthorized transaction and what directly addresses it?
Elevation of privilege. Enforce server-side authorization for the specific caller, account and operation.
Repudiation. Store longer audit records and leave the authorization design unchanged.
Spoofing. Require a new login while keeping the same authorization logic.
Denial of service. Limit request volume without checking authority.
The board asks how the enterprise’s software security practices compare with actual practices observed at participating organizations. Which reference addresses the comparison if it contains a suitable cohort?
OWASP SAMM, because its self-assessment and roadmap define peer prevalence.
BSIMM, because it documents observed activities that can support scoped benchmarking.
NIST SP 800-53, because its controls are an industry sample of adoption.
ISO/IEC 27001, because ISMS certification measures the whole industry’s software maturity.
A service design omits a safeguard for repeated reservations of a scarce inventory item. Implementation follows the approved requirements, and all automated code scans pass. Which action best addresses the root design risk in OWASP Top 10:2025?
Apply host hardening alone as the design fix.
Replace the identity provider without altering reservation rules.
Treat it as an Insecure Design issue. Define an enforceable service limit and failure behavior and verify both using authorized tests.
Sign all third-party components and take the signatures as proof the service rules are adequate.
Sections you finish are checked off in the contents.