Skip to content

Sam-Aitech/Checkbyai.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

926 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

CheckByAI

AI-powered UK immigration compliance monitoring & document verification

License: MIT Quality Gate Status TypeScript Node.js PostgreSQL GitHub Issues GitHub Stars

CheckByAI is a comprehensive SaaS platform for UK immigration professionals, HR teams, and visa holders. It provides real-time monitoring of the UK Home Office Register of Licensed Sponsors and forensic verification of Certificates of Sponsorship (COS) documents.

checkbyai.net β€” Your sponsor was revoked last night. Nobody told you.
🌐 Live at checkbyai.net

🎯 What We Do

1. Sponsor Licence Monitor

Automated monitoring of the UK Home Office Register of Licensed Sponsors. Instantly alerts you when:

  • Sponsors are removed or downgraded
  • New routes are added
  • Company details change
  • Licence status is upgraded

Perfect for: Visa holders, immigration advisers, HR compliance teams

Sponsor Licence Monitor β€” nightly Home Office register checks with instant alerts
Live sponsor monitor β€” the Home Office updates the register at midnight; CheckByAI texts you instantly.

2. COS Check β€” PDF Metadata Inspector (MIS)

Forensic analysis of Certificate of Sponsorship PDFs using AI and metadata forensics. Detects:

  • Document tampering (Photoshop, GIMP, Canva edits)
  • Fabricated metadata (missing or reordered XMP fields)
  • Suspicious modification dates and metadata inconsistencies
  • Incremental updates and editing tool fingerprints
  • Invalid certificate generation (non-Apache)

Two-tier verification:

  • User View β€” Verdict only: GENUINE (green shield) or EDITED (red shield) with one-line reason
  • Admin View β€” Full forensics: all 6 authenticity checks.

Perfect for: Anyone verifying a COS document authenticity

5 Signs Your Certificate of Sponsorship Might Be Fake β€” free fraud prevention guide
Free fraud-prevention guide: 5 signs your CoS might be fake.

πŸ”¬ How It Works

%%{init: {'theme': 'base', 'themeVariables': {
  'primaryColor': '#1e1b2e', 'primaryTextColor': '#e4e4e7', 'primaryBorderColor': '#7C3AED',
  'lineColor': '#7C3AED', 'secondaryColor': '#16121f', 'tertiaryColor': '#111114',
  'clusterBkg': '#111114', 'clusterBorder': '#2d2640', 'edgeLabelBackground': '#111114',
  'fontFamily': 'Segoe UI, sans-serif'
}}}%%
flowchart LR
    subgraph monitor["πŸ›‘οΈ Sponsor Licence Monitor"]
        direction LR
        GOV["Gov.UK Register<br/>143,000+ sponsors"] -->|"nightly cron 00:30 UTC"| SCRAPE["Scraper +<br/>Firecrawl fallback"]
        SCRAPE --> DIFF["Change detection<br/>7 change types"]
        DIFF --> QUEUE["BullMQ + Redis<br/>job queue"]
        QUEUE --> EMAIL["πŸ“§ Email"]
        QUEUE --> WA["πŸ’¬ WhatsApp"]
        QUEUE --> SMS["πŸ“± SMS"]
        QUEUE --> HOOK["πŸ”— Webhooks"]
    end
Loading
%%{init: {'theme': 'base', 'themeVariables': {
  'primaryColor': '#1e1b2e', 'primaryTextColor': '#e4e4e7', 'primaryBorderColor': '#7C3AED',
  'lineColor': '#7C3AED', 'secondaryColor': '#16121f', 'tertiaryColor': '#111114',
  'clusterBkg': '#111114', 'clusterBorder': '#2d2640', 'edgeLabelBackground': '#111114',
  'fontFamily': 'Segoe UI, sans-serif'
}}}%%
flowchart LR
    subgraph cos["πŸ” COS Check β€” PDF Forensics"]
        direction LR
        PDF["CoS PDF<br/>upload"] --> META["XMP metadata<br/>extraction"]
        META --> CHECKS["6-point forensic<br/>analysis"]
        CHECKS --> TOOLS["Editing tool<br/>fingerprints"]
        CHECKS --> DATES["Timestamp<br/>consistency"]
        CHECKS --> INCR["Incremental<br/>update trail"]
        TOOLS & DATES & INCR --> VERDICT{"Verdict"}
        VERDICT -->|"βœ…"| GENUINE["GENUINE<br/>green shield"]
        VERDICT -->|"❌"| EDITED["EDITED<br/>red shield"]
    end
