GlitchHunter

Finds race bugs, proves AI fixes by replaying them

Hackman XShipped October 27, 2026#general#ai
Repo
GlitchHunter banner

About

## The problem it solves

Race conditions in database-backed APIs (two simultaneous withdrawals both passing a balance check, overselling stock) pass normal tests and only show up under concurrency. GlitchHunter finds them, reproduces them, and checks fixes.

Loop: propose checks → filter → attack with simultaneous requests → explain → repair.

  • Attacks an API with concurrent requests and records the failing run so it can be replayed.
  • An LLM proposes a repair; we do not trust it. The fix is validated by replaying the failing schedule plus 30-50 fresh simultaneous trials, so the verdict comes from execution, not from an LLM's opinion.
  • Use it from a Next.js dashboard, a CLI (`glitchhunter fix <app>`), or the API. You can upload your own app (scanned, set up, tested in isolation).

## Challenges we ran into

- Making races reproducible: with a fast local database the race window is tiny, so we added a test-only delay header and widened the window for asyncpg apps. - Judging fixes honestly: we compared an LLM judge to our execution validator on 7 hand-written fixes. A careful prompt matched execution 7/7; a lazy prompt approved 1 of 4 wrong fixes. We reported that small result instead of overclaiming. Here we represent a trade-off between flexibility and trustability/predictability. - Running untrusted uploaded code: each upload gets its own PostgreSQL role and schema and a separate minimal-environment process. Outbound network is not restricted and Windows has no resource limits, so we documented that. - LLM rate limits: larger Gemini models returned 429 mid-run, so we fall back to smaller models and local Ollama. - Deploying to Render: we moved between plans and fixed the race window for the hosted database.

Screenshots

GlitchHunter screenshot 1GlitchHunter screenshot 2

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Deflake

Finds flaky tests in a Python project, explains why each one flakes, writes a small fix that has to change the cause, proves the fix with repeated runs, and routes it either to an automatic pull request or to a person.

Failure Compiler

Crash-test a plan before Saturday does. AI reads a messy volunteer plan, a constraint solver tests every single problem and every pair, and fixes are checked before you trust them.