Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Insecure Design

Direct answer

Insecure design (OWASP A04) is a flaw in the design itself, such as missing rate limits on password reset, which perfect code cannot fix. Threat modelling and secure design patterns address it.

When to use this

Use this when the design itself lacks security controls (OWASP A04).

First 30 seconds

1. Insecure design: missing security controls by design.

2. Threat model early.

3. Abuse cases and limits (rate limits, quotas).

4. Secure patterns and paved roads.

5. Review designs.

Operational verification

feature → threat model → controls in design

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Security architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSecurity architecture and operations
Scope / prerequisiteUse this when the design itself lacks security controls (OWASP A04).
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Adding security only at the end of design.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Code fixes cannot repair missing design controls.
  • Threat model early.
  • Use secure design patterns.
Key checks
  • Threat model per feature — design review
  • Abuse cases — misuse scenarios
  • Secure design patterns — reference architecture
ReferenceWhy it matters1 section · depth on demand

Preventing insecure design

  • Threat model new features (STRIDE or abuse cases) before building them.
  • Use secure design patterns and reference architectures.
  • Add business limits: rate limits, maximum transaction values, multi-step verification for risky actions.
  • Write security requirements and test them like functional requirements.
ReferenceHow it works1 section · depth on demand

In depth

Insecure design covers flaws in how an application is designed rather than how it is coded: missing rate limits on sensitive actions, business logic that can be abused, lack of tenant isolation, recovery flows that bypass authentication. Perfect code cannot fix a design that lacks the necessary controls.

Preventing design flaws:

PracticeExample
Threat modellingSTRIDE on data flows during design
Security requirementsBased on OWASP ASVS levels
Secure design patternsReference architectures, vetted components
Abuse cases"What if a user repeats this step 10,000 times?"
Design reviewsSecurity sign-off for high-risk features

Design issues are cheapest to fix on the whiteboard and expensive in production — involve security early.

ReferenceImportant terms & boundaries2 sections · depth on demand

Threat modelling in practice

1. Draw a data-flow diagram: users, processes, data stores, trust boundaries.

2. Apply STRIDE per element (Spoofing, Tampering, Repudiation, Information disclosure, DoS, Elevation of privilege).

3. Record threats, mitigations and owners.

4. Turn mitigations into requirements and tests (e.g. ASVS items).

Tools: OWASP Threat Dragon, Microsoft Threat Modeling Tool, or a whiteboard.

Examples

  • Password reset based on security questions.
  • No rate limit on ticket purchase, letting bots buy everything.
  • Business logic that trusts client-side price calculations.
  • Multi-tenant app without tenant ID checks on every query.

These are design flaws — no amount of perfect code fixes them without changing the design.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSecurity architecture and operations current

Authoritative/upstream documentation reviewed for bounded claims in OWASP → Insecure Design. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://owasp.org/www-project-application-security-verification-standard/ · confidence 94%
Confirmation

Confirm action

Continue?