Skip to content
Book demo
Back to Guides

What Is Application Security Testing? SAST, DAST, IAST, SCA

Jul 20, 2026
Ani Galstian
Ani Galstian
What Is Application Security Testing? SAST, DAST, IAST, SCA

Application security testing layers SAST, DAST, IAST, and SCA because each method exposes different vulnerability classes and blind spots.

TL;DR

Enterprise AST programs stall when scan volume outpaces triage capacity. In one production dataset, static analysis warnings were 76% false positives, developer trust drops when false-positive rates exceed 20-30%, and AI-assisted patching can introduce up to 9x more new vulnerabilities. This guide maps AST methods, program frameworks, pipeline placement, failure modes, and remediation economics.

Developers lose trust when noisy scanner output, unclear ownership, or a 500-finding report blocks a pull request by mixing exploitable bugs with false positives. Security teams that add scanners faster than they process output can reduce actual security because the added scans expand untriaged queues. AI coding tools add pressure by increasing the amount of code that reviewers must check for security.

This guide defines the AST category as NIST and OWASP scope it, compares SAST, DAST, IAST, and SCA, maps the frameworks enterprises use, and quantifies why programs fail. Enterprise AST programs that need auditable decisions can run remediation on Augment Cosmos, the unified cloud agents platform that records build, test, code review, and deployment state across long-running fixes with shared context and memory that compound across the team and the software development lifecycle.

[ Free report ]

The Agentic SDLC

How teams like Stripe, Ramp, and Uber move from solo coding agents to a coordinated, team-level system.

The Agentic SDLC report cover

What Application Security Testing Covers

Application security testing covers SAST, DAST, IAST, SCA, and related scanners. These tools analyze code, running applications, dependencies, secrets, infrastructure definitions, and APIs. Enterprise teams use that coverage to map each vulnerability class to the pipeline stage where feedback is cheapest to act on. NIST SP 800-204C names SAST, DAST, IAST, and SCA as the four main AST technologies. The OWASP Developer Guide extends the set to include infrastructure and container vulnerability scanning. The NIST NCCoE model adds secrets and IaC scanners as CI pipeline tool types. Enterprises comparing static-analysis coverage, IDE fit, and governance controls should evaluate the leading AI SAST tools before assigning scanner ownership.

CategoryWhat it analyzesTypical pipeline stage
SASTSource, bytecode, or binary code, without executionIDE, commit, pull request
DASTThe running application, via injected malicious payloadsQA, pre-production
IASTRuntime behavior, via sensor modules inside the appCI, QA, production
SCAThird-party and open-source components plus their known CVEs and licensesBuild, CI
Secrets scanningGit history across all branches for hardcoded credentials, API keys, tokensPre-commit, CI
Container and IaC scanningContainer images and infrastructure-as-code definitionsBuild, pre-deploy
API security testingAPI-specific risks such as broken object level authorizationQA, pre-production

Two boundary notes affect seven-category tool selection before teams assign pipeline gates, because overlapping scanner scope changes ownership and market scope. NIST SP 800-204C notes SAST "can also include finding hardcoded" secrets, so secrets detection overlaps SAST even though NCCoE treats it as separate. Analysts also treat API testing as its own market, with API and MCP testing separate from application security testing.

How the Four Core Methods Trade Off

The four core AST methods trade off coverage, context, speed, and language dependency, so enterprises layer SAST, DAST, IAST, and SCA to reduce blind spots that any single scanner leaves open. The OWASP Benchmark Project warns that "with widespread misunderstanding of the specific vulnerabilities automated tools cover, end users are often left with a false sense of security." The table compares the methods across five dimensions.

DimensionSASTDASTIASTSCA
Test approachWhite-box, no executionBlack-box, running appGrey-box, instrumented runtimeWhite-box, dependency inventory
Language dependencyYes, per-language toolingNo, tests from outsideYes, language-specific agentsPartial, manifest and binary scanning
False positive tendencyHigh, no runtime contextLower, tests a live appLow, runtime confirmationHigh without reachability analysis
SpeedScans can take hours5-7 days in external estimatesReal time, zero minutesFast at build time
Key blind spotRuntime behavior; libraries and frameworksInternal logic; unexposed pathsUnexercised code pathsCustom application code

In a Tencent production dataset, 76% of warnings from static analysis were false positives (328 false positives against 105 true bugs), and the rate exceeded 90% when accounting for cases discarded for incomplete code context. Enterprise static analysis tools prioritize recall over precision so no potential bug is overlooked. Developer tolerance is far lower, and false positive rates above 20-30% frequently result in tool abandonment. Teams evaluating review controls around high-noise scanner output should compare autonomous code review platforms alongside scanner selection.

