Static Application Security Testing
Static Application Security Testing, or SAST, examines source code without running the application to find patterns that may create security weaknesses. It gives developers early feedback, but each finding still needs context and review.
itOffensive security and application security | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Intro
Static Application Security Testing
Static Application Security Testing, or SAST, analyzes code at rest. It searches source code, and sometimes compiled artifacts, for patterns associated with security weaknesses. You run it before the application executes, so it is a white-box testing technique.
The useful mental model is code becomes a graph of security-relevant paths:
source code → parse and model → apply rules or queries → findings → triage → fix or suppress with evidence
A SAST finding is a hypothesis about code. It may identify an untrusted value reaching a dangerous operation, a weak cryptographic choice, hard-coded credentials, or a missing validation step. It is not automatically a confirmed vulnerability. The analyst must decide whether the path is reachable, whether controls already make it safe, and whether the finding matters in the deployed application.
Continue the course
This section is part of the paid course.
See pricing to subscribe, or log in if you already have access.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://owasp.org/www-community/controls/Static_Code_Analysis
Supports
- Definition of static code analysis as non-running source-code analysis
- Taint analysis and data-flow analysis terminology
- Static-analysis findings as aids requiring analyst review
- False-positive and false-negative limits
- https://owasp.org/www-project-devsecops-guideline/latest/00a-Overview
Supports
- Static testing before execution and early delivery-pipeline placement
- Relationship between SAST, DAST, and IAST
- https://cheatsheetseries.owasp.org/cheatsheets/Secure_Code_Review_Cheat_Sheet.html
Supports
- Manual secure code review as a complement for logic and contextual vulnerabilities
- https://docs.github.com/en/code-security/reference/code-scanning/codeql/codeql-queries
Supports
- CodeQL built-in query suites organized by language
- https://codeql.github.com/docs/codeql-overview/about-codeql/
Supports
- CodeQL query-based analysis and variant analysis
- https://semgrep.dev/docs/writing-rules/glossary
Supports
- Semgrep terminology for taint analysis, constant propagation, and cross-file analysis
- https://github.com/sindresorhus/awesome
Supports
- Discovery of the Application Security awesome-list category used to select ecosystem tools
