Skip to content
Software development
ASD ISMISM-0402

ASD ISM 0402 Software vulnerability testing using SAST, DAST and SCA

What it says

Software is comprehensively tested for vulnerabilities using SAST, DAST and SCA prior to its initial release, any subsequent release, and periodically to help identify any previously unidentified vulnerabilities.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Test software for vulnerabilities with all three of SAST, DAST and SCA, covering all of it, before its first release, before every later release and periodically.

Software must be comprehensively tested for vulnerabilities, meaning all of it, using all three of SAST, DAST and SCA. SAST (static application security testing) examines source code without running it. DAST (dynamic application security testing) probes the running software. SCA (software composition analysis) identifies third-party components and their known vulnerabilities. Testing happens before the initial release, before every later release, and periodically to find vulnerabilities not found before. The control sets no interval for periodic testing, so the organisation sets one.

Why it matters

Each method looks for a different kind of weakness: insecure code, flaws visible only in running software, and known vulnerabilities in third-party components. Testing before each release can find them before users are exposed, and periodic retesting can find vulnerabilities discovered since release.

How to implement

  1. Set up SAST, DAST and SCA for each application.

    Run SAST on the source code, SCA on dependency files, built packages and container images, and DAST against a running build in a test environment. Use a DAST tool that suits the software, such as a web, API or mobile app scanner, with a test account to reach functions behind logon.

  2. Make the testing cover the whole software.

    Check each tool's coverage report for skipped files, unsupported languages and unscanned dependencies, including indirect ones. Give DAST the API definitions and site map so it tests every endpoint. Close each gap with another tool or setting rather than accepting partial coverage.

  3. Run all three before every release.

    Add them to the release pipeline so no release, including the first, a patch or a hotfix, goes out until all three have run on that version. Keep the results with the release record, and send findings to the issue tracker for resolution under ISM-1754.

  4. Retest released software at a set interval.

    The control sets no interval, so set one based on how exposed the software is, and rerun all three against the version in production, even when there is no new release.

  5. Where a contractor builds the software, obtain its results.

    Require SAST, DAST and SCA before each release in the contract, with the reports as deliverables. Without source code, run DAST and SCA on the delivered build yourself and rely on the supplier's SAST report.

Keep it running

Add new repositories, languages, dependencies and endpoints to the scans as the software grows, and keep the tools' rules and vulnerability data current. A new way of releasing, such as an emergency hotfix path, should trigger a check that it runs all three tests.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The release history for each application, taken from deployment records, with the SAST, DAST and SCA results for each release.

    Look at

    Whether every release, including the first and any hotfixes, has results from all three methods for that version, dated before it went out.

    Good evidence

    Every release in the deployment records, including hotfixes, has SAST, DAST and SCA results for that version dated before release, with none of the three missing.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The scan configuration and coverage reports for a sampled application, with its repository list, dependency files and API definitions.

    Look at

    Whether any repository, language, dependency or endpoint is excluded from or unreachable by the scans.

    Good evidence

    SAST covers every repository and language, SCA covers every dependency including indirect ones, and DAST reaches every endpoint in the API definitions, including those behind logon.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Periodic test records, and a list of released software still in use, taken from the hosting platform and from app store or release records.

    Look at

    The dates of each periodic run against the organisation's interval, and which version was tested.

    Good evidence

    Every listed application, including those not released in the period, was retested with all three methods at the set interval, against the version currently in use.

Mappings

Closest match in ISO/IEC 27001: A.8.25, Secure development life cycle, which this control partially meets.

ISO 27001

ISO/IEC 27001: 4 mappings

  • A.8.25Secure development life cyclePartially meets
  • A.8.28Secure codingSupported by
  • A.8.30Outsourced developmentSupported by

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.