TrustBoost PII Sanitizer v2.6.0
Privacy firewall for autonomous AI agent pipelines. Sanitizes PII before text reaches LLMs. Every paid sanitization anchored on Solana — verifiable forever.
Live Demo: https://huggingface.co/spaces/TrustBoost/pii-sanitizer
Verify proof: https://api.trustboost.dev/verify/{anchor_tx}
Landing page: https://teodorofodocrispin-cmyk.github.io/TrustBoost-PII-Sanitizer/
What it does
TrustBoost sits between your agent and the LLM. It detects and redacts PII — emails, phone numbers, national IDs, API keys, passwords, financial data — before the text reaches the model. Every paid sanitization is anchored on Solana via Helius, providing an immutable audit trail verifiable by anyone.
Why use TrustBoost
- EU AI Act enforcement begins August 2, 2026 — Articles 12, 13, 26 require verifiable audit trails
- Zero friction — single POST request, no SDK, no setup
- 8 languages — including LATAM identifiers not covered by regex tools
- x402 native — agents pay autonomously in USDC on Solana
- Proof on-chain — immutable evidence for regulators and auditors
- Fail-closed — if unreachable, blocks the request rather than passing unsanitized text
Quick Start — TRIAL mode (no wallet needed)
curl -X POST https://api.trustboost.dev/sanitize \
-H "Content-Type: application/json" \
-d '{
"text": "My email is john@example.com and SSN is 123-45-6789",
"tx_hash": "TRIAL",
"wallet_address": "your-agent-id",
"context": "general"
}'
Response:
{
"status": "success",
"data": {
"sanitized_content": "My email is [REDACTED] and SSN is [REDACTED]",
"safety_score": 0.6,
"risk_category": "PRIVATE",
"context_applied": "general",
"usage_metrics": {
"quota_remaining": 49,
"quota_limit": 50
}
}
}
x402 Autonomous Payment Flow
# Step 1: Call without payment → receive HTTP 402
curl -X POST https://api.trustboost.dev/sanitize \
-H "Content-Type: application/json" \
-d '{"text": "Contact john@example.com"}'
# → HTTP 402 with USDC payment instructions
# Step 2: Pay 149 USDC on Solana mainnet
# Address: giu4VciTkfWJNG1oeP6SzHEJwmabikJSMB91GaFNWE4
# Step 3: Retry with tx_hash
curl -X POST https://api.trustboost.dev/sanitize \
-H "Content-Type: application/json" \
-d '{"text": "Contact john@example.com", "tx_hash": "YOUR_TX_HASH"}'
# → sanitized text + proof_of_sanitization on Solana
Endpoints
| Endpoint |
Method |
Description |
/sanitize |
POST |
Core PII sanitization endpoint |
/redact |
POST |
Alias for /sanitize |
/sanitize/preview |
POST |
3 free previews per IP/24h |
/demo |
POST |
3 free requests per hour |
/detect |
POST |
Alias for /demo |
/verify/{anchor_tx} |
GET |
Verify Proof of Sanitization on Solana |
/anchor/{anchor_tx} |
GET |
Alias for /verify |
/score/{wallet} |
GET |
TrustBoost Score M2M trust verification |
/health |
GET |
Service health check |
/mcp |
POST |
MCP Server JSON-RPC 2.0 |
/llms.txt |
GET |
LLM and agent discovery |
/openapi.json |
GET |
OpenAPI 3.0 specification |
Context Modes
| Context |
Use case |
general |
Standard PII detection (default) |
legal |
Maximum redaction for legal documents |
financial |
Financial identifiers focus |
medical |
HIPAA-grade sanitization |
code |
API keys and credentials only |
Languages & PII Patterns
| Language |
Region |
Patterns |
| 🇺🇸 English |
Global |
SSN, API keys, credit cards, passwords |
| 🇲🇽🇨🇴 Spanish LATAM |
Latin America |
RFC, CUIT, CURP, DNI, RUT, Cédula |
| 🇧🇷🇵🇹 Portuguese |
BR & PT |
CPF, CNPJ, RG, NIF |
| 🇩🇪 German |
DE/AT/CH |
Personalausweis, Steuernummer, IBAN DE |
| 🇯🇵 Japanese |
Japan |
マイナンバー, 運転免許証, 住所 |
| 🇫🇷 French |
FR/BE/CA |
NIR, SIRET, Carte Vitale, IBAN FR |
| 🇮🇹 Italian |
Italy |
Codice Fiscale, Partita IVA, Tessera Sanitaria |
| 🇰🇷 Korean |
Korea |
주민등록번호 (RRN), 사업자등록번호 |
Pricing
| Tier |
Cost |
Quota |
| Preview |
Free |
3 requests/IP/24h |
| Trial |
Free |
50 sanitizations/wallet |
| Paid |
149 USDC |
10,000 sanitizations + on-chain proof |
MCP Integration
{
"mcpServers": {
"trustboost": {
"url": "https://api.trustboost.dev/mcp"
}
}
}
Compatible with: Claude Code · Cursor · Windsurf · Glama
Proof of Sanitization
# Verify any paid sanitization independently
curl https://api.trustboost.dev/verify/{anchor_tx}
# → {"status": "verified", "proof": {...}}
EU AI Act compliance — Articles 12, 13, 26.
Resources
1---2name: trustboost-pii-sanitizer3description: Context-aware PII sanitization for autonomous AI agent pipelines. Sanitizes text before LLMs with 5 context modes (legal/financial/medical/code/general), Privacy Budget per agent, and TrustBoost Score for M2M trust verification. Supports EN, ES (LATAM), PT (BR/PT), DE, JA, FR, IT, KO with country-specific patterns (RFC, CUIT, CPF, CNPJ, Personalausweis, マイナンバー, NIR, Codice Fiscale, 주민등록번호). Returns sanitized text, safety_score (0.0-1.0), risk_category (CRITICAL/PRIVATE/SENSITIVE/CLEAN), and context_applied. No SDK required — single POST request. 50 free requests per wallet with tx_hash="TRIAL".4license: MIT5---67# TrustBoost PII Sanitizer v2.6.089Privacy firewall for autonomous AI agent pipelines. Sanitizes PII before text reaches LLMs. Every paid sanitization anchored on Solana — verifiable forever.1011**Live Demo:** https://huggingface.co/spaces/TrustBoost/pii-sanitizer12**Verify proof:** https://api.trustboost.dev/verify/{anchor_tx}13**Landing page:** https://teodorofodocrispin-cmyk.github.io/TrustBoost-PII-Sanitizer/1415## What it does1617TrustBoost sits between your agent and the LLM. It detects and redacts PII — emails, phone numbers, national IDs, API keys, passwords, financial data — before the text reaches the model. Every paid sanitization is anchored on Solana via Helius, providing an immutable audit trail verifiable by anyone.1819## Why use TrustBoost2021- **EU AI Act** enforcement begins August 2, 2026 — Articles 12, 13, 26 require verifiable audit trails22- **Zero friction** — single POST request, no SDK, no setup23- **8 languages** — including LATAM identifiers not covered by regex tools24- **x402 native** — agents pay autonomously in USDC on Solana25- **Proof on-chain** — immutable evidence for regulators and auditors26- **Fail-closed** — if unreachable, blocks the request rather than passing unsanitized text2728## Quick Start — TRIAL mode (no wallet needed)2930```bash31curl -X POST https://api.trustboost.dev/sanitize \32 -H "Content-Type: application/json" \33 -d '{34 "text": "My email is john@example.com and SSN is 123-45-6789",35 "tx_hash": "TRIAL",36 "wallet_address": "your-agent-id",37 "context": "general"38 }'39```4041**Response:**42```json43{44 "status": "success",45 "data": {46 "sanitized_content": "My email is [REDACTED] and SSN is [REDACTED]",47 "safety_score": 0.6,48 "risk_category": "PRIVATE",49 "context_applied": "general",50 "usage_metrics": {51 "quota_remaining": 49,52 "quota_limit": 5053 }54 }55}56```5758## x402 Autonomous Payment Flow5960```bash61# Step 1: Call without payment → receive HTTP 40262curl -X POST https://api.trustboost.dev/sanitize \63 -H "Content-Type: application/json" \64 -d '{"text": "Contact john@example.com"}'65# → HTTP 402 with USDC payment instructions6667# Step 2: Pay 149 USDC on Solana mainnet68# Address: giu4VciTkfWJNG1oeP6SzHEJwmabikJSMB91GaFNWE46970# Step 3: Retry with tx_hash71curl -X POST https://api.trustboost.dev/sanitize \72 -H "Content-Type: application/json" \73 -d '{"text": "Contact john@example.com", "tx_hash": "YOUR_TX_HASH"}'74# → sanitized text + proof_of_sanitization on Solana75```7677## Endpoints7879| Endpoint | Method | Description |80|----------|--------|-------------|81| `/sanitize` | POST | Core PII sanitization endpoint |82| `/redact` | POST | Alias for /sanitize |83| `/sanitize/preview` | POST | 3 free previews per IP/24h |84| `/demo` | POST | 3 free requests per hour |85| `/detect` | POST | Alias for /demo |86| `/verify/{anchor_tx}` | GET | Verify Proof of Sanitization on Solana |87| `/anchor/{anchor_tx}` | GET | Alias for /verify |88| `/score/{wallet}` | GET | TrustBoost Score M2M trust verification |89| `/health` | GET | Service health check |90| `/mcp` | POST | MCP Server JSON-RPC 2.0 |91| `/llms.txt` | GET | LLM and agent discovery |92| `/openapi.json` | GET | OpenAPI 3.0 specification |9394## Context Modes9596| Context | Use case |97|---------|----------|98| `general` | Standard PII detection (default) |99| `legal` | Maximum redaction for legal documents |100| `financial` | Financial identifiers focus |101| `medical` | HIPAA-grade sanitization |102| `code` | API keys and credentials only |103104## Languages & PII Patterns105106| Language | Region | Patterns |107|----------|--------|----------|108| 🇺🇸 English | Global | SSN, API keys, credit cards, passwords |109| 🇲🇽🇨🇴 Spanish LATAM | Latin America | RFC, CUIT, CURP, DNI, RUT, Cédula |110| 🇧🇷🇵🇹 Portuguese | BR & PT | CPF, CNPJ, RG, NIF |111| 🇩🇪 German | DE/AT/CH | Personalausweis, Steuernummer, IBAN DE |112| 🇯🇵 Japanese | Japan | マイナンバー, 運転免許証, 住所 |113| 🇫🇷 French | FR/BE/CA | NIR, SIRET, Carte Vitale, IBAN FR |114| 🇮🇹 Italian | Italy | Codice Fiscale, Partita IVA, Tessera Sanitaria |115| 🇰🇷 Korean | Korea | 주민등록번호 (RRN), 사업자등록번호 |116117## Pricing118119| Tier | Cost | Quota |120|------|------|-------|121| Preview | Free | 3 requests/IP/24h |122| Trial | Free | 50 sanitizations/wallet |123| Paid | 149 USDC | 10,000 sanitizations + on-chain proof |124125## MCP Integration126127```json128{129 "mcpServers": {130 "trustboost": {131 "url": "https://api.trustboost.dev/mcp"132 }133 }134}135```136137Compatible with: Claude Code · Cursor · Windsurf · Glama138139## Proof of Sanitization140141```bash142# Verify any paid sanitization independently143curl https://api.trustboost.dev/verify/{anchor_tx}144# → {"status": "verified", "proof": {...}}145```146147EU AI Act compliance — Articles 12, 13, 26.148149## Resources150151- GitHub: https://github.com/teodorofodocrispin-cmyk/TrustBoost-PII-Sanitizer152- Agent Card: https://api.trustboost.dev/.well-known/agent-card.json153- llms.txt: https://api.trustboost.dev/llms.txt154- OpenAPI: https://api.trustboost.dev/openapi.json155- Live Demo: https://huggingface.co/spaces/TrustBoost/pii-sanitizer156- Landing: https://teodorofodocrispin-cmyk.github.io/TrustBoost-PII-Sanitizer/