# Base & EVM DeFi Pre-Trade Shield (x402)

> Pre-trade token safety: honeypot, taxes, liquidity and oracle divergence on Base/EVM via x402.

- name: io.github.brunopompeo1/base-defi-shield-x402
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 93/100 flags: duplicate-repo
- quality: 86/100 (new)
- charges per call: the server says so (`` base_token_safety_check ``, `` evm_wallet_risk_check ``)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.brunopompeo1%2Fbase-defi-shield-x402
- tools: https://api.protogrid.dev/v1/servers/io.github.brunopompeo1%2Fbase-defi-shield-x402/tools

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

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "base-defi-shield-x402": {
      "type": "http",
      "url": "https://defi.brunopompeo.com.br/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% +updated-4d-ago -duplicate-repo(13 names)
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 86/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-06-18; 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: 94 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 2 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 2 of 2 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 1,028 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

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

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 3 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: 2, about 1,028 tokens to load them all
- tool set hash: 85dff1c93535a1334859c70e1f956cc5
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.brunopompeo1/base-defi-shield-x402.svg)](https://protogrid.dev/servers/io.github.brunopompeo1/base-defi-shield-x402)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Remotes

- https://defi.brunopompeo.com.br/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (2)

- `base_token_safety_check`: Screens one ERC-20 token on Base or another EVM chain right before a swap and returns a verdict SAFE, CAUTION, DANGER or HONEYPOT, a safety score from 0 to 100 and a swap-eligibility decision with a recommended maximum slippage. It combines the GoPlus contract scan and a honeypot.is sell simulation (buy and sell tax, hidden owner, blacklist, mintable, proxy, cannot-sell-all), live DexScreener liquidity, volume and pool age, and a DefiLlama oracle price compared with the DEX price, and lists every finding as a coded flag. Use it as the last guard of a trading or treasury agent before buying an unfamiliar token, or to explain why a token is risky. Do not use it as investment advice or a price forecast, for NFTs or native coins, or for a wallet address, which belongs to evm_wallet_risk_check. Live data: results change as markets move, so call it again right before each trade rather than reusing an old result. Read 'verdict', 'swapEligibility' and 'flags'. Costs 0.015 USDC per call, paid with x402 v2 on Base (eip155:8453) or with a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception, and every failure is a JSON body with ok false and 'error', so an agent loop never breaks on a thrown error. Read-only: it never signs, sends or approves a transaction and holds no keys.
- `evm_wallet_risk_check`: Screens one EVM address before an agent pays it, approves it or accepts funds from it: GoPlus address-security flags for phishing, theft, sanctions, money laundering, mixers, fake KYC, blacklists and malicious contracts created, rolled up into a risk verdict CLEAN, SUSPICIOUS or MALICIOUS with a score, plus live on-chain facts from an RPC node: whether it is a person's wallet (EOA) or a contract, its transaction count and its ETH and USDC balances on Base. Use it as a counterparty check in payment, payout and escrow flows, or to vet the deployer of a token found by base_token_safety_check. Do not use it to identify who owns a wallet, which it cannot do, or for a token contract's own risk, which base_token_safety_check covers. CLEAN only means no known flag, not a guarantee. Read 'riskVerdict', 'triggeredFlags' and 'accountType'. Costs 0.015 USDC per call, paid with x402 v2 on Base (eip155:8453) or with a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception, and every failure is a JSON body with ok false and 'error', so an agent loop never breaks on a thrown error. Read-only: it never signs, sends or approves a transaction and holds no keys.
