🛡️ Secure Development Lifecycle (SDLC) Skill
🎯 Purpose
Comprehensive security practices for the entire Software Development Lifecycle (SDLC), ensuring security is built in from inception through maintenance. Integrates classification-driven requirements, AI-augmented development controls, and systematic testing frameworks aligned with Hack23 Secure Development Policy.
🔐 Core Security Principles
🔐 Security by Design
- 🏷️ Project Classification: CIA triad, RTO/RPO, business impact analysis
- 🛡️ Secure Coding Standards: OWASP Top 10 alignment with classification controls
- 🏗️ Architecture Documentation: SECURITY_ARCHITECTURE.md + FUTURE_SECURITY_ARCHITECTURE.md
🌟 Transparency Through Documentation
- 📋 Living Security Architecture: Real-time documentation with classification controls
- 🎖️ Public Security Badges: OpenSSF Scorecard, SLSA, Quality Gate validation
- 🔓 Open Development: Demonstrating expertise while maintaining classification
🔄 Continuous Security Improvement
- 🏷️ Classification-Driven Testing: SAST/SCA/DAST per classification levels
- 📈 Performance Monitoring: Security metrics with availability SLAs
- 🔍 Regular Reviews: Classification-based risk management and ROI
🔄 5-Phase SDLC Security Framework
📋 Phase 1: Planning & Design
🏷️ Project Classification (REQUIRED)
Apply Classification Framework:
Classification Levels:
| Level |
Confidentiality |
Integrity |
Availability |
Security Investment |
| Critical |
State secrets |
Financial |
<1 hour RTO |
Maximum controls |
| High |
Proprietary |
Legal |
4 hour RTO |
Strong controls |
| Medium |
Internal |
Operational |
24 hour RTO |
Standard controls |
| Low |
Public |
Informational |
72 hour RTO |
Baseline controls |
🏗️ Security Architecture Design (REQUIRED)
Maintain comprehensive architecture documentation:
🎯 Threat Modeling (MANDATORY)
Per Threat Modeling Policy:
💻 Phase 2: Development
🛡️ Secure Coding Guidelines
OWASP Top 10 (2021) Alignment:
- A01 - Broken Access Control: Proper authentication/authorization
- A02 - Cryptographic Failures: TLS 1.3, AES-256 encryption
- A03 - Injection: Parameterized queries, input validation
- A04 - Insecure Design: Apply threat modeling, secure patterns
- A05 - Security Misconfiguration: Secure defaults, hardened configs
- A06 - Vulnerable Components: SCA scanning, SBOM generation
- A07 - Authentication Failures: MFA, secure session management
- A08 - Software/Data Integrity: Code signing, integrity checks
- A09 - Logging Failures: Comprehensive security event logging
- A10 - SSRF: Validate external resource requests
🔍 Code Review Requirements
Classification-Based Review:
| Classification |
Review Type |
Required Approvals |
Security Focus |
| Critical |
Formal security review |
2+ reviewers + security architect |
All OWASP Top 10 |
| High |
Security-focused PR review |
2+ reviewers |
Critical vulnerabilities |
| Medium |
Standard PR review |
1+ reviewer |
Input validation, auth |
| Low |
Standard PR review |
1 reviewer |
Basic security checks |
🔐 Secret Management (MANDATORY)
🧪 Phase 3: Security Testing
🔬 Static Application Security Testing (SAST)
Implementation:
- Tool: SonarCloud integration on every commit
- Quality Gates: Classification-based failure thresholds
- Coverage: All code analyzed for security vulnerabilities
- Reporting: Public quality/security dashboards
Classification-Based Quality Gates:
| Classification |
Security Hotspots |
Code Coverage |
Duplications |
Maintainability |
| Critical |
0 (block) |
≥90% |
<3% |
A rating |
| High |
≤2 (review) |
≥80% |
<5% |
A or B rating |
| Medium |
≤5 (track) |
≥70% |
<10% |
B or C rating |
| Low |
≤10 (monitor) |
≥60% |
<15% |
C rating |
📦 Software Composition Analysis (SCA)
Dependency Security:
Remediation SLAs:
| Severity |
Critical Project |
High Project |
Medium Project |
Low Project |
| Critical |
24 hours |
72 hours |
1 week |
2 weeks |
| High |
1 week |
2 weeks |
1 month |
2 months |
| Medium |
1 month |
2 months |
3 months |
6 months |
| Low |
Next release |
Next release |
Next release |
Next release |
⚡ Dynamic Application Security Testing (DAST)
Runtime Security Testing:
- Tool: OWASP ZAP, Burp Suite, or equivalent
- Scope: Staging environments (classification-appropriate)
- Frequency: Per sprint (Critical/High), quarterly (Medium/Low)
- Coverage: All authentication, authorization, input handling paths
🔍 Secret Scanning (CONTINUOUS)
📋 Test Data Protection (MANDATORY)
🎯 Unit Test Coverage & Quality
📊 Testing Standards
Minimum Thresholds:
- Line Coverage: ≥80% (Critical/High), ≥70% (Medium/Low)
- Branch Coverage: ≥70% (Critical/High), ≥60% (Medium/Low)
- Mutation Testing: ≥60% mutation score (Critical only)
- Test Execution: Every commit and PR
- Trend Analysis: Historical tracking, regression prevention
📚 Required Documentation
Every repository MUST have:
📊 Reference Implementation Examples
🏛️ Citizen Intelligence Agency (Java/Spring):
🎮 Black Trigram (TypeScript/Phaser):
📊 CIA Compliance Manager (TypeScript/Vite):
🌐 End-to-End Testing Strategy
🎯 E2E Testing Requirements
Coverage Areas:
📚 Required Documentation
Every repository MUST have:
📊 Reference Implementation Examples
🏛️ Citizen Intelligence Agency:
🎮 Black Trigram:
📊 CIA Compliance Manager:
🤖 AI-Augmented Development Controls
🔐 AI as Proposal Generator, Not Authority
Core Principles:
📋 PR Review Requirements
Mandatory Controls:
🔧 Curator-Agent Configuration Management
Change Control:
- Scope:
.github/agents/*.md, .github/copilot-mcp*.json, .github/workflows/copilot-setup-steps.yml
- Classification: Normal Change per Change Management
- Approval: CEO or designated security owner required
- Risk Assessment: Documented evaluation for capability expansion
🛡️ Security Requirements
Tool Governance:
🚀 Phase 4: Deployment
🤖 Automated CI/CD Pipelines
Security Gates:
✅ Manual Approval Gates
Classification-Based Approvals:
| Classification |
Approval Required |
Approvers |
Change Window |
| Critical |
Production deploy |
CEO + Security Architect |
Scheduled only |
| High |
Production deploy |
Tech Lead + Reviewer |
Standard window |
| Medium |
Production deploy |
Automated + monitoring |
Anytime |
| Low |
Production deploy |
Automated |
Anytime |
📋 Deployment Checklists
Pre-Deployment Verification:
📊 Security Metrics
Real-Time Monitoring:
🔧 Phase 5: Maintenance & Operations
🆘 Vulnerability Management
Classification-Based Remediation:
Per Vulnerability Management:
| Severity |
Critical Project |
High Project |
Medium Project |
Low Project |
| Critical |
24 hours |
72 hours |
1 week |
2 weeks |
| High |
1 week |
2 weeks |
1 month |
2 months |
| Medium |
1 month |
2 months |
3 months |
6 months |
| Low |
Next release |
Next release |
Next release |
Next release |
📈 Performance Monitoring
Security Metrics Integration:
Per Security Metrics:
🔄 Regular Updates
Patch Management:
📋 Incident Response
Integration:
Per Incident Response Plan:
📊 SDLC Security Maturity Levels
Level 1: Basic (Minimum Viable Security)
- ✅ Basic security controls implemented
- ✅ Dependabot enabled
- ✅ Secret scanning active
- ✅ Basic threat model documented
Level 2: Intermediate (Standard Security)
- ✅ Level 1 + Classification implemented
- ✅ SAST/SCA integrated in CI/CD
- ✅ Unit test coverage ≥70%
- ✅ SECURITY_ARCHITECTURE.md maintained
- ✅ Regular vulnerability scanning
Level 3: Advanced (Enhanced Security)
- ✅ Level 2 + DAST implementation
- ✅ Comprehensive threat modeling (STRIDE + MITRE ATT&CK)
- ✅ Unit test coverage ≥80%
- ✅ E2E testing framework
- ✅ Public security dashboards
Level 4: Mature (Security Excellence)
- ✅ Level 3 + AI-augmented development controls
- ✅ Mutation testing (≥60% score)
- ✅ Full C4 architecture documentation
- ✅ Continuous security monitoring
- ✅ Evidence-based compliance (badges, reports)
- ✅ External security validation (pentesting, audits)
✅ SDLC Security Checklist
Planning & Design Phase
Development Phase
Testing Phase
Deployment Phase
Maintenance Phase
📚 References
Hack23 ISMS Core Policies
Example Implementations
External Frameworks
🎯 Remember
- Classification Drives Security: All requirements aligned with business impact
- Transparency is Competitive Advantage: Public security demonstrates expertise
- AI Augments, Humans Decide: AI proposals require human approval
- Evidence-Based Security: Badges, dashboards, reports validate claims
- Continuous Improvement: Measure, analyze, improve security posture
- Documentation is Mandatory: SECURITY_ARCHITECTURE.md, THREAT_MODEL.md required
- Testing is Not Optional: Unit + E2E coverage proves quality
- Security is Everyone's Responsibility: DevSecOps culture required
Last Updated: 2026-02-10 (Continuous)
Version: Based on Hack23 Secure Development Policy v2.1 & STYLE_GUIDE v2.3
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: secure-development-lifecycle3description: Comprehensive SDLC security covering planning, development, testing, deployment, and maintenance with classification-driven controls and AI governance Use when this capability is needed.4---56# 🛡️ Secure Development Lifecycle (SDLC) Skill78## 🎯 Purpose910Comprehensive security practices for the entire Software Development Lifecycle (SDLC), ensuring security is built in from inception through maintenance. Integrates classification-driven requirements, AI-augmented development controls, and systematic testing frameworks aligned with Hack23 Secure Development Policy.1112## 🔐 Core Security Principles1314### 🔐 Security by Design15- **🏷️ Project Classification**: CIA triad, RTO/RPO, business impact analysis16- **🛡️ Secure Coding Standards**: OWASP Top 10 alignment with classification controls17- **🏗️ Architecture Documentation**: SECURITY_ARCHITECTURE.md + FUTURE_SECURITY_ARCHITECTURE.md1819### 🌟 Transparency Through Documentation20- **📋 Living Security Architecture**: Real-time documentation with classification controls21- **🎖️ Public Security Badges**: OpenSSF Scorecard, SLSA, Quality Gate validation22- **🔓 Open Development**: Demonstrating expertise while maintaining classification2324### 🔄 Continuous Security Improvement25- **🏷️ Classification-Driven Testing**: SAST/SCA/DAST per classification levels26- **📈 Performance Monitoring**: Security metrics with availability SLAs27- **🔍 Regular Reviews**: Classification-based risk management and ROI2829## 🔄 5-Phase SDLC Security Framework3031### 📋 Phase 1: Planning & Design3233#### 🏷️ Project Classification (REQUIRED)34Apply [Classification Framework](https://github.com/Hack23/ISMS-PUBLIC/blob/main/CLASSIFICATION.md):35- [ ] CIA Triad Analysis (Confidentiality, Integrity, Availability)36- [ ] Business Impact Classification (Revenue, Trust, Compliance)37- [ ] RTO/RPO Definition (Recovery Time/Point Objectives)38- [ ] Risk Assessment Integration with [Risk Register](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Risk_Register.md)39- [ ] Cost-Benefit Analysis (Security ROI)4041**Classification Levels:**4243| Level | Confidentiality | Integrity | Availability | Security Investment |44|-------|----------------|-----------|--------------|-------------------|45| **Critical** | State secrets | Financial | <1 hour RTO | Maximum controls |46| **High** | Proprietary | Legal | 4 hour RTO | Strong controls |47| **Medium** | Internal | Operational | 24 hour RTO | Standard controls |48| **Low** | Public | Informational | 72 hour RTO | Baseline controls |4950#### 🏗️ Security Architecture Design (REQUIRED)51Maintain comprehensive architecture documentation:52- [ ] **SECURITY_ARCHITECTURE.md**: Current implemented security design53- [ ] **FUTURE_SECURITY_ARCHITECTURE.md**: Planned security improvements54- [ ] **ARCHITECTURE.md**: Complete C4 models (Context, Container, Component, Code)55- [ ] **DATA_MODEL.md**: Data structures and classifications56- [ ] **FLOWCHART.md**: Business process flows with security controls5758#### 🎯 Threat Modeling (MANDATORY)59Per [Threat Modeling Policy](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Threat_Modeling.md):60- [ ] **STRIDE Framework**: Spoofing, Tampering, Repudiation, Information Disclosure, DoS, Elevation of Privilege61- [ ] **MITRE ATT&CK Integration**: 14 tactics mapped with techniques62- [ ] **Attack Tree Analysis**: Graphical attack path decomposition63- [ ] **Threat Agent Classification**: 7 categories (Accidental Insiders → Nation-State APTs)64- [ ] **THREAT_MODEL.md**: Comprehensive 9-section threat documentation6566### 💻 Phase 2: Development6768#### 🛡️ Secure Coding Guidelines69**OWASP Top 10 (2021) Alignment:**701. **A01 - Broken Access Control**: Proper authentication/authorization712. **A02 - Cryptographic Failures**: TLS 1.3, AES-256 encryption723. **A03 - Injection**: Parameterized queries, input validation734. **A04 - Insecure Design**: Apply threat modeling, secure patterns745. **A05 - Security Misconfiguration**: Secure defaults, hardened configs756. **A06 - Vulnerable Components**: SCA scanning, SBOM generation767. **A07 - Authentication Failures**: MFA, secure session management778. **A08 - Software/Data Integrity**: Code signing, integrity checks789. **A09 - Logging Failures**: Comprehensive security event logging7910. **A10 - SSRF**: Validate external resource requests8081#### 🔍 Code Review Requirements82**Classification-Based Review:**8384| Classification | Review Type | Required Approvals | Security Focus |85|----------------|-------------|-------------------|----------------|86| **Critical** | Formal security review | 2+ reviewers + security architect | All OWASP Top 10 |87| **High** | Security-focused PR review | 2+ reviewers | Critical vulnerabilities |88| **Medium** | Standard PR review | 1+ reviewer | Input validation, auth |89| **Low** | Standard PR review | 1 reviewer | Basic security checks |9091#### 🔐 Secret Management (MANDATORY)92- [ ] **Zero Hard-Coded Credentials**: No secrets in source code93- [ ] **GitHub Secrets**: All credentials in encrypted secrets94- [ ] **Rotation Policy**: Critical: 90 days, High: 180 days, Medium/Low: 365 days95- [ ] **Access Logging**: All secret access logged and monitored96- [ ] **Least Privilege**: Secrets scoped to minimum required access9798### 🧪 Phase 3: Security Testing99100#### 🔬 Static Application Security Testing (SAST)101**Implementation:**102- **Tool**: SonarCloud integration on every commit103- **Quality Gates**: Classification-based failure thresholds104- **Coverage**: All code analyzed for security vulnerabilities105- **Reporting**: Public quality/security dashboards106107**Classification-Based Quality Gates:**108109| Classification | Security Hotspots | Code Coverage | Duplications | Maintainability |110|----------------|------------------|---------------|--------------|-----------------|111| **Critical** | 0 (block) | ≥90% | <3% | A rating |112| **High** | ≤2 (review) | ≥80% | <5% | A or B rating |113| **Medium** | ≤5 (track) | ≥70% | <10% | B or C rating |114| **Low** | ≤10 (monitor) | ≥60% | <15% | C rating |115116#### 📦 Software Composition Analysis (SCA)117**Dependency Security:**118- [ ] **Automated Scanning**: Dependabot, Snyk, or equivalent119- [ ] **SBOM Generation**: Software Bill of Materials for all releases120- [ ] **Vulnerability Database**: CVE, NVD, GitHub Advisory integration121- [ ] **Update Policy**: Classification-based patching SLAs122- [ ] **License Compliance**: OSS license validation123124**Remediation SLAs:**125126| Severity | Critical Project | High Project | Medium Project | Low Project |127|----------|-----------------|-------------|----------------|-------------|128| **Critical** | 24 hours | 72 hours | 1 week | 2 weeks |129| **High** | 1 week | 2 weeks | 1 month | 2 months |130| **Medium** | 1 month | 2 months | 3 months | 6 months |131| **Low** | Next release | Next release | Next release | Next release |132133#### ⚡ Dynamic Application Security Testing (DAST)134**Runtime Security Testing:**135- **Tool**: OWASP ZAP, Burp Suite, or equivalent136- **Scope**: Staging environments (classification-appropriate)137- **Frequency**: Per sprint (Critical/High), quarterly (Medium/Low)138- **Coverage**: All authentication, authorization, input handling paths139140#### 🔍 Secret Scanning (CONTINUOUS)141- [ ] **GitHub Secret Scanning**: Enabled on all repositories142- [ ] **Pre-commit Hooks**: Detect secrets before commit143- [ ] **Historical Scanning**: Scan entire git history144- [ ] **Alert Integration**: Immediate notifications to security team145- [ ] **Remediation SLA**: Critical secrets rotated within 1 hour146147#### 📋 Test Data Protection (MANDATORY)148- [ ] **Zero Production Data**: Never use real data in dev/test149- [ ] **Data Anonymization**: Pseudonymize test data150- [ ] **Secure Deletion**: Wipe test data after use151- [ ] **Access Control**: Least privilege for test environments152153### 🎯 Unit Test Coverage & Quality154155#### 📊 Testing Standards156**Minimum Thresholds:**157- **Line Coverage**: ≥80% (Critical/High), ≥70% (Medium/Low)158- **Branch Coverage**: ≥70% (Critical/High), ≥60% (Medium/Low)159- **Mutation Testing**: ≥60% mutation score (Critical only)160- **Test Execution**: Every commit and PR161- **Trend Analysis**: Historical tracking, regression prevention162163#### 📚 Required Documentation164**Every repository MUST have:**165- [ ] **UnitTestPlan.md**: Comprehensive unit test strategy166- [ ] **Test Results**: Public HTML reports (GitHub Pages)167- [ ] **Coverage Dashboards**: Accessible coverage metrics168- [ ] **Quality Badges**: Status badges in README.md169170#### 📊 Reference Implementation Examples171172**🏛️ Citizen Intelligence Agency (Java/Spring):**173[](https://hack23.github.io/cia/jacoco/)174[](https://hack23.github.io/cia/surefire.html)175[](https://github.com/Hack23/cia/blob/master/UnitTestPlan.md)176177**🎮 Black Trigram (TypeScript/Phaser):**178[](https://blacktrigram.com/coverage/)179[](https://blacktrigram.com/test-results/)180[](https://github.com/Hack23/blacktrigram/blob/main/UnitTestPlan.md)181182**📊 CIA Compliance Manager (TypeScript/Vite):**183[](https://ciacompliancemanager.com/coverage/)184[](https://ciacompliancemanager.com/test-results/)185[](https://github.com/Hack23/cia-compliance-manager/blob/main/docs/UnitTestPlan.md)186187### 🌐 End-to-End Testing Strategy188189#### 🎯 E2E Testing Requirements190**Coverage Areas:**191- [ ] **Critical User Journeys**: All primary workflows tested192- [ ] **Authentication Flows**: Login, logout, session management193- [ ] **Authorization Checks**: Role-based access validation194- [ ] **Data Integrity**: CRUD operations validation195- [ ] **Performance**: Response time within SLA thresholds196197#### 📚 Required Documentation198**Every repository MUST have:**199- [ ] **E2ETestPlan.md**: Comprehensive E2E test strategy200- [ ] **Mochawesome Reports**: Public HTML test results201- [ ] **Browser Matrix**: Cross-browser validation (Chrome, Firefox, Safari, Edge)202- [ ] **Performance Assertions**: Response time validation203204#### 📊 Reference Implementation Examples205206**🏛️ Citizen Intelligence Agency:**207[](https://hack23.github.io/cia/jacoco/)208[](https://github.com/Hack23/cia/blob/master/E2ETestPlan.md)209210**🎮 Black Trigram:**211[](https://blacktrigram.com/cypress/mochawesome/)212[](https://github.com/Hack23/blacktrigram/blob/main/E2ETestPlan.md)213214**📊 CIA Compliance Manager:**215[](https://ciacompliancemanager.com/cypress/mochawesome/)216[](https://github.com/Hack23/cia-compliance-manager/blob/main/docs/E2ETestPlan.md)217218### 🤖 AI-Augmented Development Controls219220#### 🔐 AI as Proposal Generator, Not Authority221**Core Principles:**222- [ ] **All AI outputs are proposals**: Require human review and approval223- [ ] **No autonomous deployment**: AI cannot bypass CI/CD pipelines or security gates224- [ ] **Human accountability**: Responsibility remains with human developers225- [ ] **Transparent attribution**: Document AI assistance in PR descriptions226227#### 📋 PR Review Requirements228**Mandatory Controls:**229- [ ] **Human Review**: All AI-assisted changes pass through standard PR workflows230- [ ] **Security Gate Enforcement**: CI pipelines unchanged or only tightened231- [ ] **Change Attribution**: PR descriptions MUST document AI tools used232- [ ] **Code Ownership**: Human developers remain code owners233234#### 🔧 Curator-Agent Configuration Management235**Change Control:**236- **Scope**: `.github/agents/*.md`, `.github/copilot-mcp*.json`, `.github/workflows/copilot-setup-steps.yml`237- **Classification**: Normal Change per [Change Management](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Change_Management.md)238- **Approval**: CEO or designated security owner required239- **Risk Assessment**: Documented evaluation for capability expansion240241#### 🛡️ Security Requirements242**Tool Governance:**243- [ ] **Least Privilege**: Agents operate with minimal required tool access244- [ ] **MCP Configuration Control**: Model Context Protocol changes require security review245- [ ] **Audit Trail**: All agent activities logged for compliance analysis246- [ ] **Capability Expansion**: New integrations require documented risk assessment247248### 🚀 Phase 4: Deployment249250#### 🤖 Automated CI/CD Pipelines251**Security Gates:**252- [ ] **SAST Scanning**: Code quality gates (classification-based thresholds)253- [ ] **SCA Scanning**: Dependency vulnerability checks with auto-block254- [ ] **Secret Scanning**: Zero tolerance for exposed credentials255- [ ] **Container Scanning**: Image vulnerability assessment (if applicable)256- [ ] **Infrastructure as Code**: Terraform/CloudFormation security validation257258#### ✅ Manual Approval Gates259**Classification-Based Approvals:**260261| Classification | Approval Required | Approvers | Change Window |262|----------------|------------------|-----------|---------------|263| **Critical** | Production deploy | CEO + Security Architect | Scheduled only |264| **High** | Production deploy | Tech Lead + Reviewer | Standard window |265| **Medium** | Production deploy | Automated + monitoring | Anytime |266| **Low** | Production deploy | Automated | Anytime |267268#### 📋 Deployment Checklists269**Pre-Deployment Verification:**270- [ ] All security tests passing271- [ ] Classification-appropriate controls validated272- [ ] Rollback plan documented273- [ ] Monitoring alerts configured274- [ ] Incident response procedures ready275276#### 📊 Security Metrics277**Real-Time Monitoring:**278- [ ] **OpenSSF Scorecard**: Public security posture metrics279- [ ] **SLSA Level**: Supply chain security attestation280- [ ] **Quality Gates**: SonarCloud quality/security dashboards281- [ ] **Uptime Metrics**: Availability aligned with classification SLAs282283### 🔧 Phase 5: Maintenance & Operations284285#### 🆘 Vulnerability Management286**Classification-Based Remediation:**287Per [Vulnerability Management](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Vulnerability_Management.md):288289| Severity | Critical Project | High Project | Medium Project | Low Project |290|----------|-----------------|-------------|----------------|-------------|291| **Critical** | 24 hours | 72 hours | 1 week | 2 weeks |292| **High** | 1 week | 2 weeks | 1 month | 2 months |293| **Medium** | 1 month | 2 months | 3 months | 6 months |294| **Low** | Next release | Next release | Next release | Next release |295296#### 📈 Performance Monitoring297**Security Metrics Integration:**298Per [Security Metrics](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Security_Metrics.md):299- [ ] **Availability Tracking**: Uptime per classification requirements300- [ ] **Response Time**: Performance within SLA thresholds301- [ ] **Error Rates**: Security-relevant errors logged and analyzed302- [ ] **Incident Metrics**: MTTR, MTTD aligned with classification303304#### 🔄 Regular Updates305**Patch Management:**306- [ ] **Security Patches**: Classification-based deployment schedules307- [ ] **Dependency Updates**: Automated PRs with security review308- [ ] **Framework Updates**: Major version upgrades with testing309- [ ] **Business Continuity**: Updates aligned with [BCP](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Business_Continuity_Plan.md)310311#### 📋 Incident Response312**Integration:**313Per [Incident Response Plan](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Incident_Response_Plan.md):314- [ ] **Classification-Driven Escalation**: Incident severity based on project classification315- [ ] **Communication Procedures**: Stakeholder notifications per classification316- [ ] **Recovery Objectives**: RTO/RPO aligned with classification317- [ ] **Post-Incident Review**: Lessons learned and improvement actions318319## 📊 SDLC Security Maturity Levels320321### Level 1: Basic (Minimum Viable Security)322- ✅ Basic security controls implemented323- ✅ Dependabot enabled324- ✅ Secret scanning active325- ✅ Basic threat model documented326327### Level 2: Intermediate (Standard Security)328- ✅ Level 1 + Classification implemented329- ✅ SAST/SCA integrated in CI/CD330- ✅ Unit test coverage ≥70%331- ✅ SECURITY_ARCHITECTURE.md maintained332- ✅ Regular vulnerability scanning333334### Level 3: Advanced (Enhanced Security)335- ✅ Level 2 + DAST implementation336- ✅ Comprehensive threat modeling (STRIDE + MITRE ATT&CK)337- ✅ Unit test coverage ≥80%338- ✅ E2E testing framework339- ✅ Public security dashboards340341### Level 4: Mature (Security Excellence)342- ✅ Level 3 + AI-augmented development controls343- ✅ Mutation testing (≥60% score)344- ✅ Full C4 architecture documentation345- ✅ Continuous security monitoring346- ✅ Evidence-based compliance (badges, reports)347- ✅ External security validation (pentesting, audits)348349## ✅ SDLC Security Checklist350351### Planning & Design Phase352- [ ] Project classification completed (CIA triad, RTO/RPO, business impact)353- [ ] Threat model documented (STRIDE + MITRE ATT&CK)354- [ ] Security architecture designed (C4 models, data flows)355- [ ] Risk assessment integrated with Risk Register356- [ ] Cost-benefit analysis for security investments357358### Development Phase359- [ ] Secure coding standards applied (OWASP Top 10)360- [ ] Code review requirements met (classification-based)361- [ ] Asset classification implemented362- [ ] Secret management controls enforced363- [ ] AI-augmented development controls active364365### Testing Phase366- [ ] SAST scanning integrated (SonarCloud)367- [ ] SCA scanning enabled (Dependabot)368- [ ] DAST testing implemented (OWASP ZAP)369- [ ] Secret scanning active (GitHub)370- [ ] Unit test coverage thresholds met (≥80% line, ≥70% branch)371- [ ] E2E testing framework operational372- [ ] Test data protection controls enforced373374### Deployment Phase375- [ ] CI/CD security gates configured376- [ ] Manual approval gates per classification377- [ ] Deployment checklists completed378- [ ] Security metrics monitoring active379- [ ] Rollback procedures documented380381### Maintenance Phase382- [ ] Vulnerability management process active383- [ ] Performance monitoring with security metrics384- [ ] Regular update schedule defined385- [ ] Incident response procedures integrated386- [ ] Continuous improvement process operational387388## 📚 References389390### Hack23 ISMS Core Policies391- [🛠️ Secure Development Policy](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Secure_Development_Policy.md) - Comprehensive SDLC framework392- [🏷️ Classification Framework](https://github.com/Hack23/ISMS-PUBLIC/blob/main/CLASSIFICATION.md) - Business impact analysis393- [🎯 Threat Modeling Policy](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Threat_Modeling.md) - Systematic threat analysis394- [📉 Risk Register](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Risk_Register.md) - Enterprise risk management395- [🔍 Vulnerability Management](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Vulnerability_Management.md) - Remediation procedures396- [📊 Security Metrics](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Security_Metrics.md) - KPI tracking397- [🚨 Incident Response Plan](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Incident_Response_Plan.md) - Security incident procedures398- [🔄 Business Continuity Plan](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Business_Continuity_Plan.md) - BCP/DR processes399- [📝 Change Management](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Change_Management.md) - Change control procedures400- [🏷️ Data Classification Policy](https://github.com/Hack23/ISMS-PUBLIC/blob/main/Data_Classification_Policy.md) - Data handling requirements401402### Example Implementations403- [🏛️ CIA Security Architecture](https://github.com/Hack23/cia/blob/master/SECURITY_ARCHITECTURE.md) - Full authentication stack (Java/Spring)404- [🏛️ CIA Threat Model](https://github.com/Hack23/cia/blob/master/THREAT_MODEL.md) - Comprehensive threat analysis405- [📊 CIA Compliance Manager Security](https://github.com/Hack23/cia-compliance-manager/blob/main/docs/architecture/SECURITY_ARCHITECTURE.md) - Frontend security (TypeScript/Vite)406- [🎮 Black Trigram Security](https://github.com/Hack23/blacktrigram/blob/main/SECURITY_ARCHITECTURE.md) - Gaming security (TypeScript/Phaser)407- [🗳️ Riksdagsmonitor Security](https://github.com/Hack23/riksdagsmonitor/blob/main/SECURITY_ARCHITECTURE.md) - Static site security (HTML/CSS)408409### External Frameworks410- [OWASP Top 10](https://owasp.org/www-project-top-ten/) - Critical web application security risks411- [OWASP ASVS](https://owasp.org/www-project-application-security-verification-standard/) - Application security verification412- [NIST SP 800-218](https://csrc.nist.gov/publications/detail/sp/800-218/final) - Secure Software Development Framework413- [Microsoft SDL](https://www.microsoft.com/en-us/securityengineering/sdl) - Security Development Lifecycle414- [MITRE ATT&CK](https://attack.mitre.org/) - Adversary tactics and techniques415416## 🎯 Remember417418- **Classification Drives Security**: All requirements aligned with business impact419- **Transparency is Competitive Advantage**: Public security demonstrates expertise420- **AI Augments, Humans Decide**: AI proposals require human approval421- **Evidence-Based Security**: Badges, dashboards, reports validate claims422- **Continuous Improvement**: Measure, analyze, improve security posture423- **Documentation is Mandatory**: SECURITY_ARCHITECTURE.md, THREAT_MODEL.md required424- **Testing is Not Optional**: Unit + E2E coverage proves quality425- **Security is Everyone's Responsibility**: DevSecOps culture required426427---428429**Last Updated**: 2026-02-10 (Continuous) 430**Version**: Based on Hack23 Secure Development Policy v2.1 & STYLE_GUIDE v2.3431432---433> Converted and distributed by [TomeVault](https://tomevault.io/claim/hack23) — claim your Tome and manage your conversions.434<!-- tomevault:4.0:skill_md:2026-04-13 -->