SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 160 test cases in 8 pages. Pages: 1 2 3 4 5 6 7 8
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1563672015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement. with ...CWE-564: SQL Injection: Hibernate
Bad test case
1563602015-10-06JavaSource CodeCandidate This test takes in data from an argument, that is intended. to ...CWE-088: Argument Injection or Modification
Bad test case
1563452015-10-06JavaSource CodeCandidate This test takes in data from an argument, that is intended. to ...CWE-088: Argument Injection or Modification
Bad test case
1563442015-10-06JavaSource CodeCandidate This test creates a connection to the PGSQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1563112015-10-06JavaSource CodeCandidate This test creates a connection to the MySQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1562812015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement with. ...CWE-564: SQL Injection: Hibernate
Bad test case
1562692015-10-06JavaSource CodeCandidate This test creates a connection to the PGSQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1562542015-10-06JavaSource CodeCandidate This test creates a connection to the PGSQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1562412015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement with. ...CWE-564: SQL Injection: Hibernate
Bad test case
1562292015-10-06JavaSource CodeCandidate This test creates a connection to the PGSQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1562202015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement with. ...CWE-564: SQL Injection: Hibernate
Bad test case
1561682015-10-06JavaSource CodeCandidate This test creates a connection to the MySQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1561002015-10-06JavaSource CodeCandidate This test creates a connection to the MySQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1560202015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement. with ...CWE-564: SQL Injection: Hibernate
Bad test case
1559912015-10-06JavaSource CodeCandidate This test takes a number from the user, and attempts to ...CWE-789: Uncontrolled Memory Allocation
Bad test case
1559652015-10-06JavaSource CodeCandidate This test takes in an integer n. The integer represents the ...CWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1559352015-10-06JavaSource CodeCandidate This test takes a number and attempts to determine whether it is ...CWE-834: Excessive Iteration
Bad test case
1559322015-10-06JavaSource CodeCandidate This test takes in an integer n. It creates n temporary files ...CWE-459: Incomplete Cleanup
Bad test case
1559192015-10-06JavaSource CodeCandidate This test takes a number and attempts to determine whether it is ...CWE-834: Excessive Iteration
Bad test case
1559072015-10-06JavaSource CodeCandidate This test takes a string, and reads through the string, printing outeCWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Bad test case
1 2 3 4 5 6 7 8
Total of selected test cases: 160
Total pages: 8