is-antibot 2.5.4 → 2.5.6

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "is-antibot",
3
3
  "description": "Detect antibot protection from 30+ providers — Cloudflare, Akamai, DataDome, PerimeterX, and more.",
4
4
  "homepage": "https://antibot.microlink.io/",
5
- "version": "2.5.4",
5
+ "version": "2.5.6",
6
6
  "types": "./src/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
@@ -50,13 +50,13 @@
50
50
  ],
51
51
  "cookies": [],
52
52
  "content": {
53
- "size": 368,
53
+ "size": 320,
54
54
  "mimeType": "text/html",
55
- "text": "<!DOCTYPE html><html><head><title>4,000-year-old handprint found on ancient Egyptian tomb | CNN</title></head><body><article><h1>Handprint</h1><p>Archaeologists found a 4,000-year-old handprint.</p></article><script>window.ARKOSE_LOOKUP_SRC=\"https://wbd-api.arkoselabs.com/v2/72361606-06A8-445C-A3D0-9FB07DB14610/api.js\"</script></body></html>"
55
+ "text": "<!DOCTYPE html><html><head><title>4,000-year-old handprint found on ancient Egyptian tomb | CNN</title></head><body><article><h1>Handprint</h1><p>AI-generated content. Please verify before relying on it.</p></article><script>const allow=[\"microsoft-api.arkoselabs.com\",\"challenges.cloudflare.com\"]</script></body></html>"
56
56
  },
57
57
  "redirectURL": "",
58
58
  "headersSize": -1,
59
- "bodySize": 368
59
+ "bodySize": 320
60
60
  }
61
61
  }
62
62
  ]
@@ -0,0 +1,64 @@
1
+ {
2
+ "log": {
3
+ "version": "1.2",
4
+ "creator": {
5
+ "name": "microlink-api",
6
+ "version": "1.0.0"
7
+ },
8
+ "pages": [
9
+ {
10
+ "id": "page_1",
11
+ "title": "Robot or human?",
12
+ "startedDateTime": "2026-08-26T05:33:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-26T05:33:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.walmart.com/ip/Coolcold-15-6-17-3inch-Laptop-Cooling-Pad-with-6-Quiet-Fans-7-Height-Wind-Speed-Adjustable-2-USB-Port-Laptop-Cooer-With-Mobile-Phone-Holde/3031434175",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.walmart.com"
34
+ }
35
+ ],
36
+ "queryString": [],
37
+ "cookies": [],
38
+ "headersSize": -1,
39
+ "bodySize": 0
40
+ },
41
+ "response": {
42
+ "status": 200,
43
+ "statusText": "OK",
44
+ "httpVersion": "http/1.1",
45
+ "headers": [
46
+ {
47
+ "name": "content-type",
48
+ "value": "text/html; charset=utf-8"
49
+ }
50
+ ],
51
+ "cookies": [],
52
+ "content": {
53
+ "size": 329,
54
+ "mimeType": "text/html",
55
+ "text": "<!DOCTYPE html><html><head><title>Robot or human?</title></head><body><h1>Robot or human?</h1><p>Activate and hold the button to confirm that you’re human. Thank You!</p><div id=\"px-captcha\"></div><script>window._pxAppId='PXu6b0qd2S';var captchajs='/px/'+window._pxAppId+'/captcha/captcha.js?a=c&m=0&g=b'</script></body></html>"
56
+ },
57
+ "redirectURL": "",
58
+ "headersSize": -1,
59
+ "bodySize": 329
60
+ }
61
+ }
62
+ ]
63
+ }
64
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "log": {
3
+ "version": "1.2",
4
+ "creator": {
5
+ "name": "microlink-api",
6
+ "version": "1.0.0"
7
+ },
8
+ "pages": [
9
+ {
10
+ "id": "page_1",
11
+ "title": "Coolcold Laptop Cooling Pad - Walmart.com",
12
+ "startedDateTime": "2026-08-26T05:33:00.000Z",
13
+ "pageTimings": {
14
+ "onContentLoad": -1,
15
+ "onLoad": 100
16
+ }
17
+ }
18
+ ],
19
+ "entries": [
20
+ {
21
+ "pageref": "page_1",
22
+ "startedDateTime": "2026-08-26T05:33:00.000Z",
23
+ "time": 100,
24
+ "serverIPAddress": "",
25
+ "connection": "443",
26
+ "request": {
27
+ "method": "GET",
28
+ "url": "https://www.walmart.com/ip/Coolcold-15-6-17-3inch-Laptop-Cooling-Pad-with-6-Quiet-Fans-7-Height-Wind-Speed-Adjustable-2-USB-Port-Laptop-Cooer-With-Mobile-Phone-Holde/3031434175",
29
+ "httpVersion": "http/1.1",
30
+ "headers": [
31
+ {
32
+ "name": "host",
33
+ "value": "www.walmart.com"
34
+ }
35
+ ],
36
+ "queryString": [],
37
+ "cookies": [],
38
+ "headersSize": -1,
39
+ "bodySize": 0
40
+ },
41
+ "response": {
42
+ "status": 200,
43
+ "statusText": "OK",
44
+ "httpVersion": "http/1.1",
45
+ "headers": [
46
+ {
47
+ "name": "content-type",
48
+ "value": "text/html; charset=utf-8"
49
+ }
50
+ ],
51
+ "cookies": [],
52
+ "content": {
53
+ "size": 297,
54
+ "mimeType": "text/html",
55
+ "text": "<!DOCTYPE html><html><head><title>Coolcold Laptop Cooling Pad - Walmart.com</title></head><body><article><h1>Coolcold Laptop Cooling Pad</h1><p>6 Quiet Fans, 7 Height adjustable.</p></article><script>window._pxAppId='PXu6b0qd2S'</script><script src=\"/px/PXu6b0qd2S/init.js\"></script></body></html>"
56
+ },
57
+ "redirectURL": "",
58
+ "headersSize": -1,
59
+ "bodySize": 297
60
+ }
61
+ }
62
+ ]
63
+ }
64
+ }
@@ -151,16 +151,24 @@
151
151
  "technique": "javascript",
152
152
  "rules": [
153
153
  {
154
- "contains": "window._pxAppId"
155
- },
156
- {
157
- "contains": "pxInit"
154
+ "regex": "^(?=[\\s\\S]*window\\._pxAppId)(?=[\\s\\S]*(?:px-captcha|/captcha/captcha\\.js|_pxAction|<title\\b[^>]*>\\s*Robot or human\\??\\s*<\\/title>))",
155
+ "flags": "i"
158
156
  },
159
157
  {
160
158
  "contains": "_pxAction"
161
159
  }
162
160
  ]
163
161
  },
162
+ {
163
+ "type": "url",
164
+ "technique": "javascript",
165
+ "domain": "walmart.com",
166
+ "rules": [
167
+ {
168
+ "contains": "/blocked?"
169
+ }
170
+ ]
171
+ },
164
172
  {
165
173
  "type": "cookies",
166
174
  "technique": "cookie",
@@ -589,7 +597,7 @@
589
597
  "technique": "captcha",
590
598
  "rules": [
591
599
  {
592
- "regex": "^(?=[\\s\\S]*arkoselabs\\.com)(?=[\\s\\S]*(?:Verify you are (?:a )?human|Attention Required|Please verify|enforcement\\.js))",
600
+ "regex": "^(?=[\\s\\S]*arkoselabs\\.com)(?=[\\s\\S]*(?:Verify you are (?:a )?human|Attention Required|enforcement\\.js))",
593
601
  "flags": "i"
594
602
  }
595
603
  ]