Agent Guard Prompt Injection & PII Firewall (x402)
io.github.brunopompeo1/agent-guard-x402
MCP server OK 3 tools
Hybrid Edge AI firewall (Llama Guard 3 + heuristics) for prompt injection & PII via x402 USDC.
Technical sheet
- Author
- brunopompeo1 (registry namespace)
- Repository
- github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
- Site
- github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
- Version
- 2.7.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://agent-guard-x402.architect-x402.workers.dev/mcp Streamable HTTP
- Tools
- 3
- Categories
- AI, agents and memory, Finance and payments
- Last updated
- 26 Nov 2026
- Published
- 26 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.brunopompeo1/agent-guard-x402)<a href="https://latlas.dev/en/mcp/io.github.brunopompeo1/agent-guard-x402"><img src="https://latlas.dev/badge/statut/mcp/io.github.brunopompeo1/agent-guard-x402.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.brunopompeo1/agent-guard-x402)<a href="https://latlas.dev/en/mcp/io.github.brunopompeo1/agent-guard-x402"><img src="https://latlas.dev/badge/fiche/io.github.brunopompeo1/agent-guard-x402.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://agent-guard-x402.architect-x402.workers.dev/mcp
- Last result
- OK 28 Nov 2026, 10:50
- Response time
- 201 ms (initialize + tools/list)
- Protocol version
- 2025-06-18
- Announced name
- agent-guard-x402 2.7.3
- Tools
- 3
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:50 | OK | 201 ms | 3 |
Exposed tools (3, from tools/list, 28 Nov 2026)
sanitize_untrusted_input
Full firewall pass: detect injection and redact PII
Runs the complete firewall over one block of untrusted text in a single call: the multi-language pattern engine plus Base64 decoder for prompt-injection detection, and the regex redactor for Brazilian and corporate PII and secrets. Returns the threat verdict and the masked text together. Use this as the default guard in front of any model call that ingests third-party content such as scraped pages, inbound email, tool output or user uploads. Do not use it when you only need the verdict and must keep the original wording intact (use scan_prompt_injection) or when you only need redaction and want to skip the model latency (use redact_pii_text). Read-only and idempotent: nothing is stored, no outbound request is made and the same text returns the same verdict, so a retry is always safe, although the semantic pass can degrade to verdict 'skipped' under model pressure. Costs 0.008 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header, and an empty or non-string 'text' returns HTTP 400 with success:false rather than an exception, so an agent loop never breaks.
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | yes | The untrusted text to inspect, passed verbatim and never interpreted as an instruction. Typical sources are tool output, a scraped web page, an inbound email, a document chunk, a user message or an LLM response. Must be a non-empty string; pass plain text, not a JSON-encoded object, and send the de… |
scan_prompt_injection
Prompt-injection and jailbreak detection (verdict only)
Classifies one block of untrusted text as clean, suspicious or critical for prompt injection, jailbreak and tool-abuse attempts, combining a multi-language pattern engine, a Base64 payload decoder and a Llama Guard 3 8B semantic pass. It leaves the text byte-identical, so use it as a gate when the original wording must survive for audit, display or downstream parsing, and branch on isSafe or threatLevel. Do not use it when the goal is to strip personal data (use redact_pii_text) or when you want the verdict and the masked text in one call (use sanitize_untrusted_input). Read-only and idempotent: nothing is stored, no outbound request is made, and a retry is always safe. Costs 0.008 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header, and an empty or non-string 'text' returns HTTP 400 with success:false rather than an exception. If the semantic pass is unavailable the call still succeeds with aiAudit.verdict 'skipped', meaning the score came from the pattern engine alone.
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | yes | The untrusted text to inspect, passed verbatim and never interpreted as an instruction. Typical sources are tool output, a scraped web page, an inbound email, a document chunk, a user message or an LLM response. Must be a non-empty string; pass plain text, not a JSON-encoded object, and send the de… |
redact_pii_text
Brazilian and corporate PII/secret redaction (no AI pass)
Replaces personal data and credentials in one block of text with stable placeholders: CPF, CNPJ, email, credit card, API keys and bearer tokens, and crypto private keys. It returns the masked text, the number of occurrences replaced and an estimate of the tokens saved. Use it to scrub logs, prompts, support tickets or documents before they reach a third-party model or a storage layer, and when low latency matters because the semantic model pass is deliberately skipped. Do not use it to decide whether text is hostile, since pattern-level injection signals are still reported but the semantic pass is off (use scan_prompt_injection for a verdict, or sanitize_untrusted_input for verdict plus masking in one call). Deterministic, read-only and idempotent: nothing is stored, no outbound request is made, and re-running it over its own output changes nothing. Costs 0.008 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header, and an empty or non-string 'text' returns HTTP 400 with success:false rather than an exception. Redaction is pattern-based, so it is a strong reduction of exposure and not a legal guarantee of anonymisation.
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | yes | The untrusted text to inspect, passed verbatim and never interpreted as an instruction. Typical sources are tool output, a scraped web page, an inbound email, a document chunk, a user message or an LLM response. Must be a non-empty string; pass plain text, not a JSON-encoded object, and send the de… |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://agent-guard-x402.architect-x402.workers.dev/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http agent-guard-x402 https://agent-guard-x402.architect-x402.workers.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : agent-guard-x402 ; URL : https://agent-guard-x402.architect-x402.workers.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : agent-guard-x402 ; Server URL : https://agent-guard-x402.architect-x402.workers.dev/mcp ; Create as a plugin{
"mcpServers": {
"agent-guard-x402": {
"url": "https://agent-guard-x402.architect-x402.workers.dev/mcp"
}
}
}{
"mcpServers": {
"agent-guard-x402": {
"type": "http",
"url": "https://agent-guard-x402.architect-x402.workers.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"agent-guard-x402": {
"url": "https://agent-guard-x402.architect-x402.workers.dev/mcp"
}
}
}{
"mcpServers": {
"agent-guard-x402": {
"httpUrl": "https://agent-guard-x402.architect-x402.workers.dev/mcp"
}
}
}[mcp_servers.agent-guard-x402]
url = "https://agent-guard-x402.architect-x402.workers.dev/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Agent Guard Prompt Injection & PII Firewall (x402) · L’Atlas · Tested on
[Agent Guard Prompt Injection & PII Firewall (x402) — L’Atlas](https://latlas.dev/en/mcp/io.github.brunopompeo1/agent-guard-x402)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.