Pcornel
Security · OWASP

Insecure Design

Cheat sheet · https://pcornel.dk/topic.php?topic=4770

Back to the Topic

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.

Remember

  • Code fixes cannot repair missing design controls.
  • Threat model early.
  • Use secure design patterns.

First checks

  • Threat model per feature — design review
  • Abuse cases — misuse scenarios
  • Secure design patterns — reference architecture

Verify in this order

feature → threat model → controls in design

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4770

Confirmation

Confirm action

Continue?