DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to screen prompts for PII and prompt injection with Antirion

Add guardrails that check requests, responses and streams before models see them.

Short answer: Start the gateway with docker run -p 8080:8080 -p 8081:8081 -v antirion-data:/var/lib/antirion eliasbiondo/antirion; then in the console, open the guardrail settings and enable the PII and prompt injection checks for the key or project; send a test chat request with a made-up email address in the message using the Playground or the curl command from the getting started guide. All steps.

Who it is forA security or compliance owner whose apps send user text to LLMs and must keep personal data and injection attempts out.

The problemUser text can carry personal data or instructions that try to override the app, and each app would need its own filter.

The outcomeRequests with PII or injection attempts are caught at the gateway, and redaction keeps the original format.

What you need first

  • Docker installed on the machine that will run the gateway
  • An API key from OpenAI or Anthropic
  • A web browser to open the console at http://localhost:8081/ui/

Steps

  1. Start the gateway with docker run -p 8080:8080 -p 8081:8081 -v antirion-data:/var/lib/antirion eliasbiondo/antirion.
  2. In the console, open the guardrail settings and enable the PII and prompt injection checks for the key or project. (inferred, check the README)
  3. Send a test chat request with a made-up email address in the message using the Playground or the curl command from the getting started guide.
  4. Open Request log and confirm the request shows the guardrail result.

Prompt for your agent

Using the eliasbiondo/antirion README, enable the PII guardrail for the key <key name> in the console and send a test request containing a fake email address. Expected output: the request is redacted or blocked as configured. Verify the result in the Request log.

Caveat. The README lists the guardrail types but the exact configuration steps are not in the excerpt, so each step must be checked against the console.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for eliasbiondo/antirion and "Screen prompts for PII and prompt injection"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer