Skip to content

Record first textarea paste in CAPTCHA scoring - #120

Merged
cport1 merged 1 commit into
mainfrom
fix/captcha-textarea-paste
Nov 23, 2026
Merged

cport1 merged 1 commit into
mainfrom
fix/captcha-textarea-paste

Conversation

@cport1

@cport1 cport1 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Initialize the textarea's existing statistics when a paste is the first event in the field.
  • Require both zero recorded keystrokes and zero recorded pastes for the unexplained-content finding.
  • Apply the standalone FCaptcha server's pointer and touch check before scoring paste-heavy input.

Validation

  • All 73 client tests and 123 focused server tests passed in an offline Node 22 container.
  • TypeScript passed for both packages. The new tests cover first paste, existing keyboard stats, mouse and touch controls, and unexplained content.

@cport1
cport1 merged commit 31f4fd4 into main Nov 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant