Global

Members

(constant) Contexts :string

Description:
  • Darwinium context for key input fields
Properties:
Name Type Description
PASSWORD string The form field where the password is entered.,
LOGIN string The form field where the login is entered.,
EMAIL string The form field where the email address is entered.,
FULL_NAME string The form field where a full name is entered.,
FIRST_NAME string The form field where the first name is entered.,
LAST_NAME string The form field where the last name is entered.,
TELEPHONE string The form field where the telephone/mobile/cell number is entered.,
ADDRESS_STREET1 string The address street 1 form field.,
ADDRESS_STREET2 string The address street 2 form field.,
ADDRESS_STREET3 string The address street 3 form field.,
CREDIT_CARD string The card number form field.,
SOCIAL_SECURITY string The social security form field.,
GENERAL_PURPOSE_ONE string The first general purpose form field.,
GENERAL_PURPOSE_TWO string The second general purpose form field.,
ACCOUNT_NUMBER string The form field where the customer account number (non-banking) is entered.,
BANK_ACCOUNT_NUMBER string The form field where the bank account number is entered.,
BANK_ACCOUNT_ROUTING_NUMBER string The routing code/number accompanying the account number e.g RTN/Sort Code/SWIFT/BSB etc for the account.,
IBAN string The form field where the IBAN is entered.,
POLICY_NUMBER string The insurance policy number form field.,
DRIVERS_LICENCE string The form field where the drivers license number is entered.,
NATIONAL_ID string The form field where the identifier/number for the national id is entered.,
USER_NAME string The form field where the username is entered.,
DATE_OF_BIRTH string The form field where date of birth is entered.,
CURRENCY_AMOUNT string The form field where the currency amount/total is entered for payments and purchases.
Darwinium context for key input fields
Type:
  • string

(constant) Signals :string

Description:
  • Profiling signals
