安全

TrustBoost PII Sanitizer

试用

在文本送入大模型前调用一次 HTTPS POST 即可抹除 PII,Solana 按次结算或 50 次免费试用。

它能做什么

原始文本经 HTTPS 传至 api.trustboost.dev,由 OpenAI GPT-4o-mini 检测并替换其中的 PII,返回脱敏文本、safety_score(0.0–1.0)与 risk_category(CRITICAL/PRIVATE/SENSITIVE)。覆盖英、西、葡、德、日、法、意、韩八种语言,并按地区识别 RFC、CPF/CNPJ、マイナンバー、NIR、Codice Fiscale 等证件号。原始输入永不落库,仅脱敏结果与元数据保留 90 天。无需 SDK,只需向 /sanitize 发一次 POST,带上 text、tx_hash 与 wallet_address;tx_hash="TRIAL" 享每钱包 50 次免费额度,或在 Solana 主网支付 149 USDC 解锁 10,000 次。

什么时候用它

  • 把用户提交的文本送入 GPT、Claude、Gemini 之前先过一遍脱敏
  • 在多语言流水线中识别 CPF、マイナンバー、NIR 等本地化证件号
  • 为带配额追踪的自主代理循环加一层 PII 过滤

技能文档

⚠️ Data Handling Notice: TrustBoost sends text to a remote API (api.trustboost.dev) for sanitization. Raw input is transmitted over HTTPS, processed, and immediately discarded — it is never stored or logged. Only sanitized output and metadata are retained (90 days). Review PRIVACY.md before submitting regulated records, credentials, or customer data. Use /sanitize/preview for a zero-retention free test.

TrustBoost PII Sanitizer v2.6.0

A blockchain-verified privacy layer that redacts PII from text before it reaches LLMs or external services. Payment is verified trustlessly on Solana via Helius oracle — no API key, no SDK, no human intervention required.

Running on FastAPI + Supabase + Render (AWS) — production-grade infrastructure with per-wallet TRIAL tracking and automatic replay attack protection.


⚠️ Transparency Notice (Read Before Installing)

TrustBoost is designed for radical transparency. Before installing, understand exactly how it works:

1. Data Transmission

Raw text is transmitted to Render (AWS) infrastructure for processing via FastAPI.

What TrustBoost stores: Only sanitized output, character count, safety score, risk category, wallet address, and timestamp — never raw input text.

Storage: Supabase PostgreSQL (private audit ledger)

For strict no-transmission requirements (e.g., on-premise HIPAA environments): this service is not suitable. Use a local sanitizer instead.

For general privacy compliance (GDPR, LGPD, APPI, CCPA): TrustBoost provides meaningful risk reduction by sanitizing PII before it reaches YOUR LLM (Claude, GPT, Gemini, etc). Detection uses OpenAI GPT-4o-mini internally — raw text reaches TrustBoost infrastructure for processing, then server-side enforcement removes all detected entities before your pipeline continues.

2. Payment Model and Autonomous Safety

TrustBoost uses Solana blockchain as the authorization layer — replacing human confirmation with cryptographic verification.

How autonomous payment works safely:

  1. Agent constructs a Solana transaction
  2. Agent signs with its OWN wallet private key (TrustBoost never has access to agent keys)
  3. Transaction is broadcast to Solana Mainnet
  4. Helius oracle verifies the transaction on-chain
  5. Service activates only after verification

Why blockchain replaces human confirmation:

  • Transaction is signed by the agent's own wallet
  • No credentials are shared with TrustBoost
  • Payment is publicly verifiable on Solana Explorer
  • TrustBoost cannot initiate payments — only the agent can trigger a transaction

Safe payment implementation:

# Monitor quota — only pay when needed
if result["data"]["usage_metrics"]["quota_remaining"] < 10:
    # Autonomous payment within operator-configured limits
    # Operator sets MAX_AUTO_PAYMENT once — agent operates freely within it
    # No human loop required — blockchain verification replaces human confirmation
    if agent_wallet_balance >= MAX_AUTO_PAYMENT_USDC:
        execute_autonomous_payment(
            amount=149,
            currency="USDC",
            network="solana",
            address="giu4VciTkfWJNG1oeP6SzHEJwmabikJSMB91GaFNWE4"
        )
    else:
        notify_operator("Insufficient balance — configure wallet funding")

Recommendation: Always use TRIAL (50 free requests per wallet) before any paid transaction.

3. Audit Trail

Every sanitization is logged to Supabase PostgreSQL with:

Retention policy: Sanitized output stored 90 days, deleted on request via teodorofodocrispin@gmail.com. Raw input text is never stored at any point. tx_hash, input character count (not content), sanitized output, safety score, risk category, wallet address, timestamp.

