fingerly 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b88a73350975aa92bb9841d3fc4f69bb56a57cbe2ac47355e9dfb756cbb39f64
4
- data.tar.gz: 587553cf25659f1de108734cd561fc76250ec1e18d6fbe20f76c443bec790953
3
+ metadata.gz: d9f61d278d71cff8fb1d96bbef43b0b8250c853fe80bd435f793cb49bf0cc868
4
+ data.tar.gz: 5780d0a045f1d71e7611b6dde3ce677be62a2774c307bcafb8e7534390817a3a
5
5
  SHA512:
6
- metadata.gz: 4ceef7c71db61e96650a64bb01068886cd53af092601003d38eba787fc74a38af3ba7916440600b6de8cca7eee3917777a44e23a2449c48503d3a21bc0993bea
7
- data.tar.gz: 7427d309f6de7e37c479958cf7ca72568dc0998816a905838a58a81d9113ad11218c1c5f320800fda3b9d15a3c1f325225d5b014e1d8beb49208fcd57f3668fb
6
+ metadata.gz: 1a04cf7538173042e840c04c68b2e7c6a84b1e0497e275fdd2049658ff796e1bd1a1d88a5b3516e09440823b79db60571afa18478a4ff763fddec58c8d640861
7
+ data.tar.gz: 14af23a6d30c934572ef434017698cf00ec1f2934b3e2c392db7683119e8514566619bc161c6f762e97c7345b4d83724b03e0a3056e0d9737634e0ad92d35910
data/README.md CHANGED
@@ -36,7 +36,7 @@ device behind each session and scores how suspicious it is.
36
36
  2. **Install.** Add it to your `Gemfile`:
37
37
 
38
38
  ```ruby
39
- gem "fingerly", "~> 0.5.0"
39
+ gem "fingerly", "~> 0.5.2"
40
40
  ```
41
41
 
42
42
  3. **Read an event.**
@@ -533,7 +533,7 @@ then sees a path that is not its own and answers `404`.
533
533
  | Origin or platform | Requests without either `Origin` or a validated native `X-Fingerly-SDK-Platform` header (`ios`, `android`, `react-native`, `react-native-ios`, `react-native-android`, `flutter`, `flutter-ios`, `flutter-android`, `lynx-ios`, `lynx-android`, `capacitor`, `kotlin-multiplatform`) are rejected locally with `400` (`missing_origin`), and `x-fingerly-origin` is never synthesized from `Host`, `Referer` or the request URL. A request is forwarded on one channel only: with an `Origin` the proxy sends `x-fingerly-origin` and drops the platform header, and without one it sends the validated platform. |
534
534
  | Body size | Bodies over 1 MiB get `413`, enforced while reading rather than after buffering. |
535
535
  | Forwarded headers | All incoming `x-fingerly-*`, `cookie` and `authorization` headers are stripped, restoring only a validated `x-fingerly-sdk-platform` (when there is no `Origin`) alongside `x-fingerly-host`, `idempotency-key`, `sec-fetch-*`, `sec-ch-ua-*` and the Web Bot Auth `signature`, `signature-input` and `signature-agent` (each dropped when over 4096 bytes). |
536
- | Proxy identity | The proxy reports itself upstream as `ruby/0.5.0` in `x-fingerly-proxy-version`, which the dashboard shows per proxy. |
536
+ | Proxy identity | The proxy reports itself upstream as `ruby/0.5.2` in `x-fingerly-proxy-version`, which the dashboard shows per proxy. |
537
537
  | Fingerly unreachable | The visitor gets a gateway error rather than your application's `500`. |
538
538
  | Deadline passes | `504 Gateway timeout` when `timeout:` (5 seconds by default) passes. |
539
539
  | Any other upstream failure | `502 Bad gateway`, whether the connection was refused or reset, the name did not resolve, or the answer was malformed, cut short or over 4 MiB. Redirects are never followed, and an upstream redirect or a status outside `200` to `599` is answered `502` as well. |
@@ -66,6 +66,7 @@ module Fingerly
66
66
  # Detectors only a native application can produce.
67
67
  EMULATOR = "emulator"
68
68
  ROOT_APPS = "root_apps"
