-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding code with some deep sinks #1
base: main
Are you sure you want to change the base?
Conversation
SonarQube Quality Gate
See analysis details on SonarQube Fix issues before they fail your Quality Gate with |
String[] filenames = StringUtils.commaDelimitedListToStringArray(input); | ||
for (String filename : filenames) { | ||
var file = new File(directory, filename); | ||
FileSystemUtils.deleteRecursively(file); |
Check failure
Code scanning / SonarCloudsquad-2
I/O function calls should not be vulnerable to path injection attacks High
|
||
String directory = "./target/directory"; | ||
var file = new File(directory, filename); | ||
FileUtil.getFileUtil().delete(filename); |
Check failure
Code scanning / SonarCloudsquad-2
I/O function calls should not be vulnerable to path injection attacks High
|
||
String directory = "./target/directory"; | ||
var file = new File(directory, filename); | ||
DataUtil.load(file, "utf-8", "uri://"); |
Check failure
Code scanning / SonarCloudsquad-2
I/O function calls should not be vulnerable to path injection attacks High
String[] filenames = StringUtils.commaDelimitedListToStringArray(input); | ||
for (String filename : filenames) { | ||
var file = new File(directory, filename); | ||
FileSystemUtils.deleteRecursively(file); |
Check warning
Code scanning / SonarCloudsquad-2
Accessing files should not lead to filesystem oracle attacks Medium
|
Thank you for submitting a pull request to the WebGoat!