The raw input text is never stored at any point.

4. Operator Verification


When to use this skill

Activate this skill when:

  • The agent needs to process user-generated text that may contain emails, passwords, private keys, phone numbers, addresses, or national IDs
  • Privacy compliance is required before passing content to an LLM provider (GDPR, LGPD, APPI, CCPA)
  • The agent processes text in Spanish, Portuguese, German, or Japanese with country-specific PII formats
  • The agent needs autonomous budget management via the quota_remaining field

When NOT to use this skill

  • Strict on-premise HIPAA environments requiring zero data transmission to third parties
  • Use cases involving real private keys or passwords in production (use TRIAL only for testing)

How it works

  1. Agent sends text + a Solana tx_hash to the TrustBoost API
  2. Supabase verifies per-wallet TRIAL quota or Helius oracle verifies payment on Solana mainnet
  3. OpenAI GPT-4o-mini detects and redacts all PII in the input language
  4. Returns sanitized text + safety score + risk category + quota metrics
  5. Only sanitized output is logged — never raw input

Multilingual PII Support

TrustBoost automatically detects the input language and applies country-specific patterns:

LanguageRegionPII Patterns
🇺🇸 EnglishGlobalSSN, API keys, credit cards, passwords
🇲🇽🇨🇴🇦🇷 SpanishLatin AmericaRFC, CUIT, RUT, DNI, CURP, Cédula, RUC
🇧🇷🇵🇹 PortugueseBrazil & PortugalCPF, CNPJ, RG, NIF, NUS
🇩🇪 GermanGermany/Austria/CHPersonalausweis, Steuernummer, IBAN DE
🇯🇵 JapaneseJapanマイナンバー, 運転免許証, パスポート番号, 住所
🇫🇷🇧🇪🇨🇦 FrenchFrance / Belgium / Switzerland / CanadaNIR (Sécurité Sociale), SIRET, SIREN, Carte Vitale, IBAN FR
🇮🇹 ItalianItaly / San MarinoCodice Fiscale, Partita IVA, Carta d'Identità, Tessera Sanitaria, IBAN IT
🇰🇷 KoreanRepublic of Korea주민등록번호 (RRN), 사업자등록번호, 여권번호, 운전면허번호

Try it in 10 seconds — no wallet needed

curl -X POST https://api.trustboost.dev/sanitize/preview \
  -H "Content-Type: application/json" \
  -d '{"text": "My name is John Doe, email john@gmail.com, SSN 123-45-6789"}'
{
  "sanitized_content": "My name is [REDACTED], email [REDACTED], SSN [REDACTED]",
  "safety_score": 0.6,
  "risk_category": "PRIVATE",
  "demo": true,
  "requests_remaining": 2,
  "next": "https://github.com/teodorofodocrispin-cmyk/TrustBoost-PII-Sanitizer#trial"
}

3 free previews per IP · no account · no wallet · no setup. Ready for more? 50 free sanitizations with a Solana wallet using tx_hash="TRIAL".


API Request

Endpoint: POST https://api.trustboost.dev/sanitize

Headers: Content-Type: application/json

Payload:

{
  "text": "The text containing potential PII",
  "tx_hash": "TRIAL",
  "wallet_address": "your-solana-wallet"
}

Access modes

Modetx_hash valueCostQuota
Trial"TRIAL"Free50 sanitizations per wallet
PaidReal Solana tx hash149 USDC10,000 sanitizations

To get a paid tx_hash: Send exactly 149 USDC on Solana mainnet to: giu4VciTkfWJNG1oeP6SzHEJwmabikJSMB91GaFNWE4


API Response (Success 200)

{
  "status": "success",
  "request_id": "TRIAL",
  "data": {
    "message": "Content successfully sanitized and logged.",
    "sanitized_content": "Text with [REDACTED] replacing all PII",
    "safety_score": 0.95,
    "risk_category": "PRIVATE",
    "entities_removed": true,
    "timestamp": "2026-04-27T09:00:00Z",
    "usage_metrics": {
      "quota_remaining": 49,
      "quota_limit": 50
    }
  },
  "billing": {
    "license_type": "TRIAL",
    "status": "active"
  }
}

API Response (Error 402)

{
  "status": "error",
  "request_id": "TRIAL",
  "code": "QUOTA_EXHAUSTED_OR_PAYMENT_REQUIRED",
  "message": "TRIAL quota exhausted. Send 149 USDC on Solana to continue.",
  "trial_info": {
    "quota_used": 50,
    "quota_limit": 50,
    "quota_remaining": 0
  },
  "payment_info": {
    "amount_required": 149,
    "currency": "USDC",
    "network": "solana",
    "payment_address": "giu4VciTkfWJNG1oeP6SzHEJwmabikJSMB91GaFNWE4"
  },
  "next_steps": [
    {
      "action": "send_payment",
      "description": "Send 149 USDC on Solana Mainnet to the payment address"
    },
    {
      "action": "retry_with_tx_hash",
      "description": "Resubmit request including the Solana transaction signature"
    }
  ]
}

