fingerly 0.5.0 → 0.5.1

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: 977a588e85a6aa2af74751140e2663b0ba48e45af21910b188e186450f2b13fb
4
+ data.tar.gz: dee403577e7cdd93b8399cf903ada6fdb4d2ccf2428ce99780796ebd95602356
5
5
  SHA512:
6
- metadata.gz: 4ceef7c71db61e96650a64bb01068886cd53af092601003d38eba787fc74a38af3ba7916440600b6de8cca7eee3917777a44e23a2449c48503d3a21bc0993bea
7
- data.tar.gz: 7427d309f6de7e37c479958cf7ca72568dc0998816a905838a58a81d9113ad11218c1c5f320800fda3b9d15a3c1f325225d5b014e1d8beb49208fcd57f3668fb
6
+ metadata.gz: ead26ed13493e9051c2cb9fedbf71a3a80fe22d1a01f5ec41ec5860d815dceff4f1a14fd36778538785a12b44076fbd3cebf226c36cd8f9e771b49f92b06f100
7
+ data.tar.gz: ee0183456bb3251b83b945551934928666d3c04e2fdcf42b6af25c58c43147e8272c34f0317f669b10f1f8c55e607eab1ba5f598e4bfe43a34bda7f4f0d23f36
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.1"
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.1` 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"
@@ -112,7 +113,7 @@ module Fingerly
112
113
  BAD_BOT, AI_SPOOFED, AUTOMATION, FETCH_METADATA_MISSING, WEB_TICKET_MISSING,
113
114
  WEB_TICKET_INVALID, ANTIDETECT_BROWSER, VIRTUAL_MACHINE, FINGERPRINT_SUPPRESSED,
114
115
  IDENTITY_OBFUSCATED, PRIVACY_SETTINGS, EMBEDDED_WEB_VIEW, REMOTE_CONTROL, EMULATOR,
115
- ROOT_APPS, APP_CLONER, JAILBREAK, SIMULATOR,
116
+ ROOT_APPS, BOOTLOADER_UNLOCKED, APP_CLONER, JAILBREAK, SIMULATOR,
116
117
  FRIDA, MITM_ATTACK, ACTIVE_CALL, ATTESTATION_MISSING, ATTESTATION_DOWNGRADE,
117
118
  REPEATED_REINSTALL, DEVICE_ACTIVITY_HIGH, DEVICE_ACTIVITY_VERY_HIGH,
118
119
  PLAY_DEVICE_INTEGRITY_FAILED, PLAY_APP_UNRECOGNIZED, ATTESTATION_FAILED, REPORT_INCOMPLETE,
@@ -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.1"
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
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fingerly