CISA Secure by Design: The Shift from Compliance to Structural Safety
CISA's Secure by Design initiative argues that meeting a compliance checklist is not the same as building safe software. The alternative is structural: design that makes whole vulnerability classes impossible rather than rare.
DevSecCode Team · · AppSec · 7 min read
CISA's Secure by Design Is a Challenge to the Compliance Model
CISA's "Secure by Design" initiative (launched April 2023, updated October 2023) is notable for what it argues against as much as what it advocates for. The guidance explicitly challenges the compliance-as-security model: meeting a checklist does not make software secure.
The alternative framing: secure software is structurally safe. It's built in a way that makes entire classes of vulnerabilities impossible or impractical, not a way that passes a scan.
The Three Core Principles
1. Take Ownership of Customer Security Outcomes
Secure by Design places responsibility for security outcomes on software producers, not users. If an enterprise customer is breached because they failed to enable an optional security feature in your product, that's a product design failure, not a user failure.
In code terms: security should be the default, not an option. Encryption on, authentication required, audit logging active. These are not features users enable. They're baseline behaviors.
2. Embrace Radical Transparency and Accountability
CISA asks software producers to publish CVE counts, time-to-remediation metrics, and security testing methodologies. The goal is accountability through data: organizations making purchasing decisions should be able to evaluate the security posture of software they're buying.
For development teams, this means maintaining data about security findings and their lifecycle, which requires tooling that captures this data systematically.
3. Build Organizational Structures and Leadership
Secure by Design pushes security into product leadership accountability, not just engineering. Security issues should be tracked at the same level as performance regressions and reliability incidents.
The Memory Safety Argument
A significant portion of CISA's Secure by Design guidance focuses on memory safety. CISA, NSA, and allied agencies have jointly issued guidance recommending that new software development use memory-safe programming languages for components that process untrusted input.
The argument: buffer overflows, use-after-free, and related memory safety bugs (CWE-119 family, CWE-416) account for roughly 70% of Microsoft's CVEs and of Chromium's high-severity security bugs. Memory-safe languages (Rust, Go, Swift, Java, Python) prevent most of these by construction.
For organizations with existing C/C++ codebases, this doesn't mean rewriting everything. It means:
- New components default to memory-safe languages
- Unsafe interfaces to C code are isolated and minimized
- Memory safety tooling (sanitizers, fuzzing) is applied to remaining C/C++ code
The Default Security Configuration Problem
CISA's 2023 "Security-by-Design and -Default" guidance with NSA, FBI, and partner agencies identified insecure default configurations as a top attack enabler. The guidance directly addresses software vendors: stop shipping products with weak default configurations that require customers to harden.
In application code, the equivalent is frameworks and libraries that ship insecure defaults. Django's CSRF protection is on by default; that is Secure by Design. The Express cors middleware allows all origins by default; that is not. The framework defaults propagate through every application built on them.
How Deva Addresses Secure by Design
Deva's scanner checks for some insecure configurations in popular frameworks. The OWASP preset covers Security Misconfiguration (A02:2025) and the rest of the 2025 categories.
More articles
Security-Checking Code From Claude Code, Cursor and Copilot
Coding agents write code that passes its tests and still fails security checks. Five steps to scan every change an agent makes and have it fix what it finds.
OWASP Top 10:2025 Is Live. SSRF Is Gone, Supply Chain Is #3.
OWASP published the 2025 revision of the Top 10. Three structural changes deserve real attention from anyone writing or auditing application code.