pii_redact_text
shallowcom.getfairquery/agent-trust-mcp · Verify this server
WHAT: Fortress Shield (agent I/O PII protection). Return sanitized copies of texts with every local PII/secret finding replaced: placeholder [EMAIL_k7q2m9xp4a] (random id per value), mask, or hash. For placeholders the originals come back only inside meta.sealed_map, an AES-256-GCM encrypted string that this Worker opens in pii_restore_text. The originals stay out of the model context. WHEN: Right before sending user data to an LLM/third party. Keep meta.sealed_map if you need to restore originals in the LLM answer later. WHEN NOT: For a findings report only use pii_scan_text. For unlabelled names (NER) or fetching PDFs and remote documents use pii_guard_documents (paid). http(s) URLs in text you already have are redacted here for free. COST: Free; no token. RETURNS: One "redacted_document" row per text with output_text, typed_placeholders_escaped, context_lowered, context_suppressed, below_threshold, context_report, field_paths (JSON input) and, with failClosed, blocked / block_reasons (output_text null); meta.audit, meta.secret_guidance, meta.compliance, meta.would_fail_closed; meta.sealed_map (placeholder style, "fqs2.…"; null plus a SEAL_KEY_NOT_CONFIGURED note when this deployment has no seal key) and meta.seal {algorithm, entries, expires_at, restore_bound, max_restores}. Errors: INPUT_TOO_LARGE, INVALID_PATTERN, INVALID_ARGUMENT, SEALED_MAP_INVALID, SEALED_MAP_EXPIRED, SEAL_KEY_NOT_CONFIGURED, RESTORE_KEY_REQUIRED / RESTORE_KEY_MISMATCH (priorSealedMap bound to another restore key). BEHAVIOR: Placeholder ids are random on every call unless you pass priorSealedMap; "hash" is random per call unless a hash key is set. The sealed_map is bound to the restore key header of this request (X-FQ-PII-Restore-Key, set by the operator in the client connection); without one, pii_restore_text reports counts only. Runs on this Fairquery-hosted Worker (Cloudflare), not on the caller's machine; inputs leave the client. This Worker's code is designed not to store inputs, results, or an Apify token. No further network call; texts are not forwarded. Milliseconds. PARAMETERS: texts: one element per document, 500,000 chars in total; the same value gets the same placeholder in every document of one call, and case/format variants share it (JANE@ACME.COM and jane@acme.com; +1 415 555 0100 and (415) 555-0100). Placeholder-shaped text already in the input (a user typing "[EMAIL_1]") is itself replaced by a [TYPED_PLACEHOLDER_<id>] placeholder and restored verbatim, so it can never pull another value. priorSealedMap: the meta.sealed_map of an earlier call; values seen before keep their placeholder, new ones are added, and the returned sealed_map covers both (use it across turns and when paging). redactionStyle: "placeholder" is the only reversible style; "mask" keeps a few characters for human review; "hash" with hashKey (16-256 chars, your own key) gives the same output for the same value in every call (HMAC-SHA256, joinable), without hashKey the salt is random per call. sealTtlHours: how long the sealed_map opens (1-720, default 24). returnPlaceholderMap: deprecated and refused unless the request carries the restore key header; use sealed_map. maxRestores: restore cap for this sealed_map (default 3). entityTypes / allowList / allowDomains / allowPatterns / customDetectors / contextScoring / contextMode / entropyScan / defaultPhoneRegion: identical semantics to pii_scan_text. limit/offset page whole documents (one item per text, default 50 = all). EXAMPLE: {"texts":["Call +1 415 555 0100 or mail jane@acme.com"]} -> output_text "Call [PHONE_4hq8m2xk9c] or mail [EMAIL_t7c3pz2wqa]", meta.sealed_map "fqs2.…".
1 trials · measured 13 days ago
pii_redact_text scores 100.0/100 on Vouch's measured behaviour index, from 1 real invocation trials against com.getfairquery/agent-trust-mcp, measured 12 Nov 2026 under methodology v0.2.0. Every measured component scored 100.
Component breakdown
| Component | Weight | Value |
|---|---|---|
| Reliability | 35% | not applicable |
| Schema integrity | 25% | 100.0 |
| Failure behaviour | 15% | not applicable |
| Latency | 15% | not applicable |
| Concurrency | 10% | not applicable |
Tool details
- Transport
- remote + stdio
- Credential class
- self-provisionable
- Input schema
- not declared
- Output schema
- not declared
- Side-effect classification
- unclassified
Score history
| Day | Score | Tier | Methodology |
|---|---|---|---|
| 2026-11-12 | 100.0 | shallow | v0.2.0 |
Probe evidence
| Probe | Outcomes |
|---|---|
| schema_integrity | pass: 1 |
Raw request/response logs are not archived yet — the outcome counts above are drawn directly from every recorded trial.
Embed this score
Available for every tool, scored or not — not a verification perk. Always links back to this page.
[](https://vouch.tools/tools/d2729275-6177-4c5d-a07c-21d97c096f05)