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 +4 -4
- data/README.md +2 -2
- data/lib/fingerly/enums.rb +7 -5
- data/lib/fingerly/version.rb +1 -1
- data/sig/fingerly.rbs +2 -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: d9f61d278d71cff8fb1d96bbef43b0b8250c853fe80bd435f793cb49bf0cc868
|
|
4
|
+
data.tar.gz: 5780d0a045f1d71e7611b6dde3ce677be62a2774c307bcafb8e7534390817a3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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. |
|
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"
|
|
@@ -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,
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
data/lib/fingerly/version.rb
CHANGED
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
|