What is SAST and what are its strengths and limits?
BeginnerConceptApplication Security Testing (SAST, DAST, SCA, Secrets)
Answer
Static Application Security Testing analyses source code (or bytecode) without running it, using pattern matching, AST analysis and data-flow (taint) tracking. Strengths: runs early, points to exact file and line, covers all code paths, language-aware.
Limits: false positives, no knowledge of runtime config or deployment, weak on business-logic flaws and on framework magic. Examples: SonarQube, Semgrep, CodeQL.
More on Application Security Testing (SAST, DAST, SCA, Secrets)
What is DAST and how does it differ from SAST?BeginnerWhat is IAST and RASP?IntermediateWhat is SCA and what does it scan?BeginnerHow does a SAST tool find a SQL injection using taint analysis?AdvancedHow do you write a simple Semgrep rule?IntermediateWhat is CodeQL and how does its model differ from Semgrep?Intermediate