Repository navigation
llm-web-guard v0.1.0
Defensive security for LLM-powered web apps
CLI, GitHub Action and MCP server for Claude, Cursor and other assistants.
Checks
- Exposed/hardcoded provider keys
- Public NEXT_PUBLIC_/VITE_ provider environment variables
- Missing output token caps and timeouts
- User input interpolated into system prompts
- Model output rendered as HTML
- AI routes without obvious auth or rate limiting
- Wildcard CORS on AI endpoints
AI review
Optional, real model calls through local Ollama first or OpenRouter. Structured JSON, token accounting, caching and a configurable per-run limit.
Install
uv tool install git+https://github.com/htsecurity/llm-web-guard.gitMCP
claude mcp add llm-web-guard -- uvx --from git+https://github.com/htsecurity/llm-web-guard llm-web-guard-mcpNo telemetry, no code execution, no AI calls unless explicitly requested.