Skip to content
reaatech

OpenRouter PII Redaction Gateway for SMB Support

A deployable Express proxy that inspects every AI request, strips PII with Microsoft Presidio, and blocks prompt injections before they reach any model via OpenRouter.

The problem

SMB customer support teams frequently paste emails and chat transcripts into AI tools, leaking customer PII without realising it. Without a safety layer at the gateway, compliance violations and brand risk pile up fast.

Example artifact

A complete, working implementation of this recipe — downloadable as a zip or browsable file by file. Generated by our build pipeline; tested with full coverage before publishing.

164 kB·89 tests·98.0% coverage·vitest passing

SHA-2562526d1f2d4c6f25ee4d51f9feb5992a4378798a64bae802804ddb9bce298c6f6

Comments

Sign in with GitHub to comment and vote.

Loading comments…