RubyGems Navigation menu

prompt-sanitizer 1.0.1

A lightweight, production-ready PII sanitizer built specifically for LLM pipelines. Detects and redacts emails, phone numbers, SSNs, credit cards, API keys, JWTs, AWS credentials, and more before prompts reach any model API. Supports bidirectional sanitization (strip before, restore after) and multi-turn session vaults. Zero cloud calls. GDPR & HIPAA ready.

Gemfile:
=

install:
=

Versions:

  1. 1.0.1 May 22, 2026 (28.5 KB)
  2. 0.1.0 May 22, 2026 (28.5 KB)

Development Dependencies (4):

faker ~> 3.0
rack ~> 3.0
rake ~> 13.0
rspec ~> 3.13

Owners:

Pushed by:

Authors:

  • Jeslor

SHA 256 checksum:

=

Total downloads 306

For this version 183

Version Released:

License:

MIT

Required Ruby Version: >= 3.1

Links: