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 +4 -4
- data/README.md +2 -2
- data/lib/fingerly/enums.rb +2 -1
- data/lib/fingerly/version.rb +1 -1
- data/sig/fingerly.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 977a588e85a6aa2af74751140e2663b0ba48e45af21910b188e186450f2b13fb
|
|
4
|
+
data.tar.gz: dee403577e7cdd93b8399cf903ada6fdb4d2ccf2428ce99780796ebd95602356
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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. |
|
data/lib/fingerly/enums.rb
CHANGED
|
@@ -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,
|
data/lib/fingerly/version.rb
CHANGED
data/sig/fingerly.rbs
CHANGED