Skip to content

Website gating: anonymous allowance and bot check #41

Closed

Description

@maaland

Why

Scans cost money (browser sandboxes) and do work against other people's sites. The website needs limits before it is opened to the public.

What to build

  • An anonymous allowance of 3 new scans per visitor per day on the website, using Self-serve API keys #36's allowance (the visitor is a keyed hash of the IP, never the raw IP); returning a scan under a day old doesn't count.
  • A bot check on starting a scan (Vercel BotID on Vercel; skipped when self-hosted).
  • Friendly messages when a limit is hit, with when it resets.

Done when

  • Limits and the bot check are tested (bot check behind an interface, faked in tests).
  • Reading reports is never limited.

Activity

  1. drippa-ai commented on Oct 12, 2026

    @drippa-ai

    Drippa Sign-Off: Limit anonymous website scans to 3 a day and add a bot check

    ✅ Delivers ticket #41 — 5 of 5 outcomes

    Open in Drippa

    What was promised

    • ✅ A visitor can start 3 new scans a day on the website; the 4th is refused and nothing is started.
    • ✅ Opening a scan that is still running or under a day old does not count against the allowance.
    • ✅ A friendly message explains the limit and says how many hours until it resets at midnight UTC.
    • ✅ Starting a scan is checked for bots on the live site and skipped when self-hosted; bots get a reload message and nothing is created.
    • ✅ Reading reports is never limited, and the limits and bot check are covered by automated tests.

    All 6 checks passed on the preview

    Full review on the pull request


    Updated by Drippa • 2026-10-12 19:31 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions