text
stringlengths
41
445
<s>[INST] MTIA_SUSPECT_STRUTS_INSTANCE_FIELD [/INST] Class extends Struts Action class and uses instance variables</s>
<s>[INST] MTIA_SUSPECT_SERVLET_INSTANCE_FIELD [/INST] Class extends Servlet class and uses instance variables</s>
<s>[INST] PS_PUBLIC_SEMAPHORES [/INST] Class exposes synchronization and semaphores in its public interface</s>
<s>[INST] ICAST_INTEGER_MULTIPLY_CAST_TO_LONG [/INST] Result of integer multiplication cast to long</s>
<s>[INST] ICAST_IDIV_CAST_TO_DOUBLE [/INST] Integral division result cast to double or float</s>
<s>[INST] BC_BAD_CAST_TO_CONCRETE_COLLECTION [/INST] Questionable cast to concrete collection</s>
<s>[INST] BC_UNCONFIRMED_CAST [/INST] Unchecked/unconfirmed cast</s>
<s>[INST] BC_UNCONFIRMED_CAST_OF_RETURN_VALUE [/INST] Unchecked/unconfirmed cast of return value from method</s>
<s>[INST] BC_VACUOUS_INSTANCEOF [/INST] instanceof will always return true</s>
<s>[INST] BC_BAD_CAST_TO_ABSTRACT_COLLECTION [/INST] Questionable cast to abstract collection</s>
<s>[INST] IM_BAD_CHECK_FOR_ODD [/INST] Check for oddness that won’t work for negative numbers</s>
<s>[INST] IM_AVERAGE_COMPUTATION_COULD_OVERFLOW [/INST] Computation of average could overflow</s>
<s>[INST] ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT [/INST] Unsigned right shift cast to short/byte</s>
<s>[INST] DMI_HARDCODED_ABSOLUTE_FILENAME [/INST] Code contains a hard coded reference to an absolute pathname</s>
<s>[INST] DMI_USELESS_SUBSTRING [/INST] Invocation of substring</s>
<s>[INST] ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD [/INST] Write to static field from instance method</s>
<s>[INST] DMI_NONSERIALIZABLE_OBJECT_WRITTEN [/INST] Non serializable object written to ObjectOutput</s>
<s>[INST] DB_DUPLICATE_BRANCHES [/INST] Method uses the same code for two branches</s>
<s>[INST] DB_DUPLICATE_SWITCH_CLAUSES [/INST] Method uses the same code for two switch clauses</s>
<s>[INST] XFB_XML_FACTORY_BYPASS [/INST] Method directly allocates a specific implementation of xml interfaces</s>
<s>[INST] USM_USELESS_SUBCLASS_METHOD [/INST] Method superfluously delegates to parent class method</s>
<s>[INST] USM_USELESS_ABSTRACT_METHOD [/INST] Abstract Method is already defined in implemented interface</s>
<s>[INST] CI_CONFUSED_INHERITANCE [/INST] Class is final but declares protected field</s>
<s>[INST] TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_NEVER_SINK [/INST] Value required to not have type qualifier, but marked as unknown</s>
<s>[INST] TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_ALWAYS_SINK [/INST] Value required to have type qualifier, but marked as unknown</s>
<s>[INST] NP_METHOD_RETURN_RELAXING_ANNOTATION [/INST] Method relaxes nullness annotation on return value</s>
<s>[INST] NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION [/INST] Method tightens nullness annotation on parameter</s>
<s>[INST] ANDROID_BROADCAST [/INST] Broadcast (Android)</s>
<s>[INST] ANDROID_EXTERNAL_FILE_ACCESS [/INST] External file access (Android)</s>
<s>[INST] ANDROID_GEOLOCATION [/INST] WebView with geolocation activated (Android)</s>
<s>[INST] ANDROID_WEB_VIEW_JAVASCRIPT [/INST] WebView with JavaScript enabled (Android)</s>
<s>[INST] ANDROID_WEB_VIEW_JAVASCRIPT_INTERFACE [/INST] WebView with JavaScript interface (Android)</s>
<s>[INST] ANDROID_WORLD_WRITABLE [/INST] World writable file (Android)</s>
<s>[INST] AWS_QUERY_INJECTION [/INST] AWS Query Injection</s>
<s>[INST] BAD_HEXA_CONVERSION [/INST] Bad hexadecimal concatenation</s>
<s>[INST] BEAN_PROPERTY_INJECTION [/INST] JavaBeans Property Injection</s>
<s>[INST] BLOWFISH_KEY_SIZE [/INST] Blowfish usage with short key</s>
<s>[INST] CIPHER_INTEGRITY [/INST] Cipher with no integrity</s>
<s>[INST] COMMAND_INJECTION [/INST] Potential Command Injection</s>
<s>[INST] COOKIE_PERSISTENT [/INST] Persistent Cookie Usage</s>
<s>[INST] COOKIE_USAGE [/INST] Potentially sensitive data in a cookie</s>
<s>[INST] CRLF_INJECTION_LOGS [/INST] Potential CRLF Injection for logs</s>
<s>[INST] CUSTOM_INJECTION [/INST] Potential injection (custom)</s>
<s>[INST] CUSTOM_MESSAGE_DIGEST [/INST] Message digest is custom</s>
<s>[INST] DEFAULT_HTTP_CLIENT [/INST] DefaultHttpClient with default constructor is not compatible with TLS 1.2</s>
<s>[INST] DES_USAGE [/INST] DES is insecure</s>
<s>[INST] DESERIALIZATION_GADGET [/INST] This class could be used as deserialization gadget</s>
<s>[INST] ECB_MODE [/INST] ECB mode is insecure</s>
<s>[INST] EL_INJECTION [/INST] Potential code injection when using Expression Language (EL)</s>
<s>[INST] ESAPI_ENCRYPTOR [/INST] Use of ESAPI Encryptor</s>
<s>[INST] EXTERNAL_CONFIG_CONTROL [/INST] Potential external control of configuration</s>
<s>[INST] FILE_UPLOAD_FILENAME [/INST] Tainted filename read</s>
<s>[INST] FORMAT_STRING_MANIPULATION [/INST] Format String Manipulation</s>
<s>[INST] HARD_CODE_KEY [/INST] Hard Coded Key</s>
<s>[INST] HARD_CODE_PASSWORD [/INST] Hard Coded Password</s>
<s>[INST] HAZELCAST_SYMMETRIC_ENCRYPTION [/INST] Hazelcast symmetric encryption</s>
<s>[INST] HTTP_PARAMETER_POLLUTION [/INST] HTTP Parameter Pollution</s>
<s>[INST] HTTP_RESPONSE_SPLITTING [/INST] Potential HTTP Response Splitting</s>
<s>[INST] HTTPONLY_COOKIE [/INST] Cookie without the HttpOnly flag</s>
<s>[INST] INFORMATION_EXPOSURE_THROUGH_AN_ERROR_MESSAGE [/INST] Information Exposure Through An Error Message</s>
<s>[INST] INSECURE_COOKIE [/INST] Cookie without the secure flag</s>
<s>[INST] INSECURE_SMTP_SSL [/INST] Insecure SMTP SSL connection</s>
<s>[INST] JACKSON_UNSAFE_DESERIALIZATION [/INST] Unsafe Jackson deserialization configuration</s>
<s>[INST] JAXRS_ENDPOINT [/INST] Found JAX-RS REST endpoint</s>
<s>[INST] JAXWS_ENDPOINT [/INST] Found JAX-WS SOAP endpoint</s>
<s>[INST] JSP_INCLUDE [/INST] Dynamic JSP inclusion</s>
<s>[INST] JSP_JSTL_OUT [/INST] Escaping of special XML characters is disabled</s>
<s>[INST] JSP_SPRING_EVAL [/INST] Dynamic variable in Spring expression</s>
<s>[INST] JSP_XSLT [/INST] A malicious XSLT could be provided</s>
<s>[INST] LDAP_ANONYMOUS [/INST] Anonymous LDAP bind</s>
<s>[INST] LDAP_ENTRY_POISONING [/INST] LDAP Entry Poisoning</s>
<s>[INST] LDAP_INJECTION [/INST] Potential LDAP Injection</s>
<s>[INST] MALICIOUS_XSLT [/INST] A malicious XSLT could be provided</s>
<s>[INST] NULL_CIPHER [/INST] NullCipher is insecure</s>
<s>[INST] OBJECT_DESERIALIZATION [/INST] Object deserialization is used</s>
<s>[INST] OGNL_INJECTION [/INST] Potential code injection when using OGNL expression</s>
<s>[INST] PADDING_ORACLE [/INST] Cipher is susceptible to Padding Oracle</s>
<s>[INST] PATH_TRAVERSAL_IN [/INST] Potential Path Traversal (file read)</s>
<s>[INST] PATH_TRAVERSAL_OUT [/INST] Potential Path Traversal (file write)</s>
<s>[INST] PERMISSIVE_CORS [/INST] Overly permissive CORS policy</s>
<s>[INST] PLAY_UNVALIDATED_REDIRECT [/INST] Unvalidated Redirect (Play Framework)</s>
<s>[INST] PREDICTABLE_RANDOM [/INST] Predictable pseudorandom number generator</s>
<s>[INST] PREDICTABLE_RANDOM_SCALA [/INST] Predictable pseudorandom number generator (Scala)</s>
<s>[INST] REDOS [/INST] Regex DOS (ReDOS)</s>
<s>[INST] REQUESTDISPATCHER_FILE_DISCLOSURE [/INST] RequestDispatcher File Disclosure</s>
<s>[INST] RSA_KEY_SIZE [/INST] RSA usage with short key</s>
<s>[INST] RSA_NO_PADDING [/INST] RSA with no padding is insecure</s>
<s>[INST] SCALA_COMMAND_INJECTION [/INST] Potential Command Injection (Scala)</s>
<s>[INST] SCALA_PATH_TRAVERSAL_IN [/INST] Potential Path Traversal (file read)</s>
<s>[INST] SCALA_PLAY_SSRF [/INST] Scala Play Server-Side Request Forgery (SSRF)</s>
<s>[INST] SCALA_SENSITIVE_DATA_EXPOSURE [/INST] Potential information leakage in Scala Play</s>
<s>[INST] SCALA_SQL_INJECTION_ANORM [/INST] Potential Scala Anorm Injection</s>
<s>[INST] SCALA_SQL_INJECTION_SLICK [/INST] Potential Scala Slick Injection</s>
<s>[INST] SCALA_XSS_MVC_API [/INST] Potential XSS in Scala MVC API engine</s>
<s>[INST] SCALA_XSS_TWIRL [/INST] Potential XSS in Scala Twirl template engine</s>
<s>[INST] SCRIPT_ENGINE_INJECTION [/INST] Potential code injection when using Script Engine</s>
<s>[INST] SEAM_LOG_INJECTION [/INST] Potential code injection in Seam logging call</s>
<s>[INST] SERVLET_CONTENT_TYPE [/INST] Untrusted Content-Type header</s>
<s>[INST] SERVLET_HEADER [/INST] HTTP headers untrusted</s>
<s>[INST] SERVLET_HEADER_REFERER [/INST] Untrusted Referer header</s>