--- title: TSZ emoji: 🛡️ colorFrom: yellow colorTo: blue sdk: gradio app_file: app.py pinned: false short_description: PII Detection & Guardrails Engine for LLM Security --- # 🛡️ TSZ (Thyris Safe Zone) - Interactive Demo **TSZ** is an open-source PII detection and guardrails engine that prevents sensitive data from leaking to LLMs and third-party APIs. ## What This Demo Does 1. **Paste any text** containing sensitive information (emails, phone numbers, credit cards, API keys, etc.) 2. **Click Analyze** to detect PII entities 3. **Get redacted output** safe to send to LLMs ## Supported Detection Types | Category | Types | |----------|-------| | **Personal Info** | Email, Phone (US/TR), SSN, TC Kimlik, Date of Birth | | **Financial** | Credit Cards, IBAN | | **Technical** | IP Addresses, API Keys, AWS Keys, Passwords, JWT Tokens | ## Get the Full Version This demo uses a simplified detection engine. The full TSZ includes: - More comprehensive pattern matching with validators - Configurable guardrails and policies - Allowlist/blocklist management - REST API with hot-reloadable rules - High-performance Go implementation with Redis caching - Docker deployment ready ### Quick Start ```bash git clone https://github.com/thyrisAI/safe-zone.git cd safe-zone docker-compose up -d ``` ## Links - 🔗 **GitHub**: [thyrisAI/safe-zone](https://github.com/thyrisAI/safe-zone) - 🌐 **Website**: [thyris.ai](https://thyris.ai) - 📄 **License**: Apache 2.0 --- Built with ❤️ by [Thyris.AI](https://thyris.ai)