File size: 1,543 Bytes
e411ea2
68dd54f
 
0ae672f
fcfe7a1
68dd54f
 
e411ea2
fcfe7a1
e411ea2
 
fcfe7a1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
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)