I build secure AI systems β gateways, policies, audit trails, and detection content that make LLM traffic safer and more visible.
Currently focused on:
- π AI security gateways β policy enforcement, secret scanning, agent tool guardrails
- π§ LLM systems β routing, RAG, privacy-preserving audit logging
- π‘ Detection engineering β SIEM rules, Sigma, dashboards for AI workloads
- βοΈ Backend & APIs β FastAPI, Docker, REST services
- π Full-stack β React, TypeScript (Refine, MUI)
A self-hosted AI security gateway for developers and teams.
AIWall sits between your apps and AI providers. You get visibility, policy enforcement, secret scanning, audit logging, cost tracking, and agent tool guardrails β without routing traffic through someone else's cloud.
What ships today
- OpenAI-compatible proxy for clients, scripts, and coding tools
- Secret scanning before prompts hit a provider
- YAML policies (allow / warn / block / redact) with a control panel
- Agent tool guardrails (risky shell/file actions β approve/deny)
- Privacy-preserving audit log + cost tracking
- Alerts via Telegram, webhook, or ntfy
Sister repos
| Repo | Role |
|---|---|
| AIWall | Core gateway |
| AIWall-detections | Wazuh / Sigma / Grafana packs |
| AIWall-redteam | Adversarial tests and mitigation checks |
Reference architecture for securing clinical AI end-to-end: attack β gateway β audit β SIEM detection β dashboard, using only synthetic healthcare data.
Covers PHI-aware filtering, structured audit logging, MITRE ATLASβmapped detections, and a red-team program with remediated findings.
Backend & security
- Python, FastAPI
- Policy engines, audit logging, REST APIs
- Docker
AI / LLM
- LLM gateways and routing
- Embeddings, vector search
- Privacy / PHI-aware filtering
- PyTorch, NLP
Detection & observability
- Wazuh, Sigma
- Grafana / Loki-style log pipelines
Frontend
- React, TypeScript
- MUI, Refine
- Vite
Data
- SQL, Pandas, NumPy
Tooling
- Linux, Git, Bash
- AIWall β self-hosted AI security gateway
- MedSecLab β clinical AI security reference architecture
- AIWall-detections β detection packs for AIWall audit events
- AIWall-redteam β red-team payloads and regression checks
Older repositories reflect earlier work in data science and analytics.
Email: Mohsen.Bahremani@proton.me