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.
More on Foundations, Threat Modeling and OWASP
What is DevSecOps, and how is it different from DevOps?BeginnerWhat does "shift-left" mean?BeginnerIf we shift left, why do we still need "shift-right" controls?IntermediateWhat are the phases of a secure SDLC and a security activity for each?BeginnerExplain the CIA triad with a DevOps example for each property.BeginnerWhat is threat modeling and when should you do it?Beginner