AI Security Platform — Prompt Injection Defense

Python · FastAPI · Envoy · Pydantic · GPT-4.1 · classifiers · Redis

What I built

A protective sidecar gateway in front of LLM endpoints — multi-layer detection (regex/AST, ML classifier, semantic checks), a GPT-4.1 sanitizer, and a deterministic Pydantic policy engine.

Impact

>95% attack detection, <3% false positives, <40ms median added latency, ~87% fewer AI-content incidents.

AI Security Platform — Prompt Injection Defense product screenshot

Users

200+ protected endpoints/day

Revenue

800K-1M

Built with

  • Python
  • FastAPI
  • Envoy
  • Pydantic
  • GPT-4.1
  • classifiers
  • Redis

Related case study

Read the write-up