Used by these directives:
dataflow_checker_name, method_returns_tainted_data,
simple_entry_point, tainted_data
Used by these objects:
InputAndAccessPathSpecifier, TaintKindGroup
A TaintKind value describes a single taint kind. It has one of the
values listed in this section. TaintKind values are divided into
different groups that you can refer to collectively in some directives by using a
TaintKindGroup.
The following taint kinds are relevant to server-side Web applications and other server-side applications:
cookie: Data from HTTP cookies. See the--trust-cookiesand--distrust-cookiesoptions to thecov-analyzecommand.command_line: Data from the command line. See the--trust-command-lineand--distrust-command-lineoptions to thecov-analyzecommand.console: Data from the console. See the--trust-consoleand--distrust-consoleoptions to thecov-analyzecommand.database: Data from a database. See the--trust-databaseand--distrust-databaseoptions to thecov-analyzecommand.environment: Data from environment variables. See the--trust-environmentand--distrust-environmentoptions to thecov-analyzecommand.filesystem: Data read from a file. See the--trust-filesystemand--distrust-filesystemoptions to thecov-analyzecommand.http: Data from incoming HTTP requests. This does not include headers or cookies. See the--trust-httpand--distrust-httpoptions to thecov-analyzecommand.http_header: Data from HTTP headers. See the--trust-http-headerand--distrust-http-headeroptions to thecov-analyzecommand.network: Data from network connections. This does not include data from incoming HTTP requests or remote procedure calls. See the--trust-networkand--distrust-networkoptions to thecov-analyzecommand.rpc: Data returned from remote procedure calls (RPC). See the--trust-rpcand--distrust-rpcoptions to thecov-analyzecommand.system_properties: Data on system properties. See the--trust-system-propertiesand--distrust-system-propertiesoptions to thecov-analyzecommand.
The following taint kinds are relevant to client-side JavaScript code (that is, JavaScript that runs in a Web browser):
js_client_cookie-
Data from the JavaScript
document.cookie. See the--trust-js-client-cookieand--distrust-js-client-cookieoptions to thecov-analyzecommand. js_client_external-
Data from the response to an
XMLHttpRequestor similar. See the--trust-js-client-externaland--distrust-js-client-externaloptions to thecov-analyze command. js_client_html_element-
Data from user input on HTML elements such as
textareaandinputelements. See the--trust-js-client-html-elementand--distrust-js-client-html-elementoptions to thecov-analyzecommand. js_client_http_referer-
Data from the
refererHTTP header (fromdocument.referrer). See the--trust-js-client-http-refererand--distrust-js-client-http-refereroptions to thecov-analyzecommand. js_client_http_header-
Data from the HTTP response header of the response to an
XMLHttpRequestor similar. See the--trust-js-client-http-headerand--distrust-js-client-http-headeroptions to thecov-analyzecommand. js_client_other_origin-
Data from content in another frame or from another origin, for instance, from
window.name. See the--trust-other-originandoptions to the--distrust-other-origincov-analyzecommand. js_client_url_query_or_fragment-
Data from the query or fragment part of the URL, for instance,
location.hashorlocation.query. See the--trust-url-query-or-fragmentand--distrust-url-query-or-fragmentoptions to thecov-analyzecommand.
The following taint kinds are relevant to mobile applications:
mobile_other_app-
Data received from any mobile application that does not require a permission to communicate with the current application component. See the
--trust-mobile-other-appand--distrust-mobile-other-appoptions to thecov-analyzecommand. mobile_same_app-
Data received from the same mobile application. See the
--trust-mobile-same-appand--distrust-mobile-same-appoptions to thecov-analyzecommand. mobile_user_input-
Data obtained from user inputs into a mobile application. See the
--trust-mobile-user-inputand--distrust-mobile-user-inputoptions to thecov-analyzecommand. mobile_other_privileged_app-
Data received from any mobile application that requires a permission to communicate with the current application component. See the
--trust-mobile-other-privileged-appand--distrust-mobile--other-privileged-appoptions to thecov-analyzecommand.
The following taint kinds represent sensitive data, rather than data controlled by an attacker:
decrypted-
Decrypted data
password-
A password
token-
An authentication token
session_id-
A session ID
mobile_id-
A mobile device ID
user_id-
An application user ID
national_id-
A national ID
persistent_secret-
Persistent secret data, such as an encryption key
transient_secret-
Transient secret data, such as a TLS ticket
seed-
A seed for a randomization algorithm
cardholder_data-
Payment cardholder data
account-
Account data
transaction-
Transaction data
medical-
Medical data
biometric-
Biometric data
geographical-
Sensitive geographical data
exception-
Information about an application exception
source_code-
Application source code
configuration-
Configuration data
bug-
Information about a bug in the application
file path-
A path on the filesystem
directory_listing-
A directory listing
system_memory-
Information about system memory usage
system_user-
System user data
platform-
Information about the runtime platform