{{ message }}
Add a testcase checkmark list of the vulnerable and non-vulnerable instances for SAST Tools#1895
Open
inesmarcal wants to merge 3 commits into
Open
Add a testcase checkmark list of the vulnerable and non-vulnerable instances for SAST Tools#1895inesmarcal wants to merge 3 commits into
inesmarcal wants to merge 3 commits into
Conversation
…stances for SAST Tools
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Hello, I'm a student in the Cybersecurity field and in the last months I've been writing a thesis on the topic "Evaluation of Static Analysis Tools in Detecting OWASP Top 10 Vulnerabilities". As you can imagine, most of the work done here consists of using some applications as test cases for the tools and finally evaluating their performance in detecting the OWASP Top 10 vulnerabilities. WebGoat was part of the workload used, i.e. the test cases.
One problem that was identified is the lack of, for example, a checklist of the located vulnerable and non-vulnerable instances of the WebGoat application to help those who wanted to use this application as a component of the test cases set. So, with this pull request, I provide an Excel file that can be used to check if a certain tool or set of them has detected the instances gathered from the analysis of WebGoat manually.
The first 2 columns are the file and line where the vulnerable or non-vulnerable instance is located. The next 2 columns correspond to the sink and source of the instance, which will basically be the function and the parameters of the function that could trigger a possible vulnerability or not. Following this we have the vulnerability column, which basically indicates the vulnerability associated with the instance. Finally, the last columns work as a checkbox to indicate if tool x, y or z has detected a given vulnerability or not.
Here it will be really intuitive to understand, if there is an "x" the tool detected the instance as vulnerable, otherwise, the tool didn't classify it as anything.
I hope this will help new tool testers with the difficult task of analyzing SAST tools! If you have any suggestions, doubts or comments, feel free to do so! :)
In the next link, you can find my repository where I have developed some scripts to help collect the number of TPs, FNs, FPs and TNs obtained by the tools.
https://github.com/inesmarcal/Thesis-Scripts-Assess-of-SAST-Tools-against-OWASP-Top-10-vulns