# Prescan

> Agent security pre-checks: prompt-injection scan, MCP tool-poisoning scan, x402 endpoint check.

- name: xyz.canisell/prescan
- version: 0.1.0
- connection class: R0 (autonomous)
- trust: 82/100 flags: no-repository
- quality: 85/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/xyz.canisell%2Fprescan
- tools: https://api.protogrid.dev/v1/servers/xyz.canisell%2Fprescan/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "prescan": {
      "type": "http",
      "url": "https://prescan.canisell.xyz/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 98
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-95% +updated-5d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 85/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 93 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 1 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 6 of 6 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 1,583 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`: tool history recorded for 4 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 6, about 1,583 tokens to load them all
- tool set hash: 6f17c9091c47ea8d72c01f35e82f757d
- badge: [![protogrid quality](https://protogrid.dev/badge/xyz.canisell/prescan.svg)](https://protogrid.dev/servers/xyz.canisell/prescan)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://prescan.canisell.xyz/mcp (streamable-http, auth none, reachable true, uptime30d 0.94736844)

## Packages

_none_

## Tools (6)

- `about`: Free. What Prescan does, prices of the paid tools and HTTP endpoints, and links to docs.
- `check_x402_endpoint`: Is this x402 endpoint safe to pay? Fetches its 402 terms with one GET (never pays) and checks: payTo validity and EIP-55 checksum, zero/token-contract/OFAC-sanctioned payTo, asset is canonical USDC for the network, amount vs your budget, price vs the price advertised in its OpenAPI and on x402scan, payTo vs the one x402scan recorded, HTTPS, redirects, resource host, domain age (RDAP), tunnels/shared hosts. Returns go/caution/no_go, the recommended payment option and findings. Costs $0.003 USDC per call via x402 (charged only on success). Without an x402 wallet you get the payment terms and the paid HTTP URL instead.
- `list_rules`: Free. The detection categories, rule counts and thresholds used by scan_text and scan_tools.
- `preview_scan_text`: Free. Prompt-injection pre-check for up to 1000 characters: verdict (safe/suspicious/malicious), score, categories and rule ids. For spans, a sanitized copy, long texts or batches use scan_text (paid).
- `scan_text`: Prompt-injection pre-check for text your agent is about to read (tool output, web page, email, document, token names/metadata). Deterministic rules, no LLM: instruction override (EN/DE/FR/ES/IT/PT/PL/RU), role hijack, jailbreaks, system-prompt extraction, fake chat delimiters, text addressed to the AI, concealment, data exfiltration (markdown-image beacons, secrets to URLs), tool/fund hijack (shell pipes, transfers, unlimited approvals, skip-confirmation), crypto lures (seed-phrase requests, claim/airdrop links), hidden text (zero-width, Unicode tag and variation-selector smuggling, bidi, homoglyphs, CSS-hidden HTML, ANSI) and encoded payloads (base64/hex/percent decoded and re-scanned). Returns verdict safe/suspicious/malicious, action allow/treat_as_untrusted_data/block, 0-100 score, findings with character spans, risky links, decoded payloads and a sanitized copy. Batch up to 100 texts per call. Costs $0.002 USDC per call via x402 (charged only on success). Without an x402 wallet you get the payment terms and the paid HTTP URL instead.
- `scan_tools`: Tool-poisoning scan of MCP tool definitions (a tools/list result) or function schemas before your agent connects or calls them: hidden <IMPORTANT> instructions, cross-tool shadowing, side-channel parameters that ask for file/conversation contents, recipient/payee overrides, instructions hidden in parameter names, defaults or enums, Unicode/ANSI smuggling, duplicate or lookalike tool names. Per-tool verdict and findings with location, plus capability flags (shell, files, network, payments, messaging). Costs $0.002 USDC per call via x402 (charged only on success). Without an x402 wallet you get the payment terms and the paid HTTP URL instead.
