Version: 0.4.0
Requires: spec-kit >= 0.8.0 (uses the wrap and append composition
strategies introduced in 0.8.x).
Purpose:
- inject secure-development governance into Spec Kit workflows
- cover code-level controls, language-specific secure-coding profiles, SDLC controls, SBOM/AI-SBOM supply-chain transparency, and EU regulatory awareness
- stay focused on code and process; architectural depth lives in the
architecture-governancepreset
Primary source chapters from home-baseline constitution:
XI. Memory-Safe Languages (MSL) Preference for Level-2 ProjectsXII. Secure Code Generation- security-related applicability rules from
XIV XV. Secure SDLC & Verification StandardsXVI. Supply-Chain Transparency & Build IntegrityXIX. EU Cyber Resilience Act (CRA) Awareness
Standards in scope:
MSL preferenceNIST SSDF(SP 800-218)CWE Top 25OWASP ASVSwith explicit Level 1/2/3 selectionSBOMandVEXAI-SBOM/ G7 SBOM for AI minimum elementsSLSAOpenSSF ScorecardEU CRA(Regulation (EU) 2024/2847)
Preset strategy:
- append governance sections to
constitution-template,spec-template,plan-template, andtasks-template - provide a standalone agent-guidance addendum template for projects that maintain agent instruction files
- wrap
speckit.specify,speckit.plan, andspeckit.taskswith a small shared security workflow - provide concrete evidence templates for secure-development artefacts, including a CRA applicability record and language-specific secure-coding rules
Evidence templates included:
msl-applicability-templatesecure-coding-language-rules-template(C, C#/.NET, Rust, Go, Swift, Java/Kotlin, Python, TypeScript/JavaScript, SQL, Bash, PowerShell, cryptography, error handling)security-checklist-template(withCWE Top 25mapping table)dependency-audit-template(with Renovatebot/Dependabot/Dependency Track automation posture)asvs-verification-template(with explicit Level 1/2/3 rationale)supply-chain-evidence-template(SBOM, AI-SBOM, VEX, SLSA, OpenSSF Scorecard)cra-applicability-template
Default evidence location: docs/security/. MSL justification may live in
the feature spec, local constitution, or another governance document, but
should be referenced from planning artefacts.
When to use:
- teams that want explicit secure-development prompts in specs, plans, and tasks
- projects with web, API, release, or dependency risk
- projects that may fall under the EU Cyber Resilience Act
- organisations that need reusable secure-development evidence stubs
- projects that use AI runtime or product components and need internal transparency for models, datasets, inference infrastructure, and security properties
AI-SBOM applicability:
- AI used only as development tooling (code generation, documentation, review,
local agents) is documented as
N/Awith a short toolchain rationale. - AI models, AI services, training or embedding datasets, inference infrastructure, or AI runtime components in the released or operated system trigger AI-SBOM evidence.
- The G7/BSI AI-SBOM minimum elements are treated as target architecture, not as a direct legal obligation by themselves.
When not to use:
- projects that want only architecture governance without SDLC-level
security (use
architecture-governanceinstead or in combination) - teams not ready to maintain security evidence artefacts at all
MSL notes:
- this preset includes the
XI. Memory-Safe Languagespolicy surface Best practices of MSL languagesare treated as the combination ofXIandXII:XIgoverns language choice;XIIgoverns how the chosen language is usedv0.4.0expands the language-specific secure-coding template so that MSL projects still review concrete framework/API usage for Rust, Go, Swift, Java/Kotlin, Python, and TypeScript/JavaScript instead of treating the language choice as sufficient- the addendum surfaces a non-blocking advisory pattern; a runtime warning in the Spec Kit CLI itself is tracked separately
Recommended standalone install priority:
10