{ "$schema": "https://raw.githubusercontent.com/molt/schema/main/skill.schema.json", "name": "TrustBoost-PII-Sanitizer", "version": "2.0.0", "description": "Blockchain-verified PII sanitization layer for autonomous AI agents. Redacts names, emails, phone numbers, addresses, national IDs, private keys, and financial data before text reaches LLM providers. Supports English, Spanish (LATAM), Portuguese (Brazil/Portugal), German, and Japanese. Payment verified on-chain via Helius oracle on Solana. No SDK required — single POST request.", "author": "teodorofodocrispin-cmyk", "license": "MIT", "triggers": [ "sanitize", "clean pii", "remove sensitive data", "redact", "pii removal", "privacy filter", "data sanitization", "remove personal information", "gdpr compliance", "lgpd compliance", "appi compliance", "hipaa compliance", "sanitize before llm", "remove pii before sending", "protect user data", "個人情報削除", "datos personales", "datenschutz" ], "tags": [ "security", "privacy", "pii", "solana", "llm", "guardrails", "data-sanitizer", "gdpr", "lgpd", "appi", "hipaa", "ccpa", "multilingual", "spanish", "portuguese", "german", "japanese", "autonomous-agents", "a2a", "m2m", "webhook", "no-sdk", "blockchain-verified", "helius", "usdc", "solana-mainnet", "privacy-by-default", "llm-privacy-layer", "agent-security", "data-firewall", "fastapi", "supabase", "production-ready" ], "capabilities": [ "pii-detection", "pii-redaction", "risk-classification", "multilingual-processing", "blockchain-payment-verification", "audit-trail", "quota-tracking", "per-wallet-trial-tracking", "replay-attack-protection" ], "supported_languages": [ { "language": "English", "region": "Global", "pii_patterns": ["SSN", "API keys", "credit cards", "passwords", "email", "phone"] }, { "language": "Spanish", "region": "Latin America", "pii_patterns": ["RFC", "CUIT", "CUIL", "RUT", "DNI", "CURP", "Cedula", "RUC"] }, { "language": "Portuguese", "region": "Brazil and Portugal", "pii_patterns": ["CPF", "CNPJ", "RG", "NIF", "NUS"] }, { "language": "German", "region": "Germany, Austria, Switzerland", "pii_patterns": ["Personalausweis", "Steuernummer", "IBAN DE", "Reisepass"] }, { "language": "Japanese", "region": "Japan", "pii_patterns": ["マイナンバー", "運転免許証", "パスポート番号", "住所"] } ], "compliance": [ "GDPR", "LGPD", "APPI", "HIPAA", "CCPA", "DPDPA" ], "endpoints": { "api": "https://api.trustboost.dev/sanitize", "health": "https://api.trustboost.dev/health", "repository": "https://github.com/teodorofodocrispin-cmyk/TrustBoost-PII-Sanitizer", "skill": "https://raw.githubusercontent.com/teodorofodocrispin-cmyk/TrustBoost-PII-Sanitizer/main/SKILL.md" }, "integration": { "method": "POST", "content_type": "application/json", "authentication": "none", "latency_ms": 200, "uptime_percent": 99.9, "infrastructure": "FastAPI + Supabase + Render (AWS)", "example": { "request": { "tx_hash": "TRIAL", "wallet_address": "your-solana-wallet", "text": "Contact John Doe at john@example.com or +1 555 123 4567" }, "response": { "status": "success", "sanitized_content": "Contact [REDACTED] at [REDACTED] or [REDACTED]", "safety_score": 0.95, "risk_category": "PRIVATE", "entities_removed": true, "usage_metrics": { "quota_remaining": 49, "quota_limit": 50 } } } }, "parameters": { "text": { "type": "string", "description": "The text containing potential PII to be sanitized. Supports any language.", "required": true }, "tx_hash": { "type": "string", "description": "Solana transaction hash for payment verification. Use 'TRIAL' for free tier (50 free sanitizations per wallet). No payment required for TRIAL.", "required": true, "default": "TRIAL" }, "wallet_address": { "type": "string", "description": "Your Solana wallet address. Used for per-wallet TRIAL quota tracking and audit trail.", "required": false } }, "outputs": { "status": { "type": "string", "description": "Execution status: 'success' or 'empty_input'" }, "sanitized_content": { "type": "string", "description": "Text with all PII replaced by [REDACTED] tag. Same language as input." }, "entities_removed": { "type": "boolean", "description": "True if any PII entities were detected and redacted" }, "safety_score": { "type": "number", "description": "Quantitative risk score from 0.0 (clean) to 1.0 (high risk)" }, "risk_category": { "type": "string", "enum": ["CRITICAL", "PRIVATE", "SENSITIVE"], "description": "CRITICAL: keys/passwords/financial. PRIVATE: emails/IDs/phones. SENSITIVE: handles/locations." }, "usage_metrics": { "type": "object", "description": "Quota tracking object", "properties": { "quota_remaining": { "type": "number", "description": "Remaining requests before quota is exhausted" }, "quota_limit": { "type": "number", "description": "Total quota limit: 50 for TRIAL per wallet, 10,000 for paid license" } } } }, "privacy": { "raw_input_stored": false, "stored_fields": [ "tx_hash", "input_length_chars", "sanitized_content", "safety_score", "risk_category", "wallet_address", "timestamp" ], "storage_backend": "Supabase PostgreSQL (private audit ledger)", "note": "Raw input text is never stored. Only sanitized output and metadata are logged for operational traceability." }, "quota": { "trial": { "token": "TRIAL", "limit": 50, "limit_scope": "per_wallet_address", "cost": 0, "currency": null, "description": "Free tier — 50 sanitizations per wallet address. No payment, no registration, no API key required. Start immediately." }, "paid": { "limit": 10000, "cost": 149, "currency": "USDC", "network": "solana", "payment_address": "giu4VciTkfWJNG1oeP6SzHEJwmabikJSMB91GaFNWE4", "description": "Full license — 10,000 sanitizations upon verified payment of 149 USDC on Solana Mainnet." } }, "error_responses": { "402": { "code": "QUOTA_EXHAUSTED_OR_PAYMENT_REQUIRED", "description": "TRIAL quota exhausted or payment insufficient. Send 149 USDC on Solana to continue.", "fields": { "trial_info": "quota_used, quota_limit, quota_remaining", "payment_info": "amount_required, currency, network, payment_address", "next_steps": "send_payment, retry_with_tx_hash" } }, "409": { "code": "TX_HASH_ALREADY_USED", "description": "This transaction hash has already been used. Each tx_hash can only be used once.", "fields": { "payment_info": "amount_required, currency, network, payment_address" } } }, "pricing": { "model": "prepaid", "amount": 149, "currency": "USDC", "network": "solana", "payment_address": "giu4VciTkfWJNG1oeP6SzHEJwmabikJSMB91GaFNWE4", "quota": 10000, "human_readable_reference": "https://github.com/teodorofodocrispin-cmyk/TrustBoost-PII-Sanitizer#-sovereign-pricing-model" }, "evaluation": { "autonomy_score": 8.5, "audit_score": 9.8, "evaluated_by": "External AI system", "evaluation_date": "2026-04-22", "report": "https://github.com/teodorofodocrispin-cmyk/TrustBoost-PII-Sanitizer/blob/main/AGENT_EVALUATION.md" }, "agent_notes": "TrustBoost v2.0 runs on FastAPI + Supabase + Render (AWS). No human intervention required. TRIAL mode gives 50 free requests per wallet_address — each agent has its own independent quota. Anti-replay protection via Supabase PRIMARY KEY prevents tx_hash reuse. The quota_remaining field enables autonomous budget management. When quota is exhausted, the error response includes complete payment instructions for self-healing workflows." }