nerdexam
CompTIA

CAS-003 · Question #719

While the code is still in the development environment, a security architect is testing the code stored in the code repository to ensure the top ten OWASP secure coding practices are being followed…

The correct answer is A. Static. Static analysis examines source code in a repository without executing it, making it the correct tool to check OWASP secure coding compliance during development.

Research, Development and Collaboration

Question

While the code is still in the development environment, a security architect is testing the code stored in the code repository to ensure the top ten OWASP secure coding practices are being followed. Which of the following code analyzers will produce the desired results?

Options

  • AStatic
  • BDynamic
  • CFuzzer
  • DPeer review

How the community answered

(14 responses)
  • A
    93% (13)
  • B
    7% (1)

Why each option

Static analysis examines source code in a repository without executing it, making it the correct tool to check OWASP secure coding compliance during development.

AStaticCorrect

Static Application Security Testing (SAST) tools analyze source code or bytecode stored in a repository without running the application, enabling early detection of OWASP Top 10 issues such as injection flaws, insecure deserialization, and improper error handling. Because the code has not yet been deployed and is evaluated in place in the repository, static analysis is the appropriate and effective technique.

BDynamic

Dynamic analysis requires the application to be actively running, so it cannot be applied to code sitting in a repository that has not been deployed or executed.

CFuzzer

A fuzzer sends random or malformed input to a running application to cause crashes and cannot evaluate coding practices in a non-executing code repository.

DPeer review

Peer review relies on human inspection rather than automated tooling and lacks the systematic, consistent coverage needed to reliably verify compliance with all OWASP secure coding practices.

Concept tested: Static application security testing (SAST) for OWASP compliance

Source: https://owasp.org/www-community/Source_Code_Analysis_Tools

Topics

#static code analysis#OWASP#SAST#secure coding

Community Discussion

No community discussion yet for this question.

Full CAS-003 Practice