/compliance-frameworks:owasp-sammfrom compliance-frameworks
Guides OWASP SAMM v2 assessments: score current security maturity, identify gaps, and build 6-12 month improvement roadmaps across 15 security practices.
Ships in compliance-frameworks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill guides you through OWASP SAMM v2 assessments: scoring your current security maturity, identifying quick wins and structural gaps, building 6-month and 12-month improvement roadmaps, and integrating security practices into Agile/DevSecOps workflows. It covers all 15 security practices across the 5 business functions.
OWASP SAMM v2 organizes software security into a three-tier hierarchy:
5 Business Functions
└── 3 Security Practices per function = 15 Practices total
└── 2 Streams per practice = 30 Streams total
└── 3 Maturity Levels per stream (0 = not started, 1 = foundational, 2 = structured, 3 = optimized)
Overall score: Average maturity across all 15 practices, ranging 0.0–3.0.
Typical scores:
Establish security objectives, strategy, and metrics to track program effectiveness.
Level 1 (Foundational): Identify security champion or owner. Understand which regulations apply. Track a few basic metrics (e.g., number of vulnerabilities found in pen tests).
Level 2 (Structured): Documented security strategy aligned to business risk. KPIs for security program (MTTR for vulns, % of apps with pen test, training completion). Security objectives communicated across teams.
Level 3 (Optimized): Security metrics tied to business outcomes. Continuous improvement cycle driven by data. Security strategy reviewed and updated annually with executive sponsorship.
Develop and enforce security policies. Track compliance with internal and external requirements.
Level 1: Basic security policies documented (acceptable use, password policy). Awareness of applicable compliance frameworks (SOC 2, PCI, HIPAA, etc.).
Level 2: Comprehensive policy set published, version-controlled, and reviewed annually. Compliance tracking dashboard. Policy exceptions process with approval and risk acceptance.
Level 3: Automated compliance monitoring. Policies continuously updated to address new threats and regulations. Audit trail of policy adherence.
Provide security training and guidance to developers, architects, and operations.
Level 1: Annual security awareness training for all staff. Basic secure coding guidelines available.
Level 2: Role-based security training (developers get OWASP Top 10 training; architects get threat modeling training; ops gets configuration security training). Security champion program established in development teams.
Level 3: Hands-on, application-specific training (e.g., secure coding workshops for your tech stack). Continuous learning through lunch & learns, capture-the-flag, brown bags. Security champions are empowered and recognized.
Identify threats to applications and systems as part of the design process.
Level 1: Ad hoc threat identification for high-risk features. At least a basic question list: "What could go wrong? Who might attack this? What data is sensitive?"
Level 2: Structured threat modeling process (STRIDE, PASTA, or attack tree) for all new features and significant changes. Threats documented and linked to security requirements. Threat models reviewed by security team.
Level 3: Threat modeling is fully integrated into design sprints. Automated tooling assists (e.g., OWASP Threat Dragon, Microsoft TMT). Historical threat data feeds future models. Risk-ranked threat catalog maintained.
Define and track security requirements as a first-class concern in feature development.
Level 1: Security requirements exist for the most critical features (authentication, authorization, encryption). Checked manually during code review.
Level 2: Security requirements library aligned to OWASP ASVS or internal standards. Requirements attached to user stories in sprint backlog. Definition of Done includes security requirement sign-off.
Level 3: Automated requirements traceability. Security requirements derived from threat models and compliance obligations. Metrics on requirement coverage and fulfillment.
Design systems with security as a structural concern, not an add-on.
Level 1: Security architecture principles documented (e.g., least privilege, defense in depth, input validation, fail securely). Applied informally.
Level 2: Reference architectures for common patterns (authentication, API security, data storage, microservices). Architecture review for new systems and significant changes. Security architects involved in design decisions.
Level 3: Security architecture governance process. Architecture decisions recorded (ADRs). Reusable security components and libraries provided to developers. Continuous architecture review as systems evolve.
Integrate security into the build and CI/CD pipeline.
Level 1: Basic dependency management (know what third-party libraries you use). Some developers use linters. Source control in use for all code.
Level 2: Static Application Security Testing (SAST) integrated into CI pipeline. Software Composition Analysis (SCA) for third-party dependency vulnerabilities. Build fails (or alerts) on high-severity findings. Secrets scanning active (no hardcoded credentials).
Level 3: SAST, SCA, secrets scanning, and IaC security scanning all integrated and blocking on critical/high. Developers receive actionable security findings at commit time. Security findings tracked and measured over time. Build pipeline itself is secured and audited.
Key tools:
Harden deployment processes and infrastructure configurations.
Level 1: Environment separation (dev/staging/prod). No production secrets in source code. Basic change management for production deployments.
Level 2: Infrastructure as Code (IaC) with security configuration checks. Container image scanning before deployment. Deployment approvals required for production. Environment configurations audited against CIS Benchmarks.
Level 3: Immutable infrastructure. All deployments via automated, audited pipeline. Runtime security monitoring (CWPP, Falco). Zero-trust network architecture. Automated drift detection and remediation.
Track, prioritize, and remediate security defects systematically.
Level 1: Security bugs tracked in the same system as functional bugs. Critical security vulnerabilities are prioritized above feature work.
Level 2: Security defect SLAs defined by severity (Critical: 24h; High: 7 days; Medium: 30 days; Low: 90 days). Security backlog visible to engineering leadership. Trend metrics tracked (are we finding and fixing more over time?).
Level 3: Automated vulnerability management workflow (scanner finds → ticket created → assigned → tracked to closure). Root cause analysis for recurring vulnerability classes. Vulnerability density metrics by team and application.
Verify that application architecture meets security requirements and threat model findings.
Level 1: Informal security review of major new systems or significant architecture changes. Checklist-based: authentication handled correctly? Authorization enforced? Sensitive data encrypted?
Level 2: Formal architecture review process with documented findings and sign-off. Security architect involvement in design reviews. Architecture review aligned to threat model.
Level 3: Continuous architecture review integrated with change management. Automated architecture compliance checking (e.g., policy-as-code for cloud infrastructure). Findings fed back into design standards.
Test security requirements, not just functionality.
Level 1: Pen tester or security team reviews the application for OWASP Top 10 vulnerabilities. Security test cases exist for authentication and authorization.
Level 2: Security test cases written from security requirements and threat model. Security testing integrated into QA process. DAST (Dynamic Application Security Testing) running against staging environments.
Level 3: Comprehensive security test suite covering OWASP ASVS verification requirements. Security regression tests prevent re-introduction of fixed vulnerabilities. Fuzz testing for critical input handlers.
Key tools:
Conduct dedicated security testing beyond functional testing.
Level 1: Annual penetration test by internal team or third party. OWASP Top 10 coverage. Critical findings remediated before next release.
Level 2: Annual external penetration test + ongoing internal testing. Bug bounty or vulnerability disclosure program considered. Pre-release security reviews for major features. DAST running continuously against staging.
Level 3: Continuous automated security testing in CI/CD (SAST + DAST + SCA). Regular penetration tests with retesting of remediated findings. Bug bounty program active. Red team exercises for critical systems. Security chaos engineering.
Detect, respond to, and learn from security incidents in production.
Level 1: Incident response plan exists. Security events logged. Basic alerting for obvious attacks (failed logins, malware alerts). On-call process includes security escalation path.
Level 2: SIEM with tuned detection rules. IR runbooks for common incident types. Post-incident reviews conducted. Incident metrics tracked (MTTD, MTTR). Security team notified within defined SLA.
Level 3: Advanced threat detection (UEBA, behavioral analytics). Purple team exercises to validate detection capability. Automated response playbooks (SOAR). Threat intelligence integration. Regular IR drills and red team exercises.
Maintain secure configurations across all environments throughout the software lifecycle.
Level 1: Hardened base images for servers and containers. Basic configuration management (manual or scripted). Known default credentials changed.
Level 2: CIS Benchmark compliance for all infrastructure. Configuration drift detection (Chef InSpec, AWS Config, Azure Policy). Automated patching or patch tracking with SLAs. Vulnerability scanning of production infrastructure.
Level 3: Policy-as-code enforcement across all environments. Immutable infrastructure eliminates configuration drift. Continuous compliance monitoring with automated remediation. Cloud security posture management (CSPM) tools deployed.
Integrate security into operational processes: change management, access management, data management.
Level 1: Access reviews conducted periodically. Sensitive data locations identified. Basic data retention policy.
Level 2: Privileged access management (PAM). Data classification applied to production data. Operational runbooks include security considerations. Vendor access reviewed and limited.
Level 3: Just-in-time privileged access. Automated data discovery and classification. Security integrated into all operational runbooks. Supply chain security practices (software bill of materials, SBOM). Operational security KPIs measured and reported.
Step 1: Scope definition
Step 2: Evidence gathering For each of the 15 practices, collect evidence:
Step 3: Score each practice (0–3) For each practice and stream, determine the level achieved:
A level is only achieved if ALL activities at that level are consistently performed. Partial credit is not typical in strict SAMM assessments, though some organizations use fractional scores.
Step 4: Produce the scorecard Create a radar chart or heatmap showing scores by business function and practice. This becomes the baseline for improvement planning.
Step 5: Gap analysis and roadmap
| Function | Practice | Stream A Focus | Stream B Focus |
|---|---|---|---|
| Governance | Strategy & Metrics | Security strategy | Metrics & reporting |
| Governance | Policy & Compliance | Policy framework | Compliance management |
| Governance | Education & Guidance | Training programs | Security champions |
| Design | Threat Assessment | Threat modeling | Attack surface analysis |
| Design | Security Requirements | Requirements definition | Supplier security |
| Design | Security Architecture | Architecture design | Technology management |
| Implementation | Secure Build | Build process security | Software dependency mgmt |
| Implementation | Secure Deployment | Deployment hardening | Secret management |
| Implementation | Defect Management | Defect tracking | Metrics & feedback |
| Verification | Architecture Assessment | Architecture validation | Compliance verification |
| Verification | Requirements-Driven Testing | Test cases from requirements | Regression testing |
| Verification | Security Testing | Pen testing | Automated scanning |
| Operations | Incident Management | Incident detection | Incident response |
| Operations | Environment Management | Configuration hardening | Patch management |
| Operations | Operational Management | Operational processes | Change management |
Realistic starting score: 0.2–0.5 across most practices
Priority Level 1 quick wins (do these first):
6-month target score: 1.0 across most practices
Realistic starting score: 0.8–1.2
Priority Level 2 improvements:
12-month target score: 1.5 across most practices; 2.0 in highest-risk areas
Realistic starting score: 1.5–2.0
Priority Level 3 improvements:
The Security Champions program is one of the highest-ROI investments for growing organizations. It scales security expertise across engineering teams without requiring a security engineer on every team.
Security practices can be embedded into existing Agile ceremonies without creating separate security overhead.
| Framework | Relationship to SAMM |
|---|---|
| NIST SSDF (SP 800-218) | Similar structure; SSDF is NIST's software security framework; strong SAMM-SSDF mapping available |
| ISO 27001 | SAMM complements ISO 27001 Annex A controls related to SDLC (A.8.25–A.8.31 in 27001:2022) |
| BSIMM | BSIMM (Building Security In Maturity Model) is an observational model of what companies DO; SAMM is prescriptive about what they SHOULD do; often used together |
| CMMC / NIST 800-171 | SAMM addresses software assurance; CMMC addresses system/network security; complementary, not overlapping |
| PCI DSS | SAMM directly supports PCI DSS Req 6 (secure systems and software) and Req 11 (security testing) |
| SOC 2 | SAMM Level 1-2 practices align to SOC 2 CC8 (change management), CC7 (monitoring), and CC5 (control activities) |
| OWASP ASVS | ASVS defines verification requirements for applications; SAMM V2 (Requirements-Driven Testing) uses ASVS as a test case library |
| Month | Focus Area | Actions |
|---|---|---|
| 1 | Governance | Complete SAMM assessment; assign security owner; write security policy |
| 1-2 | Implementation | Add Snyk/Dependabot and secrets scanning to all repos |
| 2-3 | Verification | Schedule annual pen test; create security bug label in tracker |
| 3-4 | Operations | Write IRP; define incident severity levels; test once |
| 4-5 | Design | Run first threat modeling session on highest-risk component |
| 5-6 | Governance | Launch security champion program (2-3 volunteers); first training |
| Month | Focus Area | Actions |
|---|---|---|
| 7-8 | Implementation | Integrate SAST into CI; block on critical findings |
| 8-9 | Design | Threat modeling for all new features; security requirements in DoD |
| 9-10 | Verification | DAST against staging; security test cases for auth and authz |
| 10-11 | Operations | CIS Benchmark compliance for cloud infra; vulnerability scan production |
| 11-12 | Governance | Full policy set complete; annual review cycle; metrics dashboard |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/cmmc-cuiUse when dealing with CMMC (Cybersecurity Maturity Model Certification) levels, CUI (Controlled Unclassified Information) handling, DoD contract requirements, or cybersecurity disclosure decisions. Use whenever a user mentions DFARS, CMMC, CUI, FCI, government contract security, defense contractor compliance, or incident reporting to DoD. Covers CMMC 2.0 levels, CUI identification, SPRS submission, and 72-hour incident reporting./nist-800-171Use when working with NIST SP 800-171 CUI protection, DoD contracts, federal contractor compliance, or the 110 controls assessment. Helps navigate the 14 control families, assess compliance gaps, build remediation plans, and prepare SPRS score submissions. Trigger on any mention of CUI, 800-171, DFARS 252.204-7012, self-assessment, or contractor cybersecurity requirements./pci-dss-v4Use whenever working on PCI DSS v4.0.1 compliance, SAQ selection, cardholder data environment scoping, or payment security assessments. Covers SAQ-A, SAQ-A-EP, SAQ-B-IP selection and requirements mapping, new v4.0 customized approach, and key technical controls. Trigger on any mention of PCI, cardholder data, CDE, payment card, SAQ, QSA, or merchant compliance./soc2-complianceUse when working on SOC2 Type 1 or Type 2 readiness, TSC (Trust Services Criteria) gap analysis, policy development, or mapping controls to NIST 800-53. Covers the 5 TSC categories, minimum policy set, evidence collection, and audit preparation. Trigger on any mention of SOC2, SOC 2, Trust Services Criteria, AICPA, Type 1, Type 2, or auditor readiness.2 plugins ship this exact skill · first indexed Aug 12, 2026
npx claudepluginhub the-vibey-project/vibey --plugin compliance-frameworks