SAST DAST and SCA
Three complementary evidence sources
Static application security testing (SAST) examines program artifacts without needing to exercise a running application. Dynamic application security testing (DAST) observes behavior of a running application. Software composition analysis (SCA) inventories software components and identifies known issues associated with them. These approaches answer different questions; none alone establishes that an application is safe.
Read a finding rather than a label
Consider three fictional findings: S-01 flags an order handler for missing ownership logic; D-01 records an incorrect response during an approved synthetic authorization test; C-01 matches a dependency version to a mock advisory. For each, record the affected build, observation, tool scope and evidence. S-01 needs source review; D-01 needs reproduction and requirement comparison; C-01 needs version, applicability and exposure analysis.
Triage uncertainty
A false positive is a reported issue that is not present under the relevant conditions; a false negative is an issue a check misses. Record confirmed, disproved or unresolved status, and the reason. For example, a static report may miss a separate enforcement layer; review the actual path rather than dismissing the report because tests passed. A dependency advisory match does not by itself prove a reachable vulnerable path.
Combine review and regression testing
Manual code review can check business rules that generic scanners do not understand. Write a regression test for a confirmed problem and verify that the expected behavior is restored in a controlled environment. Record the exact artifact and test scope. Do not run dynamic testing against public or production services without explicit permission; this chapter uses only mock findings and offline unit tests.
Practice: classify the evidence
Classify a source-code warning, a recorded test response and a package inventory advisory match by the three methods. Then identify what additional evidence each requires. If the inventory is incomplete, mark the unknown coverage rather than treating missing findings as a clean result.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
SAST DAST and SCA — knowledge check
Apply secure development concepts to fictional bookstore records.
Which method examines program artifacts without exercising the running application?
Which method produces observations of running application behavior?
An advisory matches an installed component version. What evidence type is this?
A static tool flags a handler, but separate middleware may enforce ownership. What next?
No findings appear, but the dependency inventory is incomplete. What conclude?