Scrub AWS access keys, Stripe and Creem API tokens, JWTs, PEM headers, SSNs, Luhn-validated credit cards, IBANs, phones, and emails on both outbound tool calls and inbound MCP responses—with Zero Payload Retention.
Target Role: Data Privacy Officer & Security Architect · Primary Keyword: bidirectional PII secret redaction MCP gateway · Pipeline Stage: Stage 1 — Audit Gate (SSRF, Secret/PII & Injection)
Data loss prevention in agentic architectures fails if it only scans outbound prompts. Outbound MCP requests can leak production cloud secrets into third-party SaaS tools, while inbound API responses frequently inject unmasked customer SSNs, credit cards, or bearer tokens straight into agent memory and logs. Enterprise-Trust-Firewall applies >= 15 deterministic redaction detectors in both directions with sub-3ms latency.
| Control / Benchmark Metric | Enforced Threshold & Guarantee |
|---|---|
| Deterministic inspection latency (P95) | < 2.8 ms inline (pure stdlib regex + ipaddress CIDR checks) |
| Blocked SSRF CIDR & metadata targets | 15 IPv4 + 11 IPv6 CIDRs & 21 blocked hostnames (169.254.169.254, 169.254.170.2, metadata.google.internal, RFC1918, ::1, ::ffff:127.0.0.1, fc00::/7, fe80::/10) |
| Bidirectional secret & PII redactors | >= 20 deterministic detectors (cloud keys, Stripe/Creem/GitHub/Slack/Google/Twilio/SendGrid, JWT, PEM, SSN, Luhn cards, IBAN mod-97, phone/email) |
| Blocked call billing guarantee | $0 (charged_micros == 0) on HTTP 403 policy/SSRF/injection blocks |
POST https://trustwall.fastmesh.dev/v1/firewall/inspect)curl -sS -X POST https://trustwall.fastmesh.dev/v1/firewall/inspect \
-H "Content-Type: application/json" \
-H "X-API-Key: ${TRUSTWALL_API_KEY}" \
-d '{"tenant_id":"fintech_compliance_01","tool_name":"crm_ticket_sync","target_url":"https://crm.example.com/v1/notes","method":"POST","headers":{"Authorization":"Basic ZGVtbzpkZW1v"},"payload":{"note":"Customer email alice@example.com phone +1-555-019-2834 SSN 123-45-6789","direction":"bidirectional"}}'
{
"tenant_id": "fintech_compliance_01",
"tool_name": "crm_ticket_sync",
"target_url": "https://crm.example.com/v1/notes",
"method": "POST",
"headers": {
"Authorization": "Basic ZGVtbzpkZW1v"
},
"payload": {
"note": "Customer email alice@example.com phone +1-555-019-2834 SSN 123-45-6789",
"direction": "bidirectional"
}
}
POST https://trustwall.fastmesh.dev/mcp){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "firewall_inspect",
"arguments": {
"tenant_id": "fintech_compliance_01",
"tool_name": "crm_ticket_sync",
"target_url": "https://crm.example.com/v1/notes",
"method": "POST",
"headers": {
"Authorization": "Basic ZGVtbzpkZW1v"
},
"payload": {
"note": "Customer email alice@example.com phone +1-555-019-2834 SSN 123-45-6789",
"direction": "bidirectional"
}
}
}
}
Run via cURL against /mcp:
curl -sS -X POST https://trustwall.fastmesh.dev/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"firewall_inspect","arguments":{"tenant_id":"fintech_compliance_01","tool_name":"crm_ticket_sync","target_url":"https://crm.example.com/v1/notes","method":"POST","headers":{"Authorization":"Basic ZGVtbzpkZW1v"},"payload":{"note":"Customer email alice@example.com phone +1-555-019-2834 SSN 123-45-6789","direction":"bidirectional"}}}}'
{
"verdict": "ALLOW_WITH_REDACTION",
"http_status": 200,
"redacted_payload": {
"note": "Customer email [REDACTED_EMAIL] phone [REDACTED_PHONE] SSN [REDACTED_SSN]",
"direction": "bidirectional"
},
"redaction_count": 4,
"zero_payload_retention": true
}
Every request produces a canonical 64-hex SHA-256 TrustAuditReceipt stored in SQLite WAL using redacted payload digests only. Verify any receipt free ($0) via GET /v1/firewall/receipt/tr_279331e5ceb84ab0, MCP tool firewall_verify_receipt, or offline Python 3 stdlib SHA-256 hashing:
{
"receipt_id": "tr_279331e5ceb84ab0",
"service": "enterprise-trust-firewall",
"version": "1.0.0",
"action": "inspect",
"tenant_hash": "b10a697d6502",
"target_host": "crm.example.com",
"verdict": "ALLOW",
"decision": "allow",
"http_status": 200,
"charged_micros": 10000,
"zero_bill_reason": "",
"input_sha256": "55fe8297b7c65eab7379d7ccf3625e43f2b5e3b2d79a8965b2dedfa8d6156fa6",
"output_sha256": "a03eb3e803ef85aff0e314536ebec692fdef4a2ec726eacb79b96a7f9366e234",
"redaction_count": 0,
"redacted_categories": [],
"policy_checks": [
{
"stage": "stage1_audit_gate",
"endpoint": "/v1/firewall/inspect",
"verdict": "ALLOW"
}
],
"stage_summary": {
"primary_stage": "stage1_audit_gate",
"mcp_tool": "firewall_inspect"
},
"sla_cert_id": null,
"zero_payload_retention": true,
"issued_at_utc": "2026-12-02T05:30:00Z",
"receipt_sha256": "259b2e8c440e2e63a2167a9f8211172022b56d98351d662b4a88e54a078329f3",
"sha256_attestation": "259b2e8c440e2e63a2167a9f8211172022b56d98351d662b4a88e54a078329f3"
}
| Solution | Pricing & Billing Model | Agent Runtime Defense | Audit & Data Retention | Operational Outcome |
|---|---|---|---|---|
| Enterprise-Trust-Firewall | Prepaid Creem ($149/$399/$999) + $0 on blocked calls | Deterministic Stage 1 SSRF, 15+ bidirectional secret redactors, OWASP LLM01 injection, TLS header scoring | SHA-256 TrustAuditReceipt + Zero Payload Retention | Native REST, /mcp JSON-RPC 2.0, Treg Hub |
| Traditional Layer-7 WAF | $200-$2,500/mo fixed tiers | Inbound HTTP signatures only; blind to MCP tool arguments and outbound agent SSRF | Raw HTTP access logs (often retains payloads) | No native MCP tool schema awareness |
| Probabilistic LLM Guardrail | Per-token variable billing + 300-900 ms added latency | Non-deterministic classifier misses IPv6-mapped SSRF and Luhn-valid cards | Often sends sensitive prompts to third-party inference APIs | No SQLite WAL micro-USD escrow breaker |
| DIY Regex Wrapper Scripts | Hidden engineering maintenance cost | Misses DNS rebinding, URL-encoded octets, bidirectional response leaks | No tamper-evident receipts or 4D policy state | Fragile glue code across agent frameworks |
Start immediately in the 5-second zero-signup Try-Now Console, then activate prepaid Creem tiers with HMAC-SHA256 idempotent credit settlement:
$149.00 non-expiring prepaid credits (149,000,000 micros, ~7,450 headline ops at $0.02), zero seat tax, all 4 firewall stages, SHA-256 receipts, and $0 on blocked calls.
SKU: sku_trustwall_team_gateway_149 · Creem Checkout
$450.00 non-expiring prepaid credits (+$51.00 bonus, 450,000,000 micros, ~22,500 headline ops), multi-tenant SQLite WAL escrow pools, 10% repeat ArchiveCache tier, and 24h SLA certificates.
SKU: sku_trustwall_security_pro_399 · Creem Checkout
$1,250.00 non-expiring prepaid credits (+$251.00 bonus, 1,250,000,000 micros, ~62,500 headline ops), unlimited agents, custom policy packs, replay-safe Creem webhook auto-topup, and Zero Payload Retention attestation.
SKU: sku_trustwall_enterprise_firewall_999 · Creem Checkout
At least 15 deterministic classes covering AWS keys, Stripe/Creem tokens, GitHub/Slack/Google/Twilio/SendGrid tokens, Bearer/Basic auth headers, JWTs, PEM private keys, SSNs, Luhn-validated credit cards, IBANs, phone numbers, and email addresses.
Yes. Payment card candidates pass deterministic Luhn checksum verification before redaction, sharply reducing false positives on non-card numeric identifiers.
Never. Enterprise-Trust-Firewall enforces Zero Payload Retention: only redacted digests and redaction class counters appear in SQLite WAL audit receipts.
Try Live Firewall Console → · Explore All 24 Security & GEO Guides →