---
title: "Discussion on \"I Built an Open-Source AI Firewall Because Every LLM App Leaks Data\" | Hashnode"
description: "Discussion on \"I Built an Open-Source AI Firewall Because Every LLM App Leaks Data\". An open-source proxy that redacts PII, blocks prompt injection, and enforces spend limits before prompts reach any LLM provider. Self-hostable, OpenAI-compatible."
url: "https://hashnode.com/posts/i-built-an-open-source-ai-firewall-because-every-llm-app-leaks-data/6a0ce2278837277411acae2e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I Built an Open-Source AI Firewall Because Every LLM App Leaks Data](https://ai-security-gateway.hashnode.dev/i-built-an-open-source-ai-firewall-because-every-llm-app-leaks-data?utm_source=hashnode&utm_medium=feed)

An open-source proxy that redacts PII, blocks prompt injection, and enforces spend limits before prompts reach any LLM provider. Self-hostable, OpenAI-compatible.

May 19 · 5 min read · ai-security-gateway.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#security](https://hashnode.com/tag/security)
-   [#opensource](https://hashnode.com/tag/opensource)
-   [#llm](https://hashnode.com/tag/llm)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Binu George](https://hashnode.com/@bgeorge)

@bgeorge

  
[View profile](https://hashnode.com/@bgeorge)

## Responses 1

Markdown supported · ⌘↵ to post

[jamesoconnor](https://hashnode.com/@jamesoconnordev)

[May 21](https://hashnode.com/posts/i-built-an-open-source-ai-firewall-because-every-llm-app-leaks-data/6a0ce2278837277411acae2e/comment/6a0eb08e8b034602210360bb)

This resonates. We caught a cross-tenant prompt injection in our document extraction pipeline where a customer's PDF contained text instructing the agent to summarize other data. The agent didn't fall for it, but we added explicit input boundary instructions in our system prompt and run prompt-injection regression tests in CI now. The data exfiltration risk is real even when the LLM doesn't act on the injection.
