Repository navigation
Commit 4dee488
committed
Security report: callers fetched in code, and one row per problem
A finding that says a protection is missing is only true if the code that
calls the flagged lines does not make that check either. The report no
longer waits for the model to ask: it searches the branch for the callers
of the flagged function or script, follows one variable that holds its
name, and puts each caller's whole function in the evidence. Route
handlers, router callbacks and web pages are entry points. A file in an
include folder brings the page that includes it, with the top of that page
where sign in checks sit.
A missing check confirmed with no caller in view, and any confirmed concern
of that kind from the repository read, is asked about again with that code.
If it still cannot be settled it is needs review and unscored.
One rule saying the same thing in many places is now one row: confirmed at
the same rating, or left with the same open question, as well as closed for
the same reason. A concern a scanner finding already covers, or one raised
twice, is dropped.
Definition detection now covers Go, Java, C# and arrow functions, multi
line signatures and braces on their own line.1 parent 6e1357f commit 4dee488
1 file changed
Lines changed: 600 additions & 42 deletions
0 commit comments