IAST closes part of this gap by confirming vulnerabilities at runtime, but it only sees code that executes. Error handlers, legacy features, and rarely used admin paths may never be touched. For SCA, reachability analysis determines whether a vulnerable code path can execute in context, which reduces noise compared with version-only checks.

A layering pattern for organizations that already run PR checks, CI tests, and pre-release staging gates places SAST in PRs, IAST in CI for runtime context, and DAST as a pre-release gate.

The Four Program Frameworks Enterprises Build On

Enterprise AST frameworks turn scanner output into governed practices through risk baselines, maturity levels, application verification requirements, and peer benchmarks. NIST SSDF, OWASP SAMM, OWASP ASVS, and BSIMM cover four enterprise AST governance jobs, giving security teams a framework map for risk baselining, maturity measurement, application verification, and peer benchmarking across SAST, DAST, IAST, and SCA.

The NIST SSDF (SP 800-218) is the compliance anchor for US federal suppliers, with v1.1 in effect and a v1.2 draft published December 17, 2025. OWASP SAMM 2.0 provides a maturity model built around five business functions and 15 practices, while OWASP ASVS 5.0.0 (released May 2025) supplies a verification standard organized into three levels, with the earlier 4.0.3 defining 286 individual requirements. BSIMM16 rounds out the set as a descriptive benchmark of what real organizations actually do, mapped across four domains, 12 practices, and 128 activities.

FrameworkCurrent versionStructureRole
NIST SSDF (SP 800-218)v1.1 (v1.2 draft published December 17, 2025)Four groups: PO, PS, PW, RVRisk-based practice baseline; the compliance anchor for US federal suppliers
OWASP SAMM2.0Five business functions, 15 practicesMaturity model for assessing and improving the program
OWASP ASVS5.0.0 (released May 2025)Three verification levels; 4.0.3 has 286 requirementsVerification standard for individual applications
BSIMMBSIMM16Four domains, 12 practices, 128 activitiesDescriptive benchmark of what real organizations actually do

The SSDF's testing-specific practices are PW.7 (review and analyze human-readable code), PW.8 (test executable code), and RV.1.2, which calls for configuring the toolchain to run automated analysis continuously across supported releases. NIST positions the SSDF as a basis for planning and implementing a risk-based approach across the program.

SAMM's Security Testing practice starts with manual and tool-based testing at level 1. Level 2 adds automated testing complemented by regular manual penetration tests, and level 3 embeds testing in development and deployment processes. BSIMM describes observed behavior across peer organizations, and BSIMM13 found 90% of organizations in its data pool had established security checkpoints in their development lifecycles.

Where Each Scanner Belongs in the Pipeline

AST scanner placement determines what gets caught and how much friction developers absorb. Teams should match each of the seven scanner categories in this guide to the earliest pipeline stage where its findings are reliable enough for action, which avoids build gates before scanners earn trust. Practitioner documentation places each method where feedback is fastest and cheapest to act on.

StageScans
Pre-commitSecrets detection, linting
PR/MR openSAST, SCA, IaC scanning, secrets re-scan
BuildContainer image scanning
Pre-deploy / stagingDAST against an ephemeral environment, compliance checks
ProductionRuntime monitoring

OWASP identifies pre-commit as optimal for secrets detection, intercepting credentials before they enter the codebase. Airbnb's production implementation uses the same pattern: a customized Yelp/detect-secrets CI check runs over every modified file pushed to GitHub Enterprise, and the system assigns a JIRA ticket to the code author for each detection.

Gating strategy should match scanner maturity to build impact. DSOMM Level 1 starts with report-only results, while higher-fidelity programs can fail builds only after findings are trusted enough to stop vulnerable artifacts before deployment. GitHub's published DSOMM Level 1 guidance is explicit: "Never fail a build based on scan results." Once fidelity improves, Google Cloud's guidance (citing DORA research) recommends policies that fail fast to stop builds when scanners discover vulnerabilities before artifacts deploy. High performers in the 2016 State of DevOps Report spent 50% less time remediating security issues by building security into daily work, which supports the investment in earlier gates.

Scan speed is the binding constraint at enterprise scale. GitHub shipped incremental CodeQL analysis in May 2025, reporting only new alerts in the changed diff range and running up to 20% faster in pull requests. Teams adopting incremental SCA in monorepos have cut scan times from 15 minutes to under 2 minutes by limiting analysis to changed dependency scope, so every build avoids a full-repository scan.

