Skip to content

Keep personal data and injected instructions out of your LLM calls

proxshield sits between your app and OpenAI or Anthropic. Names, emails, card numbers and keys become placeholders before the model sees them and come back in the reply. Instructions hidden in a prompt or a tool result are blocked. It runs on your server, and nothing it sees leaves it.

Terminal window
docker run -p 8080:8080 ghcr.io/aryan-tah/proxshield
const openai = new OpenAI({ baseURL: "http://localhost:8080/v1" });
await openai.chat.completions.create({
model: "gpt-5",
messages: [{ role: "user", content: "Email Jordan Lee at jordan@acme.com about card 4111 1111 1111 1111" }],
});

What OpenAI receives:

Email [PERSON_1] at [EMAIL_1] about card [CREDIT_CARD_1]

What your app gets back has the real values in it again, including inside tool-call arguments and streamed replies.

Redaction that round-trips

Placeholders go out and real values come back, even when a placeholder arrives split across two streamed chunks. The model never sees the originals.

Injection in tool results

Retrieved pages and tool output are scored a few sentences at a time, so one planted instruction in a long document still gets caught.

Drop-in for four APIs

OpenAI Chat Completions, Anthropic Messages, Lakera Guard’s /v2/guard and LLM Guard’s API. Existing clients switch by URL.

Open models, measured

Patterns with checksums, a small NER model or OpenAI’s Privacy Filter, and Meta’s Prompt Guard 2. The benchmark is public and reproducible, false alarms included.