An open API service indexing awesome lists of open source software.

https://github.com/sauravbhattacharya001/gif-captcha


https://github.com/sauravbhattacharya001/gif-captcha

accessibility animated-gif anti-bot bot-protection captcha captcha-generator challenge-response form-validation gif human-verification javascript nodejs security spam-prevention web-security

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# ๐ŸŽž๏ธ GIF CAPTCHA

**Can animated GIFs distinguish humans from AI?**

A research case study exploring GIF-based CAPTCHAs as a human-verification mechanism against large language models.

[![CI](https://github.com/sauravbhattacharya001/gif-captcha/actions/workflows/ci.yml/badge.svg)](https://github.com/sauravbhattacharya001/gif-captcha/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/sauravbhattacharya001/gif-captcha/graph/badge.svg)](https://codecov.io/gh/sauravbhattacharya001/gif-captcha)
[![CodeQL](https://github.com/sauravbhattacharya001/gif-captcha/actions/workflows/codeql.yml/badge.svg)](https://github.com/sauravbhattacharya001/gif-captcha/actions/workflows/codeql.yml)
[![Docker](https://github.com/sauravbhattacharya001/gif-captcha/actions/workflows/docker.yml/badge.svg)](https://github.com/sauravbhattacharya001/gif-captcha/actions/workflows/docker.yml)
[![GitHub Pages](https://github.com/sauravbhattacharya001/gif-captcha/actions/workflows/pages.yml/badge.svg)](https://github.com/sauravbhattacharya001/gif-captcha/actions/workflows/pages.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![npm](https://img.shields.io/npm/v/gif-captcha)](https://www.npmjs.com/package/gif-captcha)
![HTML](https://img.shields.io/badge/Built%20with-HTML%2FCSS%2FJS-orange)
![GitHub repo size](https://img.shields.io/github/repo-size/sauravbhattacharya001/gif-captcha)
![GitHub last commit](https://img.shields.io/github/last-commit/sauravbhattacharya001/gif-captcha)
![GitHub issues](https://img.shields.io/github/issues/sauravbhattacharya001/gif-captcha)
![GitHub stars](https://img.shields.io/github/stars/sauravbhattacharya001/gif-captcha)
[![npm downloads](https://img.shields.io/npm/dm/gif-captcha)](https://www.npmjs.com/package/gif-captcha)
![Node.js](https://img.shields.io/badge/node-%3E%3D18-brightgreen)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)

[**View Live Demo โ†’**](https://sauravbhattacharya001.github.io/gif-captcha/) ยท [**API Docs โ†’**](https://sauravbhattacharya001.github.io/gif-captcha/docs/)

---

## ๐Ÿ“– Overview

This case study tests whether GIF-based CAPTCHAs โ€” specifically those requiring comprehension of unexpected events in animated sequences โ€” can serve as an effective human-verification mechanism against LLMs.

GPT-4 was given 10 GIFs, each containing a narrative twist or unexpected event, and asked to *"describe the unexpected event."* Human responses were collected as a baseline.

## ๐Ÿ”ฌ Methodology

| Component | Details |
|-----------|---------|
| **Model Tested** | GPT-4 (text-only, pre-vision) |
| **Test Set** | 10 animated GIFs with unexpected narrative twists |
| **Prompt** | *"Describe the unexpected event"* |
| **Baseline** | Human descriptions collected for each GIF |
| **Success Criteria** | AI must produce a semantically accurate description of the animated event |

## ๐Ÿ“Š Results

**Score: 10/10 CAPTCHAs successfully blocked GPT-4**

| # | GIF | Human Could Describe? | GPT-4 Could Describe? |
|---|-----|:---:|:---:|
| 1 | Duel plot twist | โœ… | โŒ |
| 2 | Rappers roller skating | โœ… | โŒ |
| 3 | Flying skateboarder | โœ… | โŒ |
| 4 | Banana mascot dance-off | โœ… | โŒ |
| 5 | Tic Tac Toe dog | โœ… | โŒ |
| 6 | Parent dog sacrifice | โœ… | โŒ |
| 7 | Mirror hand illusion | โœ… | โŒ |
| 8 | Highway 180ยฐ drift | โœ… | โŒ |
| 9 | Road rage hug | โœ… | โŒ |
| 10 | Birthday cake face cover | โœ… | โŒ |

GPT-4 responded identically to every test:
> *"I currently cannot view animations, including animated GIFs, so I can't provide real-time descriptions of events within them."*

## ๐Ÿ”‘ Key Findings

### 2023: GIF CAPTCHAs Were Effective
Text-only LLMs had zero ability to process animated visual content. GIF-based CAPTCHAs requiring narrative comprehension of animated sequences were a **100% effective** human-verification mechanism.

### 2025 Update: The Landscape Has Changed
Multimodal LLMs (GPT-4V, GPT-4o, Claude 3.5, Gemini 1.5 Pro) can now:
- Describe static frames extracted from GIFs
- Infer likely motion from visual context clues
- Identify objects, people, and scenes

**Simple visual recognition CAPTCHAs are no longer sufficient.** However, CAPTCHAs requiring understanding of **timing**, **narrative surprise**, and **comedic subversion** may still challenge AI systems that process frames independently rather than as continuous sequences.

## ๐Ÿš€ Live Demo

The interactive case study is deployed as a static page:

**[sauravbhattacharya001.github.io/gif-captcha](https://sauravbhattacharya001.github.io/gif-captcha/)**

### ๐ŸŽฎ Interactive CAPTCHA Demo

**[Try the Demo โ†’](https://sauravbhattacharya001.github.io/gif-captcha/demo.html)**

Take the GIF CAPTCHA challenge yourself! The interactive demo:
- Shows you each of the 10 GIFs with unexpected twists
- Lets you type your own description of the unexpected event
- Reveals how humans and GPT-4 answered after you submit
- Tracks your "humanity score" across all challenges
- Provides a detailed results summary comparing you to GPT-4's 0/10

### ๐Ÿ“Š Research Analysis Dashboard

**[View Analysis โ†’](https://sauravbhattacharya001.github.io/gif-captcha/analysis.html)**

Deep dive into the research data with interactive visualizations:
- **CAPTCHA Taxonomy** โ€” 6 cognitive categories (Narrative Twist, Physical Comedy, Animal Behavior, Visual Trick, Social Subversion, Optical Illusion) with filter tabs
- **Category & Difficulty Charts** โ€” Canvas-rendered bar charts showing distribution and AI difficulty ratings (2023 vs 2025 estimates)
- **Human vs AI Radar Chart** โ€” 6-axis cognitive capability comparison (Temporal Sequencing, Narrative Surprise, Cultural Context, Motion Tracking, Humor Detection, Object Recognition)
- **Multi-Model Comparison** โ€” GPT-4, GPT-4o, Claude 3.5, and Gemini 1.5 Pro estimated scores per category
- **AI Capability Timeline** โ€” Evolution from 0/10 (2023) to projected future performance
- **Per-GIF Analysis Cards** โ€” Expandable breakdowns with difficulty meters, cognitive skills, and explanations of why each CAPTCHA works

### ๐Ÿ› ๏ธ CAPTCHA Workshop

**[Open Workshop โ†’](https://sauravbhattacharya001.github.io/gif-captcha/generator.html)**

Create your own custom GIF CAPTCHA challenge sets:
- **Build** โ€” Add GIF challenges with titles, URLs, expected answers, categories, and difficulty ratings
- **Preview** โ€” Test your CAPTCHA set as a user would experience it, with answer submission and reveal
- **Export/Import** โ€” Export as JSON, download as file, or generate shareable URL links
- **Local Storage** โ€” Auto-saves your work in the browser so you never lose progress
- **Sample Set** โ€” Load a pre-built set of 5 challenges to get started quickly

### ๐Ÿค– AI Response Simulator

**[Try Simulator โ†’](https://sauravbhattacharya001.github.io/gif-captcha/simulator.html)**

Explore how different AI models respond to each GIF CAPTCHA:
- **5 AI Models** โ€” GPT-4 (2023), GPT-4V (2023 Q4), GPT-4o (2024), Claude 3.5 (2024), Gemini 1.5 Pro (2024)
- **Simulated Responses** โ€” See exactly what each model would say for each CAPTCHA
- **Capability Breakdown** โ€” Per-CAPTCHA analysis of model capabilities vs. requirements (frame analysis, motion tracking, narrative comprehension, cultural context, humor detection, object recognition)
- **Reasoning Explanations** โ€” Why each model succeeds, partially succeeds, or fails
- **Model ร— CAPTCHA Heatmap** โ€” Pass/fail matrix across all models and CAPTCHAs
- **Comparative Charts** โ€” Stacked effectiveness bar chart and capability radar overlay
- **Interactive Model Switching** โ€” Click any model to see its full response set

### โฑ๏ธ Temporal Sequence Challenge

**[Try Temporal Challenge โ†’](https://sauravbhattacharya001.github.io/gif-captcha/temporal.html)**

A harder CAPTCHA format testing temporal event ordering:
- **Event Sequencing** โ€” Watch each GIF and arrange 4 events in correct chronological order
- **Drag & Drop + Buttons** โ€” Reorder events by dragging or using arrow buttons (mobile-friendly)
- **Kendall Tau Scoring** โ€” Pairwise concordance scoring (0โ€“100%) for partial credit on near-correct orderings
- **Per-Challenge AI Analysis** โ€” Why frame-by-frame AI processing fails at temporal sequencing
- **Research Context** โ€” Explores temporal CAPTCHAs as a next-generation human verification approach
- **Results Dashboard** โ€” Overall score, per-challenge breakdown with score bars, research implications

### Case Study Page

Features a dark-themed UI with:
- Full results table with CAPTCHA pass/fail badges
- Linked GIF sources for manual verification
- Key findings with visual callouts

### โšก Response Time Benchmark

**[Try Benchmark โ†’](https://sauravbhattacharya001.github.io/gif-captcha/benchmark.html)**

Measure how fast you can decode GIF CAPTCHAs with precision timing:
- **Timed Challenges** โ€” Each CAPTCHA is timed from display to correct answer submission
- **Performance Metrics** โ€” Track your average, best, and worst response times
- **Speed Distribution** โ€” See where your performance falls on the curve

### ๐Ÿง  Cognitive Load Analyzer

**[View Cognitive Load โ†’](https://sauravbhattacharya001.github.io/gif-captcha/cognitive-load.html)**

Measure the cognitive complexity of GIF CAPTCHAs across 6 dimensions:
- **6 Cognitive Dimensions** โ€” Temporal sequencing, narrative surprise, cultural context, motion tracking, humor detection, object recognition
- **Per-CAPTCHA Breakdown** โ€” How cognitively demanding each challenge is
- **Human vs AI Cognitive Profiles** โ€” Compare what humans and AI find difficult

### ๐Ÿ“Š Multi-Model Comparison

**[View Comparison โ†’](https://sauravbhattacharya001.github.io/gif-captcha/comparison.html)**

Compare AI model performance against GIF CAPTCHAs side by side:
- **Multiple AI Models** โ€” GPT-4, GPT-4V, GPT-4o, Claude 3.5, Gemini 1.5 Pro
- **Per-Challenge Scoring** โ€” Pass/fail breakdown for each model ร— CAPTCHA pair
- **Capability Radar** โ€” Visual overlay of model strengths and weaknesses

### ๐Ÿ“ˆ Effectiveness Dashboard

**[View Effectiveness โ†’](https://sauravbhattacharya001.github.io/gif-captcha/effectiveness.html)**

How well do GIF CAPTCHAs distinguish humans from AI models?
- **Detection Rate Charts** โ€” Human pass rate vs AI pass rate over time
- **Effectiveness Metrics** โ€” True positive, false positive, and discrimination power
- **Model Evolution** โ€” How AI capabilities have changed from 2023 to 2025

### ๐Ÿ”ฅ Interaction Heatmap

**[View Heatmap โ†’](https://sauravbhattacharya001.github.io/gif-captcha/heatmap.html)**

Visualize user interaction patterns during CAPTCHA solving:
- **Click Heatmaps** โ€” Where users click on GIFs during evaluation
- **Mouse Trails** โ€” Movement patterns revealing attention flow
- **Timing Overlays** โ€” Heat-coded response time data per region

### ๐Ÿงช A/B Testing Configurator

**[Open A/B Configurator โ†’](https://sauravbhattacharya001.github.io/gif-captcha/abtest.html)**

Plan and analyze CAPTCHA A/B experiments with statistical rigor:
- **Experiment Design** โ€” Configure test/control groups, sample sizes, and duration
- **Statistical Analysis** โ€” Chi-squared tests, confidence intervals, effect sizes
- **Results Visualization** โ€” Charts comparing variant performance

### โ™ฟ Accessibility Audit

**[View Accessibility Audit โ†’](https://sauravbhattacharya001.github.io/gif-captcha/accessibility.html)**

Evaluate GIF CAPTCHA accessibility against WCAG 2.1 criteria:
- **WCAG Compliance Checklist** โ€” Perceivable, operable, understandable, robust
- **Accessibility Scores** โ€” Per-CAPTCHA accessibility ratings
- **Remediation Suggestions** โ€” How to improve CAPTCHA accessibility

### ๐Ÿ“‹ Batch Validator

**[Open Batch Validator โ†’](https://sauravbhattacharya001.github.io/gif-captcha/batch.html)**

Import response data and validate against challenges in bulk:
- **Bulk Import** โ€” Paste or upload JSON response datasets
- **Automated Scoring** โ€” Run all responses against challenge answer keys
- **Pattern Analysis** โ€” Identify common failure patterns and outliers

### ๐ŸŽฏ Daily Challenge

**[Play Daily Challenge โ†’](https://sauravbhattacharya001.github.io/gif-captcha/daily.html)**

A new GIF CAPTCHA challenge every day:
- **Daily Rotation** โ€” Fresh challenge each day from the full pool
- **Streak Tracking** โ€” Track your consecutive-day solving record
- **Performance History** โ€” Review your past daily challenge results

### ๐Ÿ”— Embed Widget Generator

**[Create Embed โ†’](https://sauravbhattacharya001.github.io/gif-captcha/embed.html)**

Generate embeddable GIF CAPTCHA widgets for your website:
- **Configuration UI** โ€” Set challenge count, difficulty, appearance, and callback URLs
- **Code Generation** โ€” Copy-paste HTML/JS embed snippets
- **Preview** โ€” See exactly how the widget will look before deploying

### ๐Ÿ” Frame Inspector

**[Open Frame Inspector โ†’](https://sauravbhattacharya001.github.io/gif-captcha/frame-inspector.html)**

Analyze individual frames from GIF CAPTCHAs:
- **Frame-by-Frame Scrubbing** โ€” Step through each frame of a GIF animation
- **Frame Metadata** โ€” Display timing, dimensions, and pixel data
- **AI Perspective** โ€” See what an AI model "sees" when processing frames independently

### ๐Ÿ† Leaderboard

**[View Leaderboard โ†’](https://sauravbhattacharya001.github.io/gif-captcha/leaderboard.html)**

Your personal GIF CAPTCHA performance dashboard:
- **Score Tracking** โ€” Cumulative accuracy and speed scores
- **Ranking System** โ€” Compare against community benchmarks
- **Achievement Badges** โ€” Unlock badges for CAPTCHA-solving milestones

### ๐ŸŽฒ Challenge Playground

**[Open Playground โ†’](https://sauravbhattacharya001.github.io/gif-captcha/playground.html)**

Create, test, and export custom GIF CAPTCHA challenge sets:
- **Build Mode** โ€” Add challenges with GIF URLs, answers, categories, and difficulty
- **Test Mode** โ€” Run through your challenge set as a user would
- **Export** โ€” Download as JSON or generate shareable links

### ๐Ÿ”ฅ Streak Mode

**[Play Streak Mode โ†’](https://sauravbhattacharya001.github.io/gif-captcha/streak.html)**

How many GIFs can you describe in a row?
- **Continuous Challenge** โ€” Each wrong answer or timeout breaks your streak
- **Increasing Difficulty** โ€” Harder CAPTCHAs as your streak grows
- **High Score Tracking** โ€” Local storage persistence for best streaks

### โฑ๏ธ Response Time Analyzer

**[View Timing Analysis โ†’](https://sauravbhattacharya001.github.io/gif-captcha/timing.html)**

Analyze response time patterns across CAPTCHA types:
- **Per-Category Timing** โ€” Average solve times by cognitive category
- **Time Distribution Charts** โ€” Histogram of response times
- **Outlier Detection** โ€” Flag unusually fast (bot?) or slow responses

### โšก Performance Profiler

**[Open Profiler โ†’](https://sauravbhattacharya001.github.io/gif-captcha/performance-profiler.html)**

Benchmark CAPTCHA generation across configurations:
- **Configurable Parameters** โ€” Difficulty, frame count, image dimensions, noise level, text length
- **Render Time Distribution** โ€” Color-coded bar chart with P25/P75 quartile highlighting
- **Key Metrics** โ€” Average render time, P95 latency, file size, throughput (CAPTCHAs/sec), standard deviation
- **Difficulty Comparison** โ€” Side-by-side render time and file size charts across all difficulty levels
- **Profile History** โ€” Track and compare results from multiple benchmark runs with performance ratings

## ๐Ÿ› ๏ธ Tech Stack

| Technology | Purpose |
|-----------|---------|
| HTML5 | Page structure |
| CSS3 (Custom Properties) | Dark theme, responsive design |
| JavaScript | Core CAPTCHA library (UMD, browser + Node.js) |
| GitHub Pages | Hosting |
| npm | Package distribution |

## ๐Ÿ“ฆ Installation

Install as an npm package for programmatic access to the CAPTCHA utilities:

```bash
npm install gif-captcha
```

```javascript
const gifCaptcha = require("gif-captcha");

// Create a challenge
const challenge = gifCaptcha.createChallenge({
id: 1,
title: "Surprise Ending",
gifUrl: "https://example.com/twist.gif",
humanAnswer: "The cat fell off the table unexpectedly",
});

// Pick 5 random challenges from a pool
const selected = gifCaptcha.pickChallenges(challengePool, 5);

// Validate a user's answer (fuzzy matching with Jaccard similarity)
const result = gifCaptcha.validateAnswer(
userAnswer,
challenge.humanAnswer,
{ threshold: 0.3, requiredKeywords: ["cat", "fell"] }
);
console.log(result); // { passed: true, score: 0.75, hasKeywords: true }

// Sanitize untrusted input for safe HTML rendering
const safe = gifCaptcha.sanitize('alert("XSS")');
```

Or use via CDN in the browser:

```html

const challenge = gifCaptcha.createChallenge({ ... });
gifCaptcha.loadGifWithRetry(container, challenge);

```

## ๐Ÿ“‚ Project Structure

```
gif-captcha/
โ”œโ”€โ”€ src/
โ”‚ โ”œโ”€โ”€ index.js # Core library (UMD โ€” browser + Node.js)
โ”‚ โ”œโ”€โ”€ shared-utils.js # Shared utility functions (sanitize, LRU, etc.)
โ”‚ โ”œโ”€โ”€ challenge-pool-manager.js # Challenge pool lifecycle management
โ”‚ โ”œโ”€โ”€ challenge-decay-manager.js # Time-based challenge expiration
โ”‚ โ”œโ”€โ”€ challenge-diversity-analyzer.js # Pool diversity scoring
โ”‚ โ”œโ”€โ”€ challenge-rotation-scheduler.js # Automated rotation scheduling
โ”‚ โ”œโ”€โ”€ challenge-template-engine.js # Challenge template system
โ”‚ โ”œโ”€โ”€ ab-experiment-runner.js # A/B experiment runner
โ”‚ โ”œโ”€โ”€ adaptive-difficulty-tuner.js # Dynamic difficulty adjustment
โ”‚ โ”œโ”€โ”€ behavioral-biometrics.js # Mouse/keyboard behavioral analysis
โ”‚ โ”œโ”€โ”€ bot-signature-database.js # Known bot signature matching
โ”‚ โ”œโ”€โ”€ captcha-accessibility-analyzer.js # WCAG compliance analysis
โ”‚ โ”œโ”€โ”€ captcha-anomaly-detector.js # Anomaly detection in solve patterns
โ”‚ โ”œโ”€โ”€ captcha-audit-log.js # Tamper-evident audit logging
โ”‚ โ”œโ”€โ”€ captcha-capacity-planner.js # Load capacity planning
โ”‚ โ”œโ”€โ”€ captcha-export-formatter.js # Multi-format data export
โ”‚ โ”œโ”€โ”€ captcha-fatigue-detector.js # User fatigue detection
โ”‚ โ”œโ”€โ”€ captcha-health-monitor.js # System health monitoring
โ”‚ โ”œโ”€โ”€ captcha-incident-manager.js # Security incident management
โ”‚ โ”œโ”€โ”€ captcha-load-tester.js # Load/stress testing
โ”‚ โ”œโ”€โ”€ captcha-localization-manager.js # i18n locale management
โ”‚ โ”œโ”€โ”€ captcha-rate-limiter.js # Rate limiting
โ”‚ โ”œโ”€โ”€ captcha-session-replay.js # Session recording/replay
โ”‚ โ”œโ”€โ”€ captcha-stats-collector.js # Statistics collection
โ”‚ โ”œโ”€โ”€ captcha-strength-scorer.js # Challenge strength scoring
โ”‚ โ”œโ”€โ”€ captcha-traffic-analyzer.js # Traffic pattern analysis
โ”‚ โ”œโ”€โ”€ compliance-reporter.js # Regulatory compliance reporting
โ”‚ โ”œโ”€โ”€ config-validator.js # Configuration validation
โ”‚ โ”œโ”€โ”€ crypto-utils.js # Cryptographic utilities
โ”‚ โ”œโ”€โ”€ csv-utils.js # CSV import/export
โ”‚ โ”œโ”€โ”€ fraud-ring-detector.js # Coordinated fraud detection
โ”‚ โ”œโ”€โ”€ geo-risk-scorer.js # Geographic risk scoring
โ”‚ โ”œโ”€โ”€ honeypot-injector.js # Honeypot field injection
โ”‚ โ”œโ”€โ”€ i18n.js # Internationalization
โ”‚ โ”œโ”€โ”€ response-time-profiler.js # Response time analysis
โ”‚ โ”œโ”€โ”€ session-risk-aggregator.js # Session risk aggregation
โ”‚ โ”œโ”€โ”€ solve-funnel-analyzer.js # Solve funnel analysis
โ”‚ โ”œโ”€โ”€ solve-pattern-fingerprinter.js # Solve pattern fingerprinting
โ”‚ โ”œโ”€โ”€ trust-score-engine.js # Trust score computation
โ”‚ โ””โ”€โ”€ webhook-dispatcher.js # Webhook event dispatch
โ”œโ”€โ”€ docs/
โ”‚ โ”œโ”€โ”€ index.html # API reference (HTML)
โ”‚ โ”œโ”€โ”€ getting-started.html # Getting started guide
โ”‚ โ””โ”€โ”€ architecture.html # Architecture documentation
โ”œโ”€โ”€ tests/ # Test suite (Node.js built-in test runner)
โ”‚
โ”‚ โ”€โ”€ Interactive Pages โ”€โ”€
โ”œโ”€โ”€ index.html # Interactive case study page
โ”œโ”€โ”€ demo.html # Interactive CAPTCHA demo
โ”œโ”€โ”€ analysis.html # Research analysis dashboard
โ”œโ”€โ”€ generator.html # CAPTCHA Workshop โ€” create challenge sets
โ”œโ”€โ”€ simulator.html # AI Response Simulator
โ”œโ”€โ”€ temporal.html # Temporal Sequence Challenge
โ”‚
โ”‚ โ”€โ”€ Tools & Configurators โ”€โ”€
โ”œโ”€โ”€ abtest.html # A/B Testing Configurator
โ”œโ”€โ”€ config.html # Configuration editor
โ”œโ”€โ”€ designer.html # CAPTCHA visual designer
โ”œโ”€โ”€ difficulty-planner.html # Difficulty planning tool
โ”œโ”€โ”€ embed.html # Embed Widget Generator
โ”œโ”€โ”€ integration-wizard.html # Integration setup wizard
โ”œโ”€โ”€ playground.html # Challenge Playground
โ”œโ”€โ”€ rotation-scheduler.html # Challenge rotation scheduler
โ”œโ”€โ”€ theme-builder.html # Visual theme builder
โ”‚
โ”‚ โ”€โ”€ Analytics & Dashboards โ”€โ”€
โ”œโ”€โ”€ dashboard.html # Main analytics dashboard
โ”œโ”€โ”€ trust-dashboard.html # Trust score dashboard
โ”œโ”€โ”€ effectiveness.html # Effectiveness Dashboard
โ”œโ”€โ”€ cognitive-load.html # Cognitive Load Analyzer
โ”œโ”€โ”€ comparison.html # Multi-Model Comparison
โ”œโ”€โ”€ diversity-analyzer.html # Challenge diversity analysis
โ”œโ”€โ”€ heatmap.html # Interaction Heatmap
โ”œโ”€โ”€ solve-histogram.html # Solve time histogram
โ”œโ”€โ”€ timing.html # Response Time Analyzer
โ”œโ”€โ”€ funnel.html # Solve funnel visualization
โ”œโ”€โ”€ my-stats.html # Personal statistics
โ”‚
โ”‚ โ”€โ”€ Security & Monitoring โ”€โ”€
โ”œโ”€โ”€ audit-log.html # Audit Log โ€” browse, search & export records
โ”œโ”€โ”€ bot-or-human.html # Bot-or-human classifier
โ”œโ”€โ”€ bot-signatures.html # Bot signature database browser
โ”œโ”€โ”€ compliance.html # Compliance reporting
โ”œโ”€โ”€ entropy.html # Entropy/randomness analysis
โ”œโ”€โ”€ fleet.html # Fleet management overview
โ”œโ”€โ”€ fraud-rings.html # Fraud ring detection
โ”œโ”€โ”€ geo-risk-map.html # Geographic risk visualization
โ”œโ”€โ”€ incident-timeline.html # Security incident timeline
โ”œโ”€โ”€ load-tester.html # Load testing interface
โ”œโ”€โ”€ queue-manager.html # Challenge queue management
โ”œโ”€โ”€ rate-limiter.html # Rate limiter configuration
โ”œโ”€โ”€ resistance.html # AI resistance scoring
โ”œโ”€โ”€ threat-feed.html # Threat intelligence feed
โ”œโ”€โ”€ honeypot-designer.html # Honeypot trap designer with bot simulation & intel
โ”‚
โ”‚ โ”€โ”€ User-Facing Features โ”€โ”€
โ”œโ”€โ”€ accessibility.html # Accessibility Audit (WCAG 2.1)
โ”œโ”€โ”€ batch.html # Batch Validator โ€” bulk response analysis
โ”œโ”€โ”€ benchmark.html # Response Time Benchmark
โ”œโ”€โ”€ competitive.html # Competitive mode
โ”œโ”€โ”€ cost-calculator.html # Cost estimation calculator
โ”œโ”€โ”€ daily.html # Daily Challenge mode
โ”œโ”€โ”€ feedback.html # User feedback collection
โ”œโ”€โ”€ fingerprint-explorer.html # Fingerprint Explorer
โ”œโ”€โ”€ frame-inspector.html # GIF Frame Inspector
โ”œโ”€โ”€ gallery.html # GIF gallery browser
โ”œโ”€โ”€ journey-map.html # User journey visualization
โ”œโ”€โ”€ leaderboard.html # Performance Leaderboard
โ”œโ”€โ”€ performance-profiler.html # Performance Profiler
โ”œโ”€โ”€ streak.html # Streak Mode
โ”‚
โ”‚ โ”€โ”€ Shared Assets โ”€โ”€
โ”œโ”€โ”€ shared.js # Browser-specific shared utilities
โ”œโ”€โ”€ shared.css # Shared dark theme styles
โ”œโ”€โ”€ API.md # API reference (Markdown)
โ”œโ”€โ”€ SECURITY.md # Security policy
โ”œโ”€โ”€ CONTRIBUTING.md # Contribution guidelines
โ”œโ”€โ”€ README.md # This file
โ””โ”€โ”€ LICENSE # MIT License
```

## ๐Ÿ“– API Reference

See **[API.md](API.md)** for complete documentation of all 13 factory functions and utility exports, including:

- **Challenge Management** โ€” `createChallenge`, `createAttemptTracker`, `createPoolManager`
- **Analysis & Calibration** โ€” `createSetAnalyzer`, `createDifficultyCalibrator`, `createSecurityScorer`
- **Session & Security** โ€” `createSessionManager`, `createTokenVerifier`
- **Bot Detection & Reputation** โ€” `createBotDetector`, `createReputationTracker`, `createChallengeRouter`

## ๐Ÿ”ฎ Future Research Directions

- **Temporal sequence CAPTCHAs** โ€” Require understanding of event ordering across frames
- **Narrative surprise detection** โ€” Test whether AI can identify *why* something is unexpected, not just *what* happened
- **Multi-model benchmarking** โ€” Extend testing to GPT-4o, Claude 3.5 Opus, Gemini 2.0 with video input
- **Adversarial GIF generation** โ€” Create GIFs specifically designed to exploit frame-by-frame vs. continuous processing gaps

## ๐Ÿ“„ License

[MIT](LICENSE) โ€” Saurav Bhattacharya

## ๐Ÿ‘ค Author

**Saurav Bhattacharya**
- GitHub: [@sauravbhattacharya001](https://github.com/sauravbhattacharya001)