TL;DR: Security requirements can disappear before code review, according to Clover Security, when agents fill in omissions in the specification and carry them forward unchanged. Governance has to move to the requirements and design handoffs, because output comparison will not surface a decision that was never written down.
Editorial analysis by NHI Mgmt Group, based on content published by Clover Security: “Spec-driven development: rethinking how security fits in”.
Key questions
Q: Why do agent-generated plans miss security requirements?
A: Agent-generated plans miss security requirements when the agent optimises for task completion without an explicit policy, threat model, or acceptance criteria for access control, secrets handling, data classification, and logging.
Q: How does a specification become a security control in software delivery?
A: A specification becomes a security control when it is translated into enforceable delivery rules, such as mandatory input validation, code review checks, test cases, deployment gates, and configuration baselines.
Q: How do you secure spec-driven development workflows?
A: Secure spec-driven development by treating the specification as a security control point, not just a planning document.
Practitioner guidance
- Map security ownership across each handoff Document who owns requirements, design, build, review and production for your highest-risk delivery paths, then identify where security decisions can disappear between stages.
- Add security criteria to specifications Require written security conditions for expiry, rate limits, approval rules and rollback criteria before an agent can generate design or code.
- Review the spec before the pull request Shift security review earlier so reviewers can challenge assumptions in the specification instead of only validating generated implementation.
Bottom line: Spec-driven development changes the security failure mode from bad code to missing requirements that are propagated by agents.
Glossary terms: Spec-driven Development, Agent ownership, Security Requirement, Handoff governance
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →