Install
openclaw skills install trustboost-pii-sanitizerContext-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".
openclaw skills install trustboost-pii-sanitizerPrivacy 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/
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.
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
}
}
}
# 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
| 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 | 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 |
| 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), 사업자등록번호 |
| Tier | Cost | Quota |
|---|---|---|
| Preview | Free | 3 requests/IP/24h |
| Trial | Free | 50 sanitizations/wallet |
| Paid | 149 USDC | 10,000 sanitizations + on-chain proof |
{
"mcpServers": {
"trustboost": {
"url": "https://api.trustboost.dev/mcp"
}
}
}
Compatible with: Claude Code · Cursor · Windsurf · Glama
# Verify any paid sanitization independently
curl https://api.trustboost.dev/verify/{anchor_tx}
# → {"status": "verified", "proof": {...}}
EU AI Act compliance — Articles 12, 13, 26.