API Response (Error 409)

{
  "status": "error",
  "code": "TX_HASH_ALREADY_USED",
  "message": "This transaction hash has already been used. Each tx_hash can only be used once.",
  "payment_info": {
    "amount_required": 149,
    "currency": "USDC",
    "network": "solana",
    "payment_address": "giu4VciTkfWJNG1oeP6SzHEJwmabikJSMB91GaFNWE4"
  }
}

Risk categories

CategoryWhat gets redacted
CRITICALPrivate keys, seed phrases, passwords, credit card data
PRIVATEEmails, phone numbers, national IDs, physical addresses
SENSITIVESocial media handles, general locations

Safety score

  • 0.0 — No PII detected, text is clean
  • 0.5 — Moderate PII detected (emails, handles)
  • 1.0 — Critical PII detected (keys, passwords)

Example — English

Input:

{
  "text": "Contact John at john@example.com or +1-555-0123. API key: sk-abc123xyz.",
  "tx_hash": "TRIAL",
  "wallet_address": "your-wallet"
}

Output:

{
  "sanitized_content": "Contact [REDACTED] at [REDACTED] or [REDACTED]. API key: [REDACTED].",
  "safety_score": 0.97,
  "risk_category": "CRITICAL",
  "entities_removed": true
}

Example — German

Input:

{
  "text": "Hans Müller, Personalausweis: L01X00T47, IBAN: DE89 3704 0044 0532 0130 00, Tel: +49 89 1234 5678",
  "tx_hash": "TRIAL"
}

Output:

{
  "sanitized_content": "[REDACTED], Personalausweis: [REDACTED], IBAN: [REDACTED], Tel: [REDACTED]",
  "safety_score": 0.98,
  "risk_category": "CRITICAL",
  "entities_removed": true
}

Example — Japanese

Input:

{
  "text": "田中太郎、マイナンバー:123456789012、電話:090-1234-5678",
  "tx_hash": "TRIAL"
}

Output:

{
  "sanitized_content": "[REDACTED]、マイナンバー:[REDACTED]、電話:[REDACTED]",
  "safety_score": 0.97,
  "risk_category": "PRIVATE",
  "entities_removed": true
}

External Evaluations

Known Limitations

  • Prompt injection risk: Malicious text containing instructions like "Ignore previous instructions" could potentially bypass PII redaction. temperature=0 and strict JSON-only output reduce this risk but do not eliminate it entirely.
  • Not suitable for zero-transmission environments: Raw text is sent to api.trustboost.dev before sanitization occurs.
  • TRIAL is trust-based: Per-wallet quota tracking is not cryptographically verified.
  • No certified audit: Evaluation scores are AI-generated, not from a certified security firm.

Resources

常见问题

原始文本会被保存吗?
不会。文档明确写到原始输入从不落库,只保留脱敏输出、字符数、安全分、风险等级、钱包地址和时间戳,保留期 90 天。
需要装 SDK 或 API Key 吗?
不需要。直接向 https://api.trustboost.dev/sanitize 发一次 POST,带上 text、tx_hash、wallet_address 即可,没有 SDK 也没有 API Key。
适合 HIPAA 或完全不出网的场景吗?
不适合。文档明确指出该服务不适用于本地化 HIPAA 或任何严格的零出网要求,因为原始文本在脱敏之前就已经发到 API 了。

相关技能

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván561 次安装18 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván857 次安装69 星标

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

执行 Git 操作(提交、分支、合并、变基、冲突解决与恢复)时强制套用安全规则。

作者 Iván539 次安装31 星标

teodorofodocrispin-cmyk 的更多技能

浏览全部技能

Sanctions screening (OFAC+UN+EU+UK, 59k entries), KYB bundles for CO/MX/BR/CL/PE, LATAM central bank rates (TRM/TIIE/Selic/dólar blue), business registry lookup and AI market intelligence. x402 v2 micropayments in USDC — no API key, no account. Trial: X-TRIAL: true header.

作者 teodorofodocrispin-cmyk1 次安装1 星标

Pre-execution transaction safety check for autonomous AI agents from the SENTINEL trust oracle (sentinel-agent.dev). Before signing an on-chain transaction on Base, an agent gets a SAFE / UNSAFE / UNKNOWN verdict, a SENTINEL Score (0-100, AAA-D), and an ed25519-signed receipt. Pay-per-call via x402.

作者 teodorofodocrispin-cmyk