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
1563232015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement with. ...CWE-564: SQL Injection: Hibernate
Bad test case
1562792015-10-06JavaSource CodeCandidate This test takes in data from an argument, that is intended. to ...CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Bad test case
1562752015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement with. ...CWE-564: SQL Injection: Hibernate
Bad test case
1562372015-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
1562302015-10-06JavaSource CodeCandidate This test takes in data from an argument, that is intended. to ...CWE-088: Argument Injection or Modification
Bad test case
1561462015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement with. ...CWE-564: SQL Injection: Hibernate
Bad test case
1561272015-10-06JavaSource CodeCandidate This test takes in data from an argument, that is intended. to ...CWE-088: Argument Injection or Modification
Bad test case
1560742015-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
1560732015-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
1560542015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement. with ...CWE-564: SQL Injection: Hibernate
Bad test case
1560512015-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
1560492015-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
1560412015-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
1559992015-10-06JavaSource CodeCandidate Using Hibernate to execute a dynamic SQL statement. with ...CWE-564: SQL Injection: Hibernate
Bad test case
1559742015-10-06JavaSource CodeCandidate This test takes in an integer n. The integer represents the ...CWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1559402015-10-06JavaSource CodeCandidate This test takes a number as input and calculates it's factorialiCWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1559172015-10-06JavaSource CodeCandidate This test takes a number as input and calculates it's factorialiCWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1559112015-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
1558992015-10-06JavaSource CodeCandidate This test takes a number and attempts to determine whether it is ...CWE-834: Excessive Iteration
Bad test case
1558392015-10-06JavaSource CodeCandidate This test takes a number from the user, and attempts to ...CWE-789: Uncontrolled Memory Allocation
Bad test case
1 2 3 4 5 6 7 8
Total of selected test cases: 160
Total pages: 8