is-antibot 2.6.3 → 2.6.4
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.
- package/package.json +2 -2
- package/src/index.d.ts +2 -0
- package/src/providers.json +69 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "is-antibot",
|
|
3
|
-
"description": "Detect antibot protection from
|
|
3
|
+
"description": "Detect antibot protection from 40+ providers — Cloudflare, Akamai, DataDome, PerimeterX, and more.",
|
|
4
4
|
"homepage": "https://antibot.microlink.io/",
|
|
5
|
-
"version": "2.6.
|
|
5
|
+
"version": "2.6.4",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
package/src/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ declare namespace isAntibot {
|
|
|
26
26
|
| 'threatmetrix'
|
|
27
27
|
| 'meetrics'
|
|
28
28
|
| 'ocule'
|
|
29
|
+
| 'litespeed'
|
|
29
30
|
| 'recaptcha'
|
|
30
31
|
| 'hcaptcha'
|
|
31
32
|
| 'funcaptcha'
|
|
@@ -50,6 +51,7 @@ declare namespace isAntibot {
|
|
|
50
51
|
| 'douban'
|
|
51
52
|
| 'cloudfront'
|
|
52
53
|
| 'hostinger'
|
|
54
|
+
| 'tiktok'
|
|
53
55
|
|
|
54
56
|
interface Input {
|
|
55
57
|
headers?: HeadersLike
|
package/src/providers.json
CHANGED
|
@@ -34,6 +34,19 @@
|
|
|
34
34
|
"contains": "_cf_chl_opt"
|
|
35
35
|
}
|
|
36
36
|
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "html",
|
|
40
|
+
"technique": "waf",
|
|
41
|
+
"statusCodes": [403],
|
|
42
|
+
"rules": [
|
|
43
|
+
{
|
|
44
|
+
"contains": "data-translate=\"block_headline\""
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"contains": "data-translate=\"error_desc\""
|
|
48
|
+
}
|
|
49
|
+
]
|
|
37
50
|
}
|
|
38
51
|
]
|
|
39
52
|
},
|
|
@@ -105,6 +118,16 @@
|
|
|
105
118
|
}
|
|
106
119
|
]
|
|
107
120
|
},
|
|
121
|
+
{
|
|
122
|
+
"type": "html",
|
|
123
|
+
"technique": "waf",
|
|
124
|
+
"rules": [
|
|
125
|
+
{
|
|
126
|
+
"regex": "^\\s*(?:<!doctype[^>]*>\\s*)?<html\\b[^>]*>\\s*<head\\b[^>]*>\\s*<title\\b[^>]*>\\s*Access Denied\\s*</title>[\\s\\S]{0,4000}?Reference(?:\\s| )*(?:#|#|:)\\s*\\d+(?:\\.|.)[0-9a-f]{6,}(?:\\.|.)\\d{9,}(?:\\.|.)[0-9a-f]{4,}",
|
|
127
|
+
"flags": "i"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
},
|
|
108
131
|
{
|
|
109
132
|
"type": "asn",
|
|
110
133
|
"technique": "waf",
|
|
@@ -500,6 +523,23 @@
|
|
|
500
523
|
}
|
|
501
524
|
]
|
|
502
525
|
},
|
|
526
|
+
{
|
|
527
|
+
"name": "litespeed",
|
|
528
|
+
"label": "LiteSpeed",
|
|
529
|
+
"category": "antibot",
|
|
530
|
+
"description": "LiteSpeed Web Server reCAPTCHA bot verification, served as a 200 in place of the requested file.",
|
|
531
|
+
"detections": [
|
|
532
|
+
{
|
|
533
|
+
"type": "html",
|
|
534
|
+
"technique": "captcha",
|
|
535
|
+
"rules": [
|
|
536
|
+
{
|
|
537
|
+
"contains": "lsrecaptcha-form"
|
|
538
|
+
}
|
|
539
|
+
]
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
|
+
},
|
|
503
543
|
{
|
|
504
544
|
"name": "recaptcha",
|
|
505
545
|
"label": "reCAPTCHA",
|
|
@@ -1143,6 +1183,18 @@
|
|
|
1143
1183
|
"cookie": "aws-waf-token="
|
|
1144
1184
|
}
|
|
1145
1185
|
]
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
"type": "headers",
|
|
1189
|
+
"technique": "waf",
|
|
1190
|
+
"fallback": true,
|
|
1191
|
+
"statusCodes": [403],
|
|
1192
|
+
"rules": [
|
|
1193
|
+
{
|
|
1194
|
+
"header": "server",
|
|
1195
|
+
"oneOf": ["awselb/2.0"]
|
|
1196
|
+
}
|
|
1197
|
+
]
|
|
1146
1198
|
}
|
|
1147
1199
|
]
|
|
1148
1200
|
},
|
|
@@ -1260,6 +1312,23 @@
|
|
|
1260
1312
|
]
|
|
1261
1313
|
}
|
|
1262
1314
|
]
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "tiktok",
|
|
1318
|
+
"label": "TikTok",
|
|
1319
|
+
"category": "platform",
|
|
1320
|
+
"description": "TikTok and TikTok Shop (Tokopedia) answer a 200 “Security Check” page that loads the captcha SDK instead of the requested page.",
|
|
1321
|
+
"detections": [
|
|
1322
|
+
{
|
|
1323
|
+
"type": "html",
|
|
1324
|
+
"technique": "captcha",
|
|
1325
|
+
"rules": [
|
|
1326
|
+
{
|
|
1327
|
+
"contains": "oec-ttweb-captcha/loader/"
|
|
1328
|
+
}
|
|
1329
|
+
]
|
|
1330
|
+
}
|
|
1331
|
+
]
|
|
1263
1332
|
}
|
|
1264
1333
|
]
|
|
1265
1334
|
}
|