SasanLabs / VulnerableApp

OWASP VulnerableApp Project: For Security Enthusiasts by Security Enthusiasts.
https://sasanlabs.github.io/VulnerableApp/
Apache License 2.0
261 stars 357 forks source link

Expected Issues Locations #448

Open bperry-mf opened 8 months ago

bperry-mf commented 8 months ago

Describe the bug I was wondering if the expected issues provided (scanner/sast/expectedIssues.csv) within the repo is current. If not, is there a separate repo or file that contain an updated version of the expected issues?

To Reproduce The scanner/sast/expectedIssues.csv file defines the following entries as a vulnerability, but the line of code does not correspond to a vulnerability:

Expected behavior The expectedIssues.csv entries to reference a line of code that contains a function call, "return" statement, or a variable assignement when applicable.

preetkaran20 commented 8 months ago

Hi @bperry-mf , Yes you are right. The expectedIssues.csv gets outdated with the code changes. Is it possible for you to fix it? We are struggling to maintain it as well and the thought is to generate it dynamically but seems complex.

Thanks, Karan