When scanner runs span external tools, Cosmos Environments define execution boundaries for agent work across third-party services via MCP, and Sessions capture each run for audit and reuse. Cosmos keeps repository context, review state, and implementation history attached to long-running fixes across laptops, Dev-VMs, and cloud, so scanner-driven remediation work stays reproducible after a handoff.

Why AST Programs Fail

AST programs fail when alerts outrun the people and workflows responsible for processing them. False positives, bypass behavior, tool sprawl, and remediation backlogs turn detection volume into delayed fixes.

False positive fatigue. NIST finding rates reach as high as 78% for Java, and DAST reaches 82% per the OWASP Benchmark. Each alert consumes triage time, and high-noise reports make it harder for security teams to identify the findings that need immediate engineering action.

Developer bypass behavior. Long 500+ alert reports, many false, train developers to skim past critical findings. Developers trust scanners less when findings lack exploitability context, owner clarity, or reproducible evidence.

Tool sprawl. Multiple scanners can increase coverage, but every additional tool also creates another alert stream, another integration path, and another policy owner. Security teams evaluating review-layer automation for noisy queues can compare open source AI code review tools before adding more gates.

Remediation backlogs. Fifty-five days after a third-party library fix ships, half of applications still run the unfixed version. Backlogs grow when intake is automated while ownership, prioritization, and closure capacity remain manual.

Mitigations fall into four controls. Auto-triage rules work when contextual metadata is trustworthy. SAST engines can add code-path context before human review. Security champions programs work when development teams own remediation queues. Golden path templates reduce findings for new services before scanners run. The Augment Code Review agent posts a 59% F-score, based on roughly 65% precision and 55% recall on a public "golden comments" dataset, and its context-aware review uses semantic dependency graph analysis across 400,000+ files before surfacing findings to humans. That context narrows the review burden for reports such as 82% false-positive DAST output.

AI Changed Both Sides of the Testing Equation

AI changes application security testing by increasing generated-code review load while reducing median fix time to 28 minutes through automated remediation. AST programs now have to coordinate both detection growth and approved fixes.

Open source
augmentcode/augment.vim607
Star on GitHub

Unassisted LLM patching can worsen the risk that comes with expanded review volume. One 2025 study found standalone LLMs introduce up to 9x more new vulnerabilities than developers, and agentic frameworks amplify risk in underspecified tasks.

The Augment Code Context Engine reduces hallucinations by 40% for teams reviewing AI-generated code by routing across models and running semantic dependency graph analysis so reviewers can check proposed fixes against repository relationships. On the remediation side, AI compressed fix time from 1.5 hours to a 28-minute median in GitHub's Copilot Autofix beta by generating suggested patches for scanner alerts before developer review. GitHub's Copilot Autofix beta data from May through July 2024 showed a median fix time of 28 minutes versus 1.5 hours overall. SQL injection fixes were 12x faster, and Security Campaigns extended batch remediation to 1,000 historical alerts at a time. Snyk rebranded DeepCode AI Fix as Snyk Agent Fix in May 2026 with an agentic architecture, though it remains limited to local-file fixes and does not handle multi-file vulnerabilities.

Reducing backlogs requires coordination beyond single-alert autofix. AST programs need a layer that queues alerts by priority, routes escalations, records human approval, and batches remediation. Cosmos Experts, the specialized agents that run on the Cosmos platform, support multi-file remediation workflows with 5-10x task speed-up on complex changes. Agents handle triage, first-pass implementation, and review, while humans decide priority, review the requested change, and approve fixes against the current codebase.

Metrics That Show Whether the Program Works

AST program metrics show whether testing works by measuring remediation velocity, flaw half-life, and backlog shrink rate. These measures let teams distinguish detection activity from risk reduction. Effective AST programs measure how fast critical findings close, whether the open backlog shrinks, and whether scanner output earns enough trust to affect release decisions.

MetricProgram questionWhy it matters
Critical finding ageAre critical issues closing inside the policy window?Measures exposure duration directly
Closed-per-new-finding rateAre teams closing more findings than scanners create?Shows whether backlog direction is improving
False-positive rateDo developers trust the scanner enough to act?Predicts bypass behavior and tool abandonment
Reopen rateAre fixes complete, tested, and durable?Catches shallow remediation and recurring vulnerabilities
Gate override rateAre policies calibrated to engineering reality?Shows whether gates are protective or routinely bypassed

