r/coolgithubprojects • u/Significant_Let1275 • 23m ago
Two MIT tools for catching web security mistakes before a release
I built two small tools for checks I wanted to run before merging a web app change. One looks at what the browser actually blocks when you tighten a policy. The other reviews local source for common mistakes around LLM features.
- header-replay opens a baseline and a candidate in Chromium. It applies the proposed headers locally and reports new CSP violations, blocked requests and JavaScript errors, with before-and-after screenshots.
- llm-web-guard checks your own source for exposed provider keys, model calls without timeouts or output limits, and AI routes that may need authentication or rate limiting. The default checks are static and heuristic findings are prompts for review.
Both repos are MIT-licensed. If you already run these checks in CI, what’s the most useful output: an HTML report, a pull request annotation, or a short terminal summary?
1
Upvotes