text stringlengths 41 445 |
|---|
<s>[INST] SERVLET_HEADER_USER_AGENT [/INST] Untrusted User-Agent header</s> |
<s>[INST] SERVLET_PARAMETER [/INST] Untrusted servlet parameter</s> |
<s>[INST] SERVLET_QUERY_STRING [/INST] Untrusted query string</s> |
<s>[INST] SERVLET_SERVER_NAME [/INST] Untrusted Hostname header</s> |
<s>[INST] SERVLET_SESSION_ID [/INST] Untrusted session cookie value</s> |
<s>[INST] SMTP_HEADER_INJECTION [/INST] SMTP Header Injection</s> |
<s>[INST] SPEL_INJECTION [/INST] Potential code injection when using Spring Expression</s> |
<s>[INST] SPRING_CSRF_PROTECTION_DISABLED [/INST] Spring CSRF protection disabled</s> |
<s>[INST] SPRING_CSRF_UNRESTRICTED_REQUEST_MAPPING [/INST] Spring CSRF unrestricted RequestMapping</s> |
<s>[INST] SPRING_ENDPOINT [/INST] Found Spring endpoint</s> |
<s>[INST] SPRING_FILE_DISCLOSURE [/INST] Spring File Disclosure</s> |
<s>[INST] SPRING_UNVALIDATED_REDIRECT [/INST] Spring Unvalidated Redirect</s> |
<s>[INST] SQL_INJECTION [/INST] Potential SQL Injection</s> |
<s>[INST] SQL_INJECTION_ANDROID [/INST] Potential Android SQL Injection</s> |
<s>[INST] SQL_INJECTION_HIBERNATE [/INST] Potential SQL/HQL Injection (Hibernate)</s> |
<s>[INST] SQL_INJECTION_JDBC [/INST] Potential JDBC Injection</s> |
<s>[INST] SQL_INJECTION_JDO [/INST] Potential SQL/JDOQL Injection (JDO)</s> |
<s>[INST] SQL_INJECTION_JPA [/INST] Potential SQL/JPQL Injection (JPA)</s> |
<s>[INST] SQL_INJECTION_SPRING_JDBC [/INST] Potential JDBC Injection (Spring JDBC)</s> |
<s>[INST] SQL_INJECTION_TURBINE [/INST] Potential SQL Injection with Turbine</s> |
<s>[INST] SSL_CONTEXT [/INST] Weak SSLContext</s> |
<s>[INST] STATIC_IV [/INST] Static IV</s> |
<s>[INST] STRUTS_FILE_DISCLOSURE [/INST] Struts File Disclosure</s> |
<s>[INST] STRUTS_FORM_VALIDATION [/INST] Struts Form without input validation</s> |
<s>[INST] STRUTS1_ENDPOINT [/INST] Found Struts 1 endpoint</s> |
<s>[INST] STRUTS2_ENDPOINT [/INST] Found Struts 2 endpoint</s> |
<s>[INST] TAPESTRY_ENDPOINT [/INST] Found Tapestry page</s> |
<s>[INST] TDES_USAGE [/INST] DESede is insecure</s> |
<s>[INST] TEMPLATE_INJECTION_FREEMARKER [/INST] Potential template injection with Freemarker</s> |
<s>[INST] TEMPLATE_INJECTION_VELOCITY [/INST] Potential template injection with Velocity</s> |
<s>[INST] TRUST_BOUNDARY_VIOLATION [/INST] Trust Boundary Violation</s> |
<s>[INST] UNENCRYPTED_SERVER_SOCKET [/INST] Unencrypted Server Socket</s> |
<s>[INST] UNENCRYPTED_SOCKET [/INST] Unencrypted Socket</s> |
<s>[INST] UNSAFE_HASH_EQUALS [/INST] Unsafe hash equals</s> |
<s>[INST] UNVALIDATED_REDIRECT [/INST] Unvalidated Redirect</s> |
<s>[INST] URL_REWRITING [/INST] URL rewriting method</s> |
<s>[INST] URLCONNECTION_SSRF_FD [/INST] URLConnection Server-Side Request Forgery (SSRF) and File Disclosure</s> |
<s>[INST] WEAK_FILENAMEUTILS [/INST] FilenameUtils not filtering null bytes</s> |
<s>[INST] WEAK_HOSTNAME_VERIFIER [/INST] HostnameVerifier that accept any signed certificates</s> |
<s>[INST] WEAK_MESSAGE_DIGEST_MD5 [/INST] MD2, MD4 and MD5 are weak hash functions</s> |
<s>[INST] WEAK_MESSAGE_DIGEST_SHA1 [/INST] SHA-1 is a weak hash function</s> |
<s>[INST] WEAK_TRUST_MANAGER [/INST] TrustManager that accept any certificates</s> |
<s>[INST] WICKET_ENDPOINT [/INST] Found Wicket WebPage</s> |
<s>[INST] XML_DECODER [/INST] XMLDecoder usage</s> |
<s>[INST] XPATH_INJECTION [/INST] Potential XPath Injection</s> |
<s>[INST] XSS_JSP_PRINT [/INST] Potential XSS in JSP</s> |
<s>[INST] XSS_REQUEST_WRAPPER [/INST] XSSRequestWrapper is a weak XSS protection</s> |
<s>[INST] XSS_SERVLET [/INST] Potential XSS in Servlet</s> |
<s>[INST] XXE_DOCUMENT [/INST] XML parsing vulnerable to XXE (DocumentBuilder)</s> |
<s>[INST] XXE_DTD_TRANSFORM_FACTORY [/INST] XML parsing vulnerable to XXE (TransformerFactory)</s> |
<s>[INST] XXE_SAXPARSER [/INST] XML parsing vulnerable to XXE (SAXParser)</s> |
<s>[INST] XXE_XMLREADER [/INST] XML parsing vulnerable to XXE (XMLReader)</s> |
<s>[INST] XXE_XMLSTREAMREADER [/INST] XML parsing vulnerable to XXE (XMLStreamReader)</s> |
<s>[INST] XXE_XSLT_TRANSFORM_FACTORY [/INST] XSLT parsing vulnerable to XXE (TransformerFactory)</s> |
<s>[INST] XSS_REQUEST_PARAMETER_TO_SEND_ERROR [/INST] Servlet reflected cross site scripting vulnerability in error page</s> |
<s>[INST] XSS_REQUEST_PARAMETER_TO_SERVLET_WRITER [/INST] Servlet reflected cross site scripting vulnerability</s> |
<s>[INST] XSS_REQUEST_PARAMETER_TO_JSP_WRITER [/INST] JSP reflected cross site scripting vulnerability</s> |
<s>[INST] HRS_REQUEST_PARAMETER_TO_HTTP_HEADER [/INST] HTTP Response splitting vulnerability</s> |
<s>[INST] HRS_REQUEST_PARAMETER_TO_COOKIE [/INST] HTTP cookie formed from untrusted input</s> |
<s>[INST] PT_ABSOLUTE_PATH_TRAVERSAL [/INST] Absolute path traversal in servlet</s> |
<s>[INST] PT_RELATIVE_PATH_TRAVERSAL [/INST] Relative path traversal in servlet</s> |
<s>[INST] DMI_CONSTANT_DB_PASSWORD [/INST] Hardcoded constant database password</s> |
<s>[INST] DMI_EMPTY_DB_PASSWORD [/INST] Empty database password</s> |
<s>[INST] ME_ENUM_FIELD_SETTER [/INST] Public enum method unconditionally sets its field</s> |
<s>[INST] DP_DO_INSIDE_DO_PRIVILEGED [/INST] Method invoked that should be only be invoked inside a doPrivileged block</s> |
<s>[INST] DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED [/INST] Classloaders should only be created inside doPrivileged block</s> |
<s>[INST] XXE_XPATH [/INST] XML External Entity (XXE) attacks can occur when an XML parser supports XML entities while processing XML received from an untrusted source.</s> |
<s>[INST] SPRING_ENTITY_LEAK [/INST] Persistent objects should never be returned/accepted by APIs. They might lead to leaking business logic over the UI, unauthorized tampering of persistent objects in database.</s> |
<s>[INST] RPC_ENABLED_EXTENSIONS [/INST] Enabling extensions in Apache XML RPC server or client can lead to deserialization vulnerability which would allow an attacker to execute arbitrary code.</s> |
<s>[INST] WICKET_XSS1 [/INST] Disabling HTML escaping put the application at risk for Cross-Site Scripting (XSS).</s> |
<s>[INST] JumbledIncrementer [/INST] Avoid modifying an outer loop incrementer in an inner loop for update expression</s> |
<s>[INST] ForLoopShouldBeWhileLoop [/INST] This for loop could be simplified to a while loop</s> |
<s>[INST] OverrideBothEqualsAndHashcode [/INST] Ensure you override both equals() and hashCode()</s> |
<s>[INST] DoubleCheckedLocking [/INST] Double checked locking is not thread safe in Java.</s> |
<s>[INST] ReturnFromFinallyBlock [/INST] Avoid returning from a finally block</s> |
<s>[INST] UnconditionalIfStatement [/INST] Do not use 'if' statements that are always true or always false</s> |
<s>[INST] CollapsibleIfStatements [/INST] These nested if statements could be combined</s> |
<s>[INST] ClassCastExceptionWithToArray [/INST] This usage of the Collection.toArray() method will throw a ClassCastException.</s> |
<s>[INST] AvoidDecimalLiteralsInBigDecimalConstructor [/INST] Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal</s> |
<s>[INST] MisplacedNullCheck [/INST] The null check here is misplaced; if the variable is null there will be a NullPointerException</s> |
<s>[INST] AvoidThreadGroup [/INST] Avoid using java.lang.ThreadGroup; it is not thread safe</s> |
<s>[INST] BrokenNullCheck [/INST] Method call on object which may be null</s> |
<s>[INST] BigIntegerInstantiation [/INST] Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN)</s> |
<s>[INST] AvoidUsingOctalValues [/INST] Do not start a literal by 0 unless it's an octal value</s> |
<s>[INST] AvoidUsingHardCodedIP [/INST] Do not hard code the IP address ${variableName}</s> |
<s>[INST] CheckResultSet [/INST] Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.</s> |
<s>[INST] AvoidMultipleUnaryOperators [/INST] Using multiple unary operators may be a bug, and/or is confusing.</s> |
<s>[INST] ExtendsObject [/INST] No need to explicitly extend Object.</s> |
<s>[INST] CheckSkipResult [/INST] Check the value returned by the skip() method of an InputStream to see if the requested number of bytes has been skipped.</s> |
<s>[INST] AvoidBranchingStatementAsLastInLoop [/INST] Avoid using a branching statement as the last in a loop.</s> |
<s>[INST] DontCallThreadRun [/INST] Don't call Thread.run() explicitly, use Thread.start()</s> |
<s>[INST] DontUseFloatTypeForLoopIndices [/INST] Don't use floating point for loop indices. If you must use floating point, use double.</s> |
<s>[INST] SimplifiedTernary [/INST] Ternary operators that can be simplified with || or &&</s> |
<s>[INST] IfStmtsMustUseBraces [/INST] Avoid using if statements without curly braces</s> |
<s>[INST] WhileLoopsMustUseBraces [/INST] Avoid using 'while' statements without curly braces</s> |
<s>[INST] IfElseStmtsMustUseBraces [/INST] Avoid using 'if...else' statements without curly braces</s> |
<s>[INST] ForLoopsMustUseBraces [/INST] Avoid using 'for' statements without curly braces</s> |
<s>[INST] ProperCloneImplementation [/INST] Object clone() should be implemented with super.clone()</s> |
<s>[INST] CloneMethodMustImplementCloneable [/INST] clone() method should be implemented only if implementing Cloneable interface</s> |
<s>[INST] CloneMethodReturnTypeMustMatchClassName [/INST] The return type of the clone() method must be the class name when implements Cloneable</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.