数据分析

DCL Sentinel Trace — PII Redactor & Identity Exposure Detector

试用

扫描并脱敏 AI 输出中的 8 类个人身份信息,可选用链上可验证的实时正则方案。

它能做什么

针对 AI 输出扫描邮箱、国际电话、身份证号、银行卡 PAN(带 Luhn 校验)、IBAN、比特币/以太坊地址、IPv4/IPv6、护照号共 8 类信息。离线审阅时使用内置的免费清单模式;需要可独立核验的链上存证时,可调用实时 MCP 工具 `dcl_evaluate_pii`(每次 $0.02,通过 x402 在 Base 上以 USDC 结算),返回带密码学 tx_hash 的封存。服务端仅写入输入哈希与命中元数据,原始文本与明文 PII 不持久化,命中摘要也只保留首 2 与末 4 位字符。

什么时候用它

  • 作为 LLM 输出交付前的隐私检查关卡
  • 扫描智能体产出的、可能混入真实 PII 的数据集
  • 为脱敏日志附加链上锚定的审计封存
  • 与凭据泄露扫描组合,覆盖完整输出安全

技能文档

DCL Sentinel Trace — Leibniz Layer™

Publisher: @daririnch · Fronesis Labs Version: 3.0.0 Part of: DCL Skills · Leibniz Layer™ Security Suite MCP endpoint: https://mcp.fronesislabs.com/mcp (DCL Trust Oracle)


⚠️ Now backed by a live, paid regex scan — same checklist, real server

Starting with v3.0.0, the categories below can be run two ways:

  1. Free, instruction-only — the agent works through the checklist itself, entirely inside its own context. No network call, no charge.
  2. Paid, live — the same eight categories, run as real regex (plus a Luhn checksum on card numbers to cut false positives) against the live DCL Trust Oracle MCP server, settled on-chain via x402 in USDC on the Base network, returning a cryptographic tx_hash seal. No subscription, no account — pay per call.

This is a close one-to-one match: the live tool implements the same T1-T8 categories documented here. Use the free mode for manual review or offline work; use the live mode when you want an independently verifiable, on-chain-anchored proof of the scan.


What this skill does

Detects and redacts personally identifiable information in AI outputs before they reach users or downstream systems.

What gets detected

