chatbot-app
Educational LLM red-teaming demo. Defense and offense in one repo.
A locally-run LLM chatbot (Node.js + Express) with five layers of defense (rate limiting, prompt-injection detection, content filtering, regex guardrails, output sanitization) and 35 PromptFoo adversarial test cases across jailbreak, system-prompt extraction, harmful content, PII leakage, and XSS/SQLi categories.
Why this matters: The clearest practitioner demo of LLM application security I've shipped. Defense and offense side by side, with reproducible adversarial tests anyone can run.