Code Security Report
Scan Metadata
Latest Scan: 2026-03-17 02:51PM
Total Findings: 1 | New Findings: 0 | Resolved Findings: 0
Tested Project Files: 6
Detected Programming Languages: 1 (Java*)
Most Relevant Findings
Severity |
Vulnerability Type |
CWE |
File |
Data Flows |
Detected |
 Medium |
Error Messages Information Exposure |
|
|
1 |
2026-03-17 02:52PM |
Vulnerable Code
|
try { |
|
System.out.println("Saving results: " + filename); |
|
Files.write(Paths.get(filename), data.getBytes()); |
|
} catch (IOException e) { |
|
e.printStackTrace(); |
|
} |
|
} |
|
|
|
private static String ThreadFixGetApplicationID(String mendProjectName, JSONObject threadFixApplicationListJSON, String teamId) throws IOException { |
|
// This method will retrieve the Application ID which is required. In the event that it does not yet exist, |
Data Flows (1 detected)
|
try { |
|
System.out.println("Saving results: " + filename); |
|
Files.write(Paths.get(filename), data.getBytes()); |
|
} catch (IOException e) { |
|
e.printStackTrace(); |
|
} |
|
} |
|
|
|
private static String ThreadFixGetApplicationID(String mendProjectName, JSONObject threadFixApplicationListJSON, String teamId) throws IOException { |
|
// This method will retrieve the Application ID which is required. In the event that it does not yet exist, |
|
try { |
|
System.out.println("Saving results: " + filename); |
|
Files.write(Paths.get(filename), data.getBytes()); |
|
} catch (IOException e) { |
|
e.printStackTrace(); |
|
} |
|
} |
|
|
|
private static String ThreadFixGetApplicationID(String mendProjectName, JSONObject threadFixApplicationListJSON, String teamId) throws IOException { |
|
// This method will retrieve the Application ID which is required. In the event that it does not yet exist, |
Secure Code Warrior Training Material
|
Findings Overview
| Severity |
Vulnerability Type |
CWE |
Language |
Count |
Medium |
Error Messages Information Exposure |
CWE-209 |
Java* |
1 |
Code Security Report
Scan Metadata
Latest Scan: 2026-03-17 02:51PM
Total Findings: 1 | New Findings: 0 | Resolved Findings: 0
Tested Project Files: 6
Detected Programming Languages: 1 (Java*)
Most Relevant Findings
threadfix-integration/src/main/java/org/mend/io/Main.java
Lines 708 to 717 in f49dcf4
Data Flows (1 detected)
threadfix-integration/src/main/java/org/mend/io/Main.java
Lines 708 to 717 in f49dcf4
threadfix-integration/src/main/java/org/mend/io/Main.java
Lines 708 to 717 in f49dcf4
Findings Overview