Interview Prep/DevSecOps/Foundations, Threat Modeling and OWASP

Difference between insecure design and insecure implementation?

IntermediateConceptFoundations, Threat Modeling and OWASP
Answer

Insecure design is a flaw in the blueprint: no rate limit on password reset, business logic that lets you apply a coupon unlimited times, no tenant isolation in the model. Perfect code cannot fix it. Insecure implementation is a correct design coded badly, such as a missing input check or a buffer bug.

Scanners find implementation bugs; design flaws are found by threat modeling and abuse-case reviews. That is why shift-left starts before code.

All DevSecOps questions Roadmap: Security in the pipeline

More on Foundations, Threat Modeling and OWASP