Properties:
Name Type Description
UNKNOWN number 0; // An signal that was not decoded correctly (possibly corrupt message or javascript error)
JAVASCRIPT_LOADED number 1; // javascript downloaded
JAVASCRIPT_STARTED number 2; // javascript executed
GEO_DISABLED number 3; // geo location is disabled
GEO_FAILED_UNKNOWN number 4; // something wrong with geo location permission, failed to get it
PROFILING_FETCH_FAILED_SERVER number 5; // profiling Fetch failed due to server error
PROFILING_FETCH_FAILED_UNKNOWN number 6; // profiling Fetch failed with unknown reason
PROFILING_AJAX_FAILED_SERVER number 7; // profiling ajax/xhr failed due to server error
PROFILING_AJAX_FAILED_UNKNOWN number 8; // profiling ajax/xhr failed with unknown reason
HTTPS_PROFILING_FETCH_FAILED_SERVER number 9; // https profiling Fetch failed due to server error
HTTPS_PROFILING_FETCH_FAILED_UNKNOWN number 10; // https profiling Fetch failed with unknown reason
HTTPS_PROFILING_AJAX_FAILED_SERVER number 11; // https profiling ajax/xhr failed due to server error
HTTPS_PROFILING_AJAX_FAILED_UNKNOWN number 12; // https profiling ajax/xhr failed with unknown reason
DNS_PROFILING_FETCH_FAILED_SERVER number 13; // dns profiling Fetch failed due to server error
DNS_PROFILING_FETCH_FAILED_UNKNOWN number 14; // dns profiling Fetch failed with unknown reason
DNS_PROFILING_AJAX_FAILED_SERVER number 15; // dns profiling ajax/xhr failed due to server error
DNS_PROFILING_AJAX_FAILED_UNKNOWN number 16; // dns profiling ajax/xhr failed with unknown reason
MOUSE_BIOMETRICS_DISABLED number 17; // mouse BM not injected, e.g. snippet disable it
TOUCH_BIOMETRICS_DISABLED number 18; // touch BM not injected, e.g. snippet disable it
SENSOR_BIOMETRICS_DISABLED number 19; // sensor BM not injected, e.g. snippet disable it
KEY_BIOMETRICS_DISABLED number 20; // key BM not injected, e.g. snippet disable it
IOS_SENSOR_DENIED_BY_USER number 21; // the following are for javascript ios sensor
IOS_SENSOR_PERMISSION_ERROR number 22; // failed to get sensor permission
IOS_SENSOR_DISABLED number 23; // disabled on ios setting
IOS_SENSOR_NOT_TRIGGERED number 24; // ios sensor only triggered on human jesture, like click, website
SENSOR_GYROSCOPE_DENIED_BY_USER number 25; // sensor GYROSCOPE denied by user
SENSOR_GYROSCOPE_PERMISSION_FAILED number 26; // failed to get sensor GYROSCOPE permission
SENSOR_ACCELEROMETER_DENIED_BY_USER number 27; // sensor ACCELEROMETER denied by user
SENSOR_ACCELEROMETER_PERMISSION_FAILED number 28; // failed to get sensor ACCELEROMETER permission
SENSOR_AMBIENT_LIGHT_DENIED_BY_USER number 29; // sensor AMBIENT_LIGHT denied by user
SENSOR_AMBIENT_LIGHT_PERMISSION_FAILED number 30; // failed to get sensor AMBIENT_LIGHT permission
SENSOR_MAGNETOMETER_DENIED_BY_USER number 31; // sensor MAGNETOMETER denied by user
SENSOR_MAGNETOMETER_PERMISSION_FAILED number 32; // failed to get sensor MAGNETOMETER permission
GEO_DENIED_HTTP_PROTOCOL number 33; // location only work on https, set this signal when
GEO_DENIED_BY_USER number 34; // user denied location permission
PROFILING_NOT_STOPPED number 35; // stop() mainly stop all the BM listeners, we strongly sugguest that clients call it before collect()
ERROR_ON_START number 36; // For both WEB and SDK, catched error/exception on start(), stop() and collect()
ERROR_ON_STOP number 37; // Exception on profiling.stop()
ERROR_ON_COLLECT number 38; // Exception on profiling.collect()
ERROR_ON_PROFILING number 39; // Exception on profiling
ERROR_ON_SENSOR number 40; // Exception on sensor profiling
ERROR_ON_TOUCH number 41; // Exception on touch profiling
ERROR_ON_KEY number 42; // Exception on keyboard profiling
ERROR_ON_MOUSE number 43; // Exception on mouse profiling
KEY_INPUT_FIELDS_EMPTY number 44; // indicates not adding keyboard input fields for BM
NONCE_REQUEST_FAILED number 45; // failed to get nonce from https profiling request
WEBRTC_SENT number 46; // webrtc request sent
WEBRTC_NOT_SUPPORTED number 47; // webrtc not supported on browser
WEBRTC_TIMEOUT number 48; // webrtc request timeout
WEBRTC_CONNECT_ERROR number 49; // webrtc request had connection issue
WEBRTC_FAILED number 50; // webrtc request failed // sensor only works for https not http
SENSOR_DISABLED_HTTP_PROTOCOL number 51; // sensor only works with https, disabled with http
PRIVATE_FAILED_HTTP_PROTOCOL number 52; // private browser detection only works with https, disabled with http // profiling JS is within iframe
PROFILING_IFRAME number 53; // profiling within iframe
PROFILING_HTTP number 54; // profiling with http not https
IFRAME_CROSS_ORIGIN number 55; // iframe with cross_origin // remote desktop app detection: failure on referer port
RAT_REFERER_PORT_FAIL number 56; // remote desktop app detection: all ports openning
RAT_ALL_PORTS_OPEN number 57; // SDK signals: 100-200 common, 200+ android, 300+ ios // file guid is a guid stored in a file, we verify the content and timestamp
FILE_GUID_CONTENT_ABNORMAL number 100; // file guid has abnormal content
FILE_GUID_TIMESTAMP_ABNORMAL number 101; // file guid has abnormal timestamp
FILE_GUID_READ_FAILED number 103; // file guid failed to read
PROFILING_DEBUG_DISABLED number 102; // if anything went wrong during profiling(js/sdk), there is profiling_debug to record the detail, profiling_debug is NOT empty, which means something wrong, something wrong and profiling_debug is disabled, set this signal
PROFILING_NOT_STARTED number 104; // tag instance not started
HTTPS_PROFILING_NOT_ENABLED number 105; // https profiling request is disabled
HTTPS_PROFILING_FAILED number 106; // https profiling request failed with unknown reason
HTTPS_PROFILING_SERVER_RESPONSE_WRONG number 107; // https profiling request got wrong response from server
DNS_PROFILING_NOT_ENABLED number 110; // dns profiling request is disabled
DNS_PROFILING_FAILED number 111; // dns profiling request failed with unknown reason
DNS_PROFILING_SERVER_RESPONSE_WRONG number 112; // dns profiling request got wrong response from server
STORAGE_GUID_CONTENT_ABNORMAL number 113; // storage guid has abnormal content
KEYSTORE_GUID_CONTENT_ABNORMAL number 114; // keystore guid has abnormal content
WEBRTC_TCP_REQUEST_FAILED number 115; // webrtc tcp request failed
WEBRTC_UDP_REQUEST_FAILED number 116; // webrtc udp request failed
WEBRTC_TCP_RESPONSE_MALFORMATION number 117; // webrtc tcp response data has wrong format
WEBRTC_UDP_RESPONSE_MALFORMATION number 118; // webrtc udp response data has wrong format
WEBRTC_TCP_REQUEST_SEND_FAILED number 119; // webrtc tcp request failed to send data out
WEBRTC_UDP_REQUEST_SEND_FAILED number 120; // webrtc udp request failed to send data out
WEBRTC_TCP_REQUEST_RECEIVE_FAILED number 121; // webrtc tcp request failed to receive data
WEBRTC_UDP_REQUEST_RECEIVE_FAILED number 122; // webrtc udp request failed to receive data // 200+ signals are dedicated for android SDK
LOCATION_PERMISSION_DISABLED number 200; // location is disabled on setting
ACCESS_COARSE_LOCATION_DENIED number 201; // denied by user/setting
ACCESS_FINE_LOCATION_DENIED number 202; // denied by user/setting
READ_PHONE_STATE_DENIED number 203; // denied by user/setting
READ_PHONE_NUMBERS_DENIED number 204; // denied by user/setting
ACCESS_WIFI_STATE_DENIED number 205; // denied by user/setting
ACCESS_NETWORK_STATE_DENIED number 206; // denied by user/setting
ACTIVITIES_NOT_INITIALIZED number 207; // activity not initialized
MISSING_LIB_PREFERENCE number 210; // preference lib is not included in dependence
MISSING_LIB_ADS number 211; // ads lib is not included in dependence
MISSING_LIB_LOCATION number 212; // location lib is not included in dependence
SENSOR_VERSION_TOO_LOW number 213; // Android version is too low to sensor detection
MISSING_ACTIVITY number 214; // no activity/context passsed in sdk
BLOOMFILTER_NO_ETAG number 215; // no etag in response header
BLOOMFILTER_REQUEST_FAILED number 216; // request failed, not 200/302 response
BLOOMFILTER_RESPONSE_FAILED number 217; // response failed,
BLOOMFILTER_NOT_MODIFIED number 218; // 302 response, load bloom filter from file
BLOOMFILTER_READ_FILE_FAILED number 219; // Failed to convert input stream to bloom filter
BLOOMFILTER_LOCATE_FILE_FAILED number 220; // failed to locate bloom filter file
BLOOMFILTER_SELF_TEST_FAILED number 221; // failed for bloom filter self testing
HAS_SIDE_LOADED_PACKAGES number 222; // some apps are sideloaded
APP_IS_SIDE_LOADED number 223; // this app is sideloaded
PACKAGE_SOURCE_NOT_EXIST number 224; // package source not existing
MISSING_AUDIO_SERVICE number 225; //
MISSING_PACKAGE_NAME number 226; //
MISSING_PACKAGE_MANAGER number 227; //
MISSING_PACKAGE_INFO number 228; //
MISSING_SOURCE_DIR number 229; //
MISSING_TELEPHONY_MANAGER number 230; //
MISSING_TELECOM_MANAGER number 231; //
MISSING_ADVERTISING_INFO number 232; //
ADVERTISING_ID_TRACK_DISABLED number 233; //
MISSING_CONNECTIVITY_MANAGER number 234; //
MISSING_ACTIVE_NETWORK number 235; //
MISSING_APP_DATA_DIR number 236; //
MISSING_CONTENT_RESOLVER number 237; //
MISSING_SYSTEM_PROPERTIES number 238; //
MISSING_ENV_DATA_PATH number 239; //
MISSING_WIFI_MANAGER number 240; //
MISSING_WIFI_INFO number 241; //
MISSING_APP_PACKAGE_NAME number 242; //
MISSING_TELEPHONY_SUBSCRIPTION_SERVICE number 243; //
MISSING_CAMERA_SERVICE number 244; //
MISSING_SENSOR_MANAGER number 245; //
MISSING_INPUTMETHOD_MANAGER number 246; //
INFO_PLIST_NO_LOCATION number 300; // no location permission on info.plist which means
LOCATION_SERVICE_DISABLED number 301; // location is disabled on locationManager
LOCATION_PERMISSION_DENIED number 302; // location is enabled but denied by user
LOCATION_PERMISSION_NOT_DETERMINED number 303; // location is enabled but
TRACKING_PERMISSION_DENIED number 304; // tracking is enabled but denied by user, for advertising id
TRACKING_PERMISSION_NOT_DETERMINED number 305; // tracking is enabled but
INFO_PLIST_NO_TRACKING number 306; // No tracking permission on info.plist which means
Profiling signals
Type:
  • string

dwn_ns

Description:
  • darwinium namespace, use this one to share all the functions for modularise JS
darwinium namespace, use this one to share all the functions for modularise JS

Methods

load() → {*}

Returns:
Type
*