Java: Let RemoteFlowSource and LocalUserInput extends SourceNode and fine grain the LocalUserInput threat models.

This commit is contained in:
Michael Nebel
2023-09-19 15:40:39 +02:00
parent 9a112dde66
commit 2055d5492c
2 changed files with 58 additions and 9 deletions

View File

@@ -24,6 +24,8 @@ private class FilePathRead extends LocalUserInput {
"readToString"
])
}
override string getThreatModel() { result = "file" }
}
private class HudsonUtilXssSanitizer extends XssSanitizer {