CategoryExamples
emailAny email address pattern
phoneInternational format numbers (with country code)
national_idUS-style SSN pattern (###-##-####)
bank_cardCard PANs, verified with a Luhn checksum to reduce false positives
ibanInternational bank account numbers
crypto_addressBitcoin and Ethereum wallet address formats
ip_addressIPv4 and IPv6 addresses
passportPassport/document numbers appearing in explicit passport context

When to use this skill

  • AI output may contain personal data from user input, documents, or retrieved content
  • A coding or data agent processes datasets that may contain real PII
  • You need a privacy checkpoint before logging or storing AI outputs

Live tool (paid, USDC on Base via x402)

MCP toolPriceWhat it runs
dcl_evaluate_pii$0.02Regex scan across all 8 categories above; any finding → NO_COMMIT

Connecting to the live server

{
  "mcpServers": {
    "dcl-trust-oracle": {
      "url": "https://mcp.fronesislabs.com/mcp"
    }
  }
}

Payment is handled automatically for x402-capable clients; clients without native x402 support fall back to a guided payment flow. No API key or account signup is required — only a wallet capable of paying in USDC on Base. Prices are set server-side and may change; the MCP tool description returned by the server at call time is the source of truth.

Calling the tool

result = dcl_evaluate_pii(
    response=agent_output,
    agent_id="my-agent-01",
)

if result["verdict"] == "NO_COMMIT":
    redact_and_reprocess(result["findings"])
else:
    log_audit(result["tx_hash"])

Output shape

{
  "verdict": "COMMIT | NO_COMMIT",
  "risk_score": 0.0,
  "findings": [
    {
      "type": "email",
      "position": 14,
      "redacted_sample": "jo****doe.com",
      "severity": "major",
      "category": "T1"
    }
  ],
  "detection_count": 0,
  "categories_checked": ["T1","T2","T3","T4","T5","T6","T7","T8"],
  "categories_clear": ["T1","T2","T3","T4","T5","T6","T7","T8"],
  "tx_hash": "string",
  "chain_index": 0,
  "input_hash": "string",
  "timestamp": 0.0,
  "seal_text": "🔒 Verified by Leibniz Layer | Fronesis Labs\nHash: ...\nIntent: ...\nSealed: ... — Base Mainnet\nVerify: https://x402.fronesislabs.com/verify/...",
  "verify_url": "https://x402.fronesislabs.com/verify/"
}

Only input_hash (a hash of the scanned text) and finding metadata are written to the audit chain — the raw text and any real personal data are never stored. redacted_sample shows only the first 2 and last 4 characters of any match.


Free instruction-only checklist (no network call, no charge)

Paste the text to scan into the conversation and work through the checklist below entirely inside the agent's own context. Nothing here contacts any server.

Step 1 — Run the detection checklist

Work through each category. For each match found, record type, a redacted_sample (masked version, e.g. te****@****.com), and severity (critical for financial/ID data, major for contact data, minor for IP addresses).

Step 2 — Apply verdict logic

ConditionVerdict
Any findingNO_COMMIT
No findingsCOMMIT

Detection Checklist

T1 — Email Addresses (Major)

  • Any string matching [text]@[domain].[tld] pattern

T2 — Phone Numbers (Major)

  • International format: +[country code][number]

T3 — National ID / SSN (Critical)

  • US SSN: three digits, two digits, four digits pattern
  • National ID formats for other countries in ID context

T4 — Bank Card PANs (Critical)

  • 13-19 digit sequences matching major card network prefixes, passing a Luhn checksum

T5 — IBANs (Critical)

  • Two-letter country code + two check digits + up to 30 alphanumeric characters

T6 — Crypto Wallet Addresses (Major)

  • Bitcoin: Base58 strings of 25-34 chars starting with 1, 3, or bc1
  • Ethereum: 42-char hex strings starting with 0x

T7 — IP Addresses (Minor)

  • IPv4: four octets separated by dots
  • IPv6: eight groups of hex digits separated by colons

T8 — Passport / Document Numbers (Critical)

  • Alphanumeric strings of 6-9 characters in explicit passport/document-number context

DCL Sentinel Trace vs DCL Secret Leak Detector

These two skills are complementary, not competing. Run both.

DCL Sentinel TraceDCL Secret Leak Detector
FocusPersonal identity dataTechnical credentials
CatchesEmails, phones, national IDs, IBANs, card PANsAPI keys, tokens, private keys, DB URLs
Primary riskPrivacy breachSecurity breach / credential compromise
Live tooldcl_evaluate_pii ($0.02)dcl_evaluate_secrets ($0.02)

A response can be free of credentials and still expose personal data. Both checks are necessary for complete output coverage.


Where Sentinel Trace fits in the DCL pipeline

Untrusted input
        │
        ▼
DCL Prompt Firewall        ← blocks malicious input
        │ COMMIT
        ▼
      LLM
        │
        ▼
DCL Policy Enforcer        ← policy check on output
        │ COMMIT
        ▼
DCL Sentinel Trace         ← this skill — PII redaction
        │ COMMIT
        ▼
DCL Secret Leak Detector   ← credential scan
        │ COMMIT
        ▼
DCL Semantic Drift Guard   ← hallucination check
        │ IN_COMMIT
        ▼
Safe to deliver

Privacy & Data Policy

Operated by Fronesis Labs. The free checklist runs 100% instruction-only — no network requests, no content transmitted anywhere. For the live tool: only a hash of the scanned text (input_hash) and finding metadata are written to the on-chain audit trail; raw text and detected personal data are never stored server-side. Only redacted samples ever appear in output.

Full policy: https://fronesislabs.com/#privacy · Questions: support@fronesislabs.com


  • dcl-secret-leak-detector — Credential and API key scan
  • dcl-prompt-firewall — Input-layer injection and jailbreak detection
  • dcl-policy-enforcer — Policy and jailbreak detection for AI outputs
  • dcl-semantic-drift-guard — Hallucination and grounding check

Leibniz Layer™ · Fronesis Labs · fronesislabs.com

常见问题

免费模式和实时模式有什么区别?
免费模式在智能体上下文内执行清单,无网络调用、无费用。实时模式调用 `dcl_evaluate_pii`,每次 $0.02,返回通过 x402 在 Base 上锚定的密码学 tx_hash 封存。
我的原文会被服务端留存吗?
不会。链上仅写入输入哈希与命中元数据;原文与明文 PII 不持久化,命中摘要也仅暴露首 2 与末 4 位字符。
检查覆盖哪几类 PII?如何分级?
共 8 类:邮箱(major)、国际电话(major)、SSN / 身份证号(critical)、带 Luhn 校验的银行卡 PAN(critical)、IBAN(critical)、比特币/以太坊地址(major)、IPv4 与 IPv6(minor)、仅在护照语境下出现的护照号(critical)。任意命中即返回 NO_COMMIT 判定。

相关技能

在 AI agent 输出与流水线数据落到用户或日志之前,扫出其中暴露的 API key、token 和各类技术凭证。

16 次安装

通过 x402 在 Base 上用 USDC 结算的付费 MCP 审计,为 LLM 或智能体输出给出判定、置信度与链上 tx_hash。

18 次安装

在输入层拦截注入与越权指令,每次调用按 x402 协议链上结算并留下哈希审计记录。

18 次安装

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

29 次安装1 星标