CVE volumes grow roughly 25% annually, so finding queues shrink only when closure capacity exceeds intake. Practitioner targets from AppSec Santa's 2026 metrics guide set the bar at under 7 days for critical findings, with under 3 days for mature programs. The AppSec metrics guide also targets 1.2-1.5 closed per new finding to shrink the backlog. Maturity spread is wide: leading organizations in the top 25th percentile hold security debt in fewer than 17% of apps, while lagging organizations exceed 67%.

To close that gap, teams need human or agentic fixing capacity that raises closures above new intake. Cosmos reference experts support parallel backlog reduction by running hundreds of concurrent agents per organization on shared context and memory.

Compliance Drivers That Mandate AST

Compliance drivers mandate AST by converting secure development practices into contractual requirements for component inventory, vulnerability management, continuous automated analysis, and exploitable-vulnerability reporting. Regulation has turned testing practices into contractual requirements, and the five drivers below define the scope, timing, and operating consequences enterprise AST programs must meet.

DriverRequirementAST implicationTimingOperating consequence
PCI DSS v4.0Inventory bespoke software and third-party components; manage all vulnerabilitiesSCA and SBOM practices plus vulnerability managementMandatory since April 1, 2025Programs cannot limit remediation scope to critical findings only
Executive Order 14028Producer attests to SSDF-aligned practices through the CISA attestation formSAST, executable code testing, and continuous automated analysisCISA form released March 11, 2024US federal suppliers must align secure development practices to NIST SP 800-218
NIST SP 800-218PW.7, PW.8, and RV.1.2 define testing and automated analysis practicesReview human-readable code, test executable code, and run automated analysis continuouslyApplies through federal supplier attestationToolchains need continuous analysis across supported releases
Cyber Resilience ActProducts ship without known exploitable vulnerabilities and include a machine-readable SBOMVulnerability testing, exploitable-vulnerability handling, and SBOM productionFull application December 2027; reporting obligations start September 11, 2026Actively exploited vulnerabilities trigger reporting obligations
FedRAMPMonthly scanning of operating systems, web applications, and databasesRecurring infrastructure, web application, and database scanningMonthly scanning cadenceKEV catalog dates supersede standard remediation timelines

PCI DSS v4.0 has been mandatory since April 1, 2025. It requires an inventory of bespoke software and third-party components (requirement 6.3.2), which effectively mandates SCA and SBOM practices. It also requires managing vulnerabilities across every severity level (11.3.1.1). For US federal suppliers, Executive Order 14028 flows through NIST SP 800-218 into the CISA attestation form released March 11, 2024. Agencies may only use software whose producer attests to SSDF-aligned practices, including SAST (PW.7), executable code testing (PW.8), and continuous automated analysis (RV.1.2). In the EU, the Cyber Resilience Act enters full application December 2027, with reporting obligations for actively exploited vulnerabilities starting September 11, 2026. It requires products shipped without known exploitable vulnerabilities and an SBOM in machine-readable format. FedRAMP adds monthly scanning of operating systems, web applications, and databases, with KEV catalog dates superseding standard remediation timelines.

Match Scanner Rollout to Your Triage Capacity, Then Automate the Fix Loop

An enterprise AST rollout should match scanner gating to triage capacity. Start in report-only mode, measure false positives, and add automation only after findings are trusted enough to reduce backlog. Scanners are cheap to add, but each one feeds a triage queue while CVE volumes grow roughly 25% annually. Start with the approach in GitHub's DSOMM Level 1 article: run SCA, SAST, secret scanning, and DAST with default settings, run scans periodically on the default branch, and avoid failing builds based on scan results. Promote a scanner to a build gate only once its false positive rate earns developer trust. Then address the fix side. Slow flaw closure also depends on the scan-to-merge remediation lifecycle that routes fixes, checks, and approvals before merge. Cosmos supports that lifecycle with policy checks before merge: agent experts handle triage, implementation, testing, and review, while humans set priority, review the requested change, and approve changes. In those workflows, teams move from 8 human interruptions to 3 checkpoints.

FAQ

Written by

Ani Galstian

Ani Galstian

Ani writes about enterprise-scale AI coding tool evaluation, agentic development security, and the operational patterns that make AI agents reliable in production. His guides cover topics like AGENTS.md context files, spec-as-source-of-truth workflows, and how engineering teams should assess AI coding tools across dimensions like auditability and security compliance

Get Started

Give your codebase the agents it deserves

Install Augment to get started. Works with codebases of any size, from side projects to enterprise monorepos.