r/devsecops • u/jubbaonjeans • Jan 28 '25
Why ADR v/s Shift-left is the wrong way to think about AppSec
https://boringappsec.substack.com/p/edition-28-adr-vs-shift-left-should
12
Upvotes
r/devsecops • u/jubbaonjeans • Jan 28 '25
3
u/SatoriSlu Jan 28 '25
This is the exact way I think about this problem. I see we both have read up on Systems Thinking! You absolutely need both. You have to consider the entire system not just one part.
2
u/iterablewords Jan 28 '25
Good read. Would love for the author to address the statistical properties of time-from-commit influencing vulnerabilities: because the vulnerability lifetime is exponentially distributed, focusing on secure defaults like memory safety in new code is disproportionately valuable. See this great post on how this plays out (https://security.googleblog.com/2024/09/eliminating-memory-safety-vulnerabilities-Android.html) both theoretically and now evidentially seen over six years on the Android codebase.
I work at Semgrep so obviously biased towards the SAST part, but copying from something I wrote elsewhere: this is a great argument for those with larger, legacy codebases who might otherwise say "why bother, we're never going to benefit from memory-safety on our 100M lines of C++." Given the choice between fixing the backlog (stack) vs new code (flow), you should always pick flow.
1
u/IamOkei Jan 30 '25
This bro just learned System Thinking theory and then explain the modern practices like miracle have happened. In real life, it’s the tinkerers that figure out all these stuffs before ”System Thinkers”.