Loading

✨ Key Features

Feature Free Starter Pro Unlimited Enterprise
Sponsor Watches 1 2 5 Unlimited Unlimited
Notifications Daily digest (next-morning email) Email + WhatsApp (6pm) All channels + Immediate All channels + Immediate All channels + Webhooks
Job Alerts β€” β€” βœ… βœ… βœ…
Companies House Data β€” β€” βœ… βœ… βœ…
COS Check Verifications Limited Limited Pay-per-check Unlimited Unlimited
COS Check MIS β€” β€” βœ… βœ… βœ…
API Access β€” β€” β€” βœ… βœ…
Expert Review β€” β€” Optional Optional Included

πŸš€ Quick Start

Prerequisites

  • Node.js 20+
  • PostgreSQL 14+ (or Neon serverless)
  • Redis (Highly recommended, used for BullMQ job queue and rate limiting)
  • Firecrawl API Key (Optional, used as primary scraper fallback for Gov.UK source)
  • npm or pnpm

Local Development

  1. Clone & install:

    git clone https://github.com/Sam-Aitech/Checkbyai.net.git
    cd Checkbyai.net
    npm install
  2. Set up environment:

    cp .env.example .env
    # Edit .env with your database URL and API keys
  3. Initialize database:

    npm run db:push
    npm run db:migrate
  4. Start development server:

    npm run dev
    # App: http://localhost:5000
  5. Run tests:

    npm run test:run

See DEVELOPMENT.md for detailed setup instructions.


πŸ“‹ Documentation


πŸ—οΈ Tech Stack

Frontend:

  • React 18 + TypeScript
  • TailwindCSS + Radix UI
  • React Query + Wouter
  • Three.js for 3D visualizations

Backend:

  • Node.js + Express
  • TypeScript
  • Drizzle ORM
  • PostgreSQL (Neon serverless)
  • BullMQ + Redis for job queue
  • Passport.js (OAuth + Email OTP)

External Services:

  • Stripe β€” Payment processing
  • Cloudflare Turnstile β€” CAPTCHA/bot protection
  • Resend / Brevo β€” Email delivery
  • Twilio β€” SMS/WhatsApp notifications
  • Cloudflare β€” CDN & DDoS protection

πŸ” Security

CheckByAI handles sensitive immigration data. Key security features:

  • End-to-end encryption for phone numbers (AES-256-GCM)
  • Email OTP authentication (no passwords)
  • Rate limiting on all public endpoints
  • CSRF protection with SameSite cookies
  • SQL injection prevention via parameterized queries (Drizzle ORM)
  • File upload isolation with temporary storage + immediate deletion
  • Session management backed by PostgreSQL

See SECURITY.md for full threat model, compliance information, and reporting security issues.


πŸ› Reporting Issues

Security Vulnerabilities

Please email security@checkbyai.net with:

  • Description of the vulnerability
  • Steps to reproduce
  • Potential impact

We'll acknowledge receipt within 24 hours and provide updates as we investigate.

Bugs & Features

Open an issue on GitHub Issues with:

  • Clear title and description
  • Steps to reproduce (for bugs)
  • Expected vs. actual behavior
  • Screenshots/logs if applicable

🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for:

  • Development workflow
  • How to set up your environment
  • PR standards and code review process
  • Commit message conventions

πŸ“Š Metrics & Monitoring

  • Sponsor Register β€” 124,000+ UK sponsors tracked
  • Daily cron β€” Updates every weekday at 00:30 UTC
  • Change detection β€” 7 change types (removals, upgrades, downgrades, etc.)
  • Response time β€” Alerts within seconds for paid tiers

πŸ“„ License

CheckByAI is licensed under the MIT License.


πŸ“ž Support


πŸ—ΊοΈ Roadmap

Public feature roadmap:

Operational execution roadmap (enterprise hardening, Phase 0 to Phase 8):

Usage:

  1. Feature roadmap explains what users will get.
  2. Operational roadmap explains how we make the platform enterprise-ready.

Made with ❀️ by the CheckByAI team

About

AI-powered UK visa fraud protection platform. Instantly verify Certificate of Sponsorship (CoS) documents, monitor employer sponsor licence status, and receive real-time alerts via email, WhatsApp, and SMS when licences are revoked or suspended.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors