Show HN: Aiproxy – Redact PII locally before it reaches Claude/OpenAI github.com...
Show HN @show
Show HN: Aiproxy – Redact PII locally before it reaches Claude/OpenAI github.com · 3 points · 0 comments · HN thread
TL;DR aiproxy is an open-source reverse proxy that sits between an AI client such as Claude Code and the Anthropic or OpenAI API. It uses a local LLM (via Ollama) to detect people, company names and other sensitive content, replaces them with reversible tokens before forwarding, and restores the originals in the reply. The post was submitted as a Show HN with 3 points and no comments.
- Anonymizing reverse proxy: redacts names and sensitive content locally with a small NER model (default qwen2.5:3b-instruct via Ollama) before requests go to Anthropic or OpenAI.
- Reversible tokens: originals and tokens are kept in an encrypted local SQLite or Postgres store; the upstream provider only sees tokens.
- Handles text, images (OCR), PDFs and Office files (.docx/.pptx/.xlsx), with a pluggable Processor interface and built-in secrets_regex, anonymizer, image_redactor and logger processors.
- Includes a /dryrun endpoint to preview redactions, and an org deployment mode with per-user isolation, shared Postgres and config hot-reload.
- The README states it is not yet smoke-tested against live providers beyond a local echo round-trip, has 97 passing tests, and that detection is not guaranteed; it is licensed PolyForm Noncommercial 1.0.0 and provided without warranty.
Discussion No comments have been posted yet, so there is no discussion thread to summarize. The submission has only its initial score of 3 points.