69
+ BOOTLOADER_UNLOCKED = "bootloader_unlocked"
69
70
  APP_CLONER = "app_cloner"
70
71
  JAILBREAK = "jailbreak"
71
72
  SIMULATOR = "simulator"
@@ -84,6 +85,7 @@ module Fingerly
84
85
  PROBE_ERRORS = "probe_errors"
85
86
  CUSTOM_ROOT_CA = "custom_root_ca"
86
87
  SECONDARY_USER_PROFILE = "secondary_user_profile"
88
+ PRIVATE_PROFILE = "private_profile"
87
89
 
88
90
  # Signal groups whose name is not also a detector's.
89
91
  DATACENTER_PROXY = "datacenter_proxy"
@@ -112,14 +114,14 @@ module Fingerly
112
114
  BAD_BOT, AI_SPOOFED, AUTOMATION, FETCH_METADATA_MISSING, WEB_TICKET_MISSING,
113
115
  WEB_TICKET_INVALID, ANTIDETECT_BROWSER, VIRTUAL_MACHINE, FINGERPRINT_SUPPRESSED,
114
116
  IDENTITY_OBFUSCATED, PRIVACY_SETTINGS, EMBEDDED_WEB_VIEW, REMOTE_CONTROL, EMULATOR,
115
- ROOT_APPS, APP_CLONER, JAILBREAK, SIMULATOR,
117
+ ROOT_APPS, BOOTLOADER_UNLOCKED, APP_CLONER, JAILBREAK, SIMULATOR,
116
118
  FRIDA, MITM_ATTACK, ACTIVE_CALL, ATTESTATION_MISSING, ATTESTATION_DOWNGRADE,
117
119
  REPEATED_REINSTALL, DEVICE_ACTIVITY_HIGH, DEVICE_ACTIVITY_VERY_HIGH,
118
120
  PLAY_DEVICE_INTEGRITY_FAILED, PLAY_APP_UNRECOGNIZED, ATTESTATION_FAILED, REPORT_INCOMPLETE,
119
- PROBE_ERRORS, CUSTOM_ROOT_CA, SECONDARY_USER_PROFILE, DATACENTER_PROXY, VPN, IP_BLOCKLIST,
120
- IP_REPUTATION, NETWORK_ANOMALY, LOCATION_SPOOFING, IOS_SIMULATOR, ANDROID_EMULATOR,
121
- JAILBROKEN_DEVICE, ROOTED_DEVICE, CLONED_APP, FRIDA_DETECTED, BROWSER_TAMPERING, BOT,
122
- INCOGNITO_MODE
121
+ PROBE_ERRORS, CUSTOM_ROOT_CA, SECONDARY_USER_PROFILE, PRIVATE_PROFILE,
122
+ DATACENTER_PROXY, VPN, IP_BLOCKLIST, IP_REPUTATION, NETWORK_ANOMALY, LOCATION_SPOOFING,
123
+ IOS_SIMULATOR, ANDROID_EMULATOR, JAILBROKEN_DEVICE, ROOTED_DEVICE, CLONED_APP,
124
+ FRIDA_DETECTED, BROWSER_TAMPERING, BOT, INCOGNITO_MODE
123
125
  ].freeze
124
126
  end
125
127
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Fingerly
4
4
  # The SDK version, reported to the API on every request.
5
- VERSION = "0.5.0"
5
+ VERSION = "0.5.2"
6
6
  end
data/sig/fingerly.rbs CHANGED
@@ -124,6 +124,7 @@ module Fingerly
124
124
  REMOTE_CONTROL: String
125
125
  EMULATOR: String
126
126
  ROOT_APPS: String
127
+ BOOTLOADER_UNLOCKED: String
127
128
  APP_CLONER: String
128
129
  JAILBREAK: String
129
130
  SIMULATOR: String
@@ -142,6 +143,7 @@ module Fingerly
142
143
  PROBE_ERRORS: String
143
144
  CUSTOM_ROOT_CA: String
144
145
  SECONDARY_USER_PROFILE: String
146
+ PRIVATE_PROFILE: String
145
147
  DATACENTER_PROXY: String
146
148
  VPN: String
147
149
  IP_BLOCKLIST: String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fingerly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fingerly