@webdecoy/fcaptcha 1.42.0 → 1.44.0
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/engine.js +1 -1
- package/package.json +2 -2
- package/server.js +3 -1
package/engine.js
CHANGED
|
@@ -266,7 +266,7 @@ function detectVisionAI(signals) {
|
|
|
266
266
|
category: 'vision_ai', score: 0.8, confidence: 0.7,
|
|
267
267
|
reason: 'PoW completed impossibly fast'
|
|
268
268
|
});
|
|
269
|
-
} else if (pow.duration > expectedMax *
|
|
269
|
+
} else if (pow.duration > expectedMax * 10) {
|
|
270
270
|
detections.push({
|
|
271
271
|
category: 'vision_ai', score: 0.6, confidence: 0.5,
|
|
272
272
|
reason: 'PoW timing suggests external processing'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webdecoy/fcaptcha",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.44.0",
|
|
4
4
|
"description": "Open source CAPTCHA with PoW, bot detection, and Vision AI protection",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"test:clientip": "node clientip.test.js",
|
|
16
16
|
"test:limits": "node limits.test.js",
|
|
17
17
|
"test:detection": "node detection.test.js",
|
|
18
|
-
"test": "node version.test.js && node config.test.js && node clientip.test.js && node limits.test.js && node detection.test.js && node inputforensics.test.js && node interactionmode.test.js && node exemptions.test.js && node webbotauth.test.js && node siteverify.test.js && node redis-state.test.js && node index.test.js && node --test admission.test.js suspicion.test.js security.test.js corroboration.test.js device-rate.test.js keyboard-exemption.test.js experimental.test.js identity.test.js",
|
|
18
|
+
"test": "node version.test.js && node config.test.js && node clientip.test.js && node limits.test.js && node detection.test.js && node inputforensics.test.js && node interactionmode.test.js && node exemptions.test.js && node webbotauth.test.js && node siteverify.test.js && node redis-state.test.js && node index.test.js && node --test admission.test.js suspicion.test.js security.test.js corroboration.test.js device-rate.test.js keyboard-exemption.test.js experimental.test.js identity.test.js cadence.test.js",
|
|
19
19
|
"test:siteverify": "node siteverify.test.js",
|
|
20
20
|
"test:forensics": "node inputforensics.test.js",
|
|
21
21
|
"test:suspicion": "node --test suspicion.test.js"
|
package/server.js
CHANGED
|
@@ -1041,7 +1041,9 @@ async function start() {
|
|
|
1041
1041
|
if (SHARED_STATE) await SHARED_STATE.connect();
|
|
1042
1042
|
const host = SECRET_KEY === require('./config').INSECURE_DEFAULT_SECRET ? '127.0.0.1' : '0.0.0.0';
|
|
1043
1043
|
const server = app.listen(PORT, host, () => {
|
|
1044
|
-
|
|
1044
|
+
const addr = server.address();
|
|
1045
|
+
const port = addr ? addr.port : PORT;
|
|
1046
|
+
console.log(`FCaptcha server running on port ${port}`);
|
|
1045
1047
|
console.log(`Trusted proxies: ${PROXY_TRUST.describe()}`);
|
|
1046
1048
|
console.log(`Site keys: ${SITE_KEYS.describe()}`);
|
|
1047
1049
|
console.log(`Shared state: ${SHARED_STATE ? 'Redis (PoW)' : 'in-memory'}`);
|