protogrid

Search / io.github.brunopompeo1/agent-guard-x402

Agent Guard Prompt Injection & PII Firewall (x402)

R0· no sign-in

Hybrid Edge AI firewall (Llama Guard 3 + heuristics) for prompt injection & PII via x402 USDC.

v2.7.1 · active · repository · website · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality89good
Trust92of 100
Uptime, 30 days96%
Latency p50133 msp95 1118 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "agent-guard-x402": {
      "type": "http",
      "url": "https://agent-guard-x402.architect-x402.workers.dev/mcp"
    }
  }
}
claude mcp add --transport http agent-guard-x402 https://agent-guard-x402.architect-x402.workers.dev/mcp
[mcp_servers.agent-guard-x402]
url = "https://agent-guard-x402.architect-x402.workers.dev/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "agent-guard-x402": {
      "type": "remote",
      "url": "https://agent-guard-x402.architect-x402.workers.dev/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "agent-guard-x402": {
      "type": "http",
      "url": "https://agent-guard-x402.architect-x402.workers.dev/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=agent-guard-x402&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYWdlbnQtZ3VhcmQteDQwMi5hcmNoaXRlY3QteDQwMi53b3JrZXJzLmRldi9tY3AifQ%3D%3D"
}
{
  "servers": {
    "agent-guard-x402": {
      "type": "http",
      "url": "https://agent-guard-x402.architect-x402.workers.dev/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22agent-guard-x402%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fagent-guard-x402.architect-x402.workers.dev%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "agent-guard-x402": {
      "httpUrl": "https://agent-guard-x402.architect-x402.workers.dev/mcp"
    }
  }
}
extensions:
  "agent-guard-x402":
    enabled: true
    name: "agent-guard-x402"
    type: streamable_http
    uri: "https://agent-guard-x402.architect-x402.workers.dev/mcp"
    timeout: 300

Quality 89 / 100good

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-06-18; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene94 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • warn
    tools.description_length3 tools have descriptions over 1,024 characters, which crowds the context
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations3 of 3 tools declare readOnlyHint or destructiveHint
  • pass
    tools.directory_hintsevery tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
  • pass
    tools.token_costabout 1,352 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool names, descriptions, schemas or annotations
  • pass
    tools.poisoningno instructions aimed at the model in tool definitions
stability100 · weight 15
  • pass
    stability.changes5 tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
  • pass
    stability.new_linksno tool change named a new site
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

3 tools, about 1,352 tokens to load them all · tool set e6a298339641 · tools last changed 2026-11-25 · checked 2026-11-29 14:15 UTC

Definition changes

  • agent_guard_sanitizeremoved

    Hybrid Edge AI firewall (@cf/meta/llama-guard-3-8b + multi-language regex + Base64 decoder) that detects prompt injection and masks corporate PII/secrets (0.008 USDC via x402 on Base).

  • redact_pii_textadded

    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.

  • scan_prompt_injectionadded

    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.

  • sanitize_untrusted_inputadded

    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.

  • agent_guard_sanitizechangeddescription
    before

    Hybrid Edge AI firewall (@cf/meta/llama-guard-3-8b + multi-language regex + Base64 decoder) that detects prompt injection and masks corporate PII/secrets (0.02 USDC via x402 on Base).

    after · 94% of words in common

    Hybrid Edge AI firewall (@cf/meta/llama-guard-3-8b + multi-language regex + Base64 decoder) that detects prompt injection and masks corporate PII/secrets (0.008 USDC via x402 on Base).

Full history: list_changes · trend: quality JSON.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 92 / 100

duplicate-repo
provenance90
liveness98
freshness100
hygiene80

+repository +namespace-matches-repo +website +reachable +uptime-96% +updated-4d-ago -duplicate-repo(13 names)

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

Last 30 days96% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://agent-guard-x402.architect-x402.workers.dev/mcp streamable-httpnoneyes96%133 ms1118 ms2025-06-182026-11-29

Tools (3)

redact_pii_textread-onlyReplaces 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.
sanitize_untrusted_inputread-onlyRuns 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.
scan_prompt_injectionread-onlyClassifies 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.

Schemas: list_tools.

Also listed as

12 other active names share this repository (showing 10): io.github.brunopompeo1/agent-email-x402, io.github.brunopompeo1/base-defi-shield-x402, io.github.brunopompeo1/brazil-ai-x402-mcp, io.github.brunopompeo1/br-business-intel-x402, io.github.brunopompeo1/br-danfse-rtc-x402, io.github.brunopompeo1/br-docs-parser-x402, io.github.brunopompeo1/br-fin-calculators-x402, io.github.brunopompeo1/br-nfe-xml-auditor-x402, io.github.brunopompeo1/br-tax-payroll-calc-x402, io.github.brunopompeo1/crypto-perp-pulse-x402

Similar MCP servers

More from io.github.brunopompeo1

And 6 more from this publisher.

Official server.json
{
  "name": "io.github.brunopompeo1/agent-guard-x402",
  "_meta": {
    "io.modelcontextprotocol.registry/publisher-provided": {
      "x402": {
        "llmsUrl": "https://agent-guard-x402.architect-x402.workers.dev/llms.txt",
        "network": "eip155:8453",
        "currency": "USDC",
        "protocol": "x402-v2",
        "priceUsdc": "0.008",
        "sampleUrl": "https://agent-guard-x402.architect-x402.workers.dev/sample",
        "openApiUrl": "https://agent-guard-x402.architect-x402.workers.dev/openapi.json",
        "prepaidKeyByCard": "https://credits.brunopompeo.com.br/card?pack=1"
      }
    }
  },
  "title": "Agent Guard Prompt Injection & PII Firewall (x402)",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://agent-guard-x402.architect-x402.workers.dev/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "2.7.1",
  "repository": {
    "id": "1458965478",
    "url": "https://github.com/brunopompeo1/brazil-ai-fiscal-apis-x402",
    "source": "github"
  },
  "websiteUrl": "https://github.com/brunopompeo1/brazil-ai-fiscal-apis-x402",
  "description": "Hybrid Edge AI firewall (Llama Guard 3 + heuristics) for prompt injection & PII via x402 USDC."
}