Experiment 4
Experiment 4
Aim: Study of SAST Tools (open Source like GitHub, GitLab and so on) and use at least one
for practical
Theory:
Source code analysis tools, also known as Static Application Security Testing (SAST) Tools,
can help analyze source code or compiled versions of code to help find security flaws.
SAST tools can be added into your IDE. Such tools can help you detect issues during
software development. SAST tool feedback can save time and effort, especially when
compared to finding vulnerabilities later in the development cycle.
Cons
• Difficult to automate searches for many types of security vulnerabilities, including:
• Authentication problems
• Access control issues
• Insecure use of cryptography
• Current SAST tools are limited. They can automatically identify only a relatively small
percentage of application security flaws.
• High numbers of false positives.
• Frequently unable to find configuration issues, since they are not represented in the code.
• Difficult to ‘prove’ that an identified security issue is an actual vulnerability.
• Many SAST tools have difficulty analyzing code that can’t be compiled.
• Analysts frequently cannot compile code unless they have:
• Correct libraries
• Compilation instructions
• All required code
Conclusion:
• SAST tools are a valuable tool for identifying security vulnerabilities in your code.
• There are a number of open source SAST tools available, including OWASP
Dependency-Check, SonarQube, and Fortify SCA.
• To use a SAST tool for practical purposes, you can follow these steps: install the tool,
configure it to scan your source code, run the scan, and review the results.
• SAST tools are not perfect and can sometimes miss vulnerabilities. It is important to use
them in conjunction with other security testing techniques, such as DAST and manual
code review.
• GitLab's SAST functionality and SonarQube are two good options for open source
projects.
Questionnaire:
1. Is SAST black box testing?
Ans. No. Static application security testing (SAST) is a white-box testing methodology.