@webdecoy/fcaptcha 1.47.0 → 1.47.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.
- package/engine.js +3 -2
- package/package.json +1 -1
package/engine.js
CHANGED
|
@@ -307,7 +307,8 @@ function detectVisionAI(signals) {
|
|
|
307
307
|
// Require an actual path before judging its shape, and apply the same
|
|
308
308
|
// exemptions as its neighbours.
|
|
309
309
|
const hasApproachPath = approachPts >= 5;
|
|
310
|
-
if (hasApproachPath && !isTouchUser && !isKeyboardUser &&
|
|
310
|
+
if (hasApproachPath && !isTouchUser && !isKeyboardUser &&
|
|
311
|
+
(b.approachDirectness ?? 0) > 0.95 && !hasHumanMovementMarkers(b)) {
|
|
311
312
|
detections.push({
|
|
312
313
|
category: 'vision_ai', score: 0.5, confidence: 0.5,
|
|
313
314
|
reason: 'Mouse path to target is unnaturally direct'
|
|
@@ -664,7 +665,7 @@ function detectBehavioral(signals) {
|
|
|
664
665
|
|
|
665
666
|
// Overshoot. Click-derived, so widget-only.
|
|
666
667
|
const overshoots = b.overshootCorrections ?? 0;
|
|
667
|
-
if (isWidgetInt && overshoots === 0 && trajectory > 200) {
|
|
668
|
+
if (isWidgetInt && overshoots === 0 && trajectory > 200 && !hasHumanMovementMarkers(b)) {
|
|
668
669
|
detections.push({
|
|
669
670
|
category: 'behavioral', score: 0.4, confidence: 0.4,
|
|
670
671
|
reason: 'No overshoot corrections on long trajectory'
|