protogrid

Search / dev.workers.nightshift-labs.nightshift-x402/agent-safety

Nightshift Labs: link, token & signature pre-checks

R0· no sign-in

Paid x402 pre-checks for agents: phishing links, Base tokens, EIP-712 permits, calldata, DNS.

v1.0.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.
Quality81new
Trust96of 100
Uptime, 30 days100%
Latency p50502 ms

Connect

8 clients · secrets stay placeholders
{
  "mcpServers": {
    "agent-safety": {
      "type": "http",
      "url": "https://nightshift-x402.nightshift-labs.workers.dev/mcp"
    }
  }
}
claude mcp add --transport http agent-safety https://nightshift-x402.nightshift-labs.workers.dev/mcp
[mcp_servers.agent-safety]
url = "https://nightshift-x402.nightshift-labs.workers.dev/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "agent-safety": {
      "type": "remote",
      "url": "https://nightshift-x402.nightshift-labs.workers.dev/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "agent-safety": {
      "type": "http",
      "url": "https://nightshift-x402.nightshift-labs.workers.dev/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=agent-safety&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbmlnaHRzaGlmdC14NDAyLm5pZ2h0c2hpZnQtbGFicy53b3JrZXJzLmRldi9tY3AifQ%3D%3D"
}
{
  "servers": {
    "agent-safety": {
      "type": "http",
      "url": "https://nightshift-x402.nightshift-labs.workers.dev/mcp"
    }
  }
}
{
  "mcpServers": {
    "agent-safety": {
      "httpUrl": "https://nightshift-x402.nightshift-labs.workers.dev/mcp"
    }
  }
}
extensions:
  "agent-safety":
    enabled: true
    name: "agent-safety"
    type: streamable_http
    uri: "https://nightshift-x402.nightshift-labs.workers.dev/mcp"
    timeout: 300

Quality 81 / 100new

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-11-25; 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 hygiene86 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations18 of 18 tools declare readOnlyHint or destructiveHint
  • fail
    tools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: web_extract (destructiveHint, idempotentHint); base_token_price (destructiveHint, idempotentHint); base_balance (destructiveHint, idempotentHint); …
  • pass
    tools.token_costabout 2,673 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
stabilityn/a · weight 15
  • n/a
    stability.changes, stability.rug_pulltool history recorded for 1 of the 7 days needed
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

18 tools, about 2,673 tokens to load them all · tool set 568c1d6c53d9 · tools last changed 2026-11-06 · checked 2026-11-07 17:28 UTC

Tool changes

  • x402_preflightchangeddescription, input schema
    before

    x402 seller preflight: check a paid endpoint BEFORE paying. Probes it unpaid, parses the 402 (v2 header or v1 body) and checks each option: scheme, network, asset is real USDC on Base, EIP-712 name/version match on-chain, payTo not a burn address, amount, timeout, discovery metadata. Plus on-chain seller reputation: USDC payments to payTo over 1-7 days (distinct payers, total, last payment). Returns verdict ok/caution/fail, issues and the recommended option. Price: $0.005 USDC on Base per call (x402).

    after · 91% of words in common

    x402 seller preflight: check a paid endpoint BEFORE paying. Probes it unpaid, parses the 402 (v2 header or v1 body) and checks each option: scheme, network, asset is real USDC on Base, EIP-712 name/version match on-chain, payTo not a burn address, amount, timeout, discovery metadata. Plus on-chain seller reputation: recent USDC payments to payTo (last ~11 h: distinct payers, total, last payment). Returns verdict ok/caution/fail, issues and the recommended option. Price: $0.005 USDC on Base per call (x402).

  • x402_preflightchangeddescription
    before

    x402 seller preflight: check a paid endpoint BEFORE paying it. Fetches it unpaid, parses the 402 (v2 payment-required header or v1 body) and checks every payment option: scheme, network/testnet, asset is real native USDC on Base, EIP-712 extra.name/version match the token on-chain (prevents invalid_exact_evm_token_name_mismatch), payTo not a burn address (plus contract/tx-count/USDC balance), amount, maxTimeoutSeconds, discovery metadata. Plus seller reputation on-chain: incoming USDC transfers to payTo on Base over the last 3 days (1-7 via ?days=): distinct payers, total USDC, transfers at the advertised price, top-payer share, hours since last payment. Returns verdict ok/caution/fail, issues and the recommended option. Price: $0.005 USDC on Base per call (x402).

    after · 68% of words in common

    x402 seller preflight: check a paid endpoint BEFORE paying. Probes it unpaid, parses the 402 (v2 header or v1 body) and checks each option: scheme, network, asset is real USDC on Base, EIP-712 name/version match on-chain, payTo not a burn address, amount, timeout, discovery metadata. Plus on-chain seller reputation: USDC payments to payTo over 1-7 days (distinct payers, total, last payment). Returns verdict ok/caution/fail, issues and the recommended option. Price: $0.005 USDC on Base per call (x402).

  • x402_preflightchangeddescription, input schema
    before

    x402 seller preflight: check a paid endpoint BEFORE paying it. Fetches it unpaid, parses the 402 (v2 payment-required header or v1 body) and checks every payment option: scheme, network/testnet, asset is real native USDC on Base, EIP-712 extra.name/version match the token on-chain (prevents invalid_exact_evm_token_name_mismatch), payTo not a burn address (plus contract/tx-count/USDC balance), amount, maxTimeoutSeconds, discovery metadata. Returns verdict ok/caution/fail, issues and the recommended option. Price: $0.005 USDC on Base per call (x402).

    after · 78% of words in common

    x402 seller preflight: check a paid endpoint BEFORE paying it. Fetches it unpaid, parses the 402 (v2 payment-required header or v1 body) and checks every payment option: scheme, network/testnet, asset is real native USDC on Base, EIP-712 extra.name/version match the token on-chain (prevents invalid_exact_evm_token_name_mismatch), payTo not a burn address (plus contract/tx-count/USDC balance), amount, maxTimeoutSeconds, discovery metadata. Plus seller reputation on-chain: incoming USDC transfers to payTo on Base over the last 3 days (1-7 via ?days=): distinct payers, total USDC, transfers at the advertised price, top-payer share, hours since last payment. Returns verdict ok/caution/fail, issues and the recommended option. Price: $0.005 USDC on Base per call (x402).

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 96 / 100

provenance85
liveness100
freshness100
hygiene100

+repository +dns-namespace +website +reachable +uptime-100% +updated-1d-ago

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

Endpoints

remoteauthreachableuptime 30dp50protocollast ok
https://nightshift-x402.nightshift-labs.workers.dev/mcp streamable-httpnoneyes100%502 ms2025-11-252026-11-07

Tools (18)

base_balanceread-onlyBase wallet balances: native ETH and USDC for any address, with the block number they were read at. Price: $0.005 USDC on Base per call (x402).
base_gasread-onlyBase gas snapshot: gas price, base fee, priority fee, 10-block base-fee trend, ETH/USD (Chainlink) and estimated USD cost of an ETH transfer, ERC-20 transfer, swap and contract deploy right now. Price: $0.005 USDC on Base per call (x402).
base_portfolioread-onlyBase wallet portfolio: ETH plus 12 major Base tokens (USDC, USDbC, DAI, EURC, WETH, cbETH, wstETH, cbBTC, AERO, DEGEN, VIRTUAL, BRETT) with non-zero balances, USD values from Chainlink ETH/USD and BTC/USD feeds, and a total. Price: $0.01 USDC on Base per call (x402).
base_token_checkread-onlyBase token safety pre-check: name/symbol/decimals/supply, owner and renounce status, proxy implementation, privileged functions found in bytecode (mint, blacklist, pause, fee setters, upgrade) and a heuristic risk level. Call before buying or accepting an unknown token on Base. Price: $0.01 USDC on Base per call (x402).
base_token_priceread-onlyLive USD price of any ERC-20 token on Base from on-chain DEX quotes (Uniswap v3 0.05/0.3/1% pools and Aerodrome, against USDC and WETH; WETH converted with Chainlink ETH/USD). Returns the best executable route, every route's price, the price impact of selling $1,000, and flags for thin liquidity or disagreeing pools. Price: $0.005 USDC on Base per call (x402).
base_txread-onlyDecode a Base transaction: status, block time, from/to, ETH value, fee, method selector and every ERC-20 transfer with symbol and human amount. Flags fake look-alike tokens (address-poisoning, e.g. a fake USDC with homoglyph characters). Price: $0.005 USDC on Base per call (x402).
domain_dnsread-onlyDNS lookup in one call: A, AAAA, CNAME, MX, TXT, NS and CAA records with TTLs (or just the types you ask for), NXDOMAIN status, DNSSEC validation, plus parsed hints: SPF record, CAA certificate issuers and which services the domain is verified with (TXT verification tokens). Resolved via DNS-over-HTTPS. Price: $0.003 USDC on Base per call (x402).
domain_email_checkread-onlyDomain DNS and email-security check: A/AAAA, NS, MX (incl. null MX), SPF, DMARC policy, CAA, plus a list of issues and a 0-100 email security score. Use before sending email to or trusting a domain. Price: $0.005 USDC on Base per call (x402).
domain_whoisread-onlyDomain registration lookup (RDAP, the official WHOIS successor): registration date and age in days, expiry, registrar and its abuse email, EPP status, nameservers, DNSSEC, and flags for brand-new (<30 days) or young domains, punycode/IDN names and expiring domains. Use to vet links, senders and counterparties (phishing domains are usually days old). Price: $0.005 USDC on Base per call (x402).
ens_resolveread-onlyResolve ENS and Basenames (name.eth, name.base.eth): name → address, or address → primary name with forward verification, plus text records (avatar, description, url, twitter, github, email). Price: $0.005 USDC on Base per call (x402).
evm_decode_calldataread-onlyDecode EVM transaction calldata before signing: finds the function signature (signature DB, verified by re-encoding to reject selector collisions), decodes all arguments, expands multicall batches, and warns about unlimited token approvals, approve-all-NFTs, permits, ownership changes and upgrades. Works for any EVM chain. Price: $0.005 USDC on Base per call (x402).
evm_typed_data_checkread-onlyCheck an EIP-712 signature request BEFORE signing (the JSON passed to eth_signTypedData_v4): detects ERC-2612 Permit, DAI permit, Uniswap Permit2 (allowance + transfer) and Seaport orders, explains in one line what the signature grants, and flags drainer patterns: unlimited allowances, spender that is a plain wallet (EOA, checked on Base), zero-payment NFT listings, bulk listings, never-expiring grants. Returns risk (low/medium/high), grants, warnings and the EIP-712 digest. Price: $0.01 USDC on Base per call (x402).
wallet_screenread-onlyWallet / counterparty screen before you send funds or accept a payer: OFAC SDN sanctioned-address check (EVM list, refreshed from the 0xB10C OFAC dataset), address type (EOA, EIP-7702 delegated, contract, token contract), Base and Ethereum tx counts, ETH/USDC balances on Base, burn-address detection and an optional address-poisoning look-alike check against the address you expected (same first/last 4 hex). Verdict block/high_risk/caution/no_red_flags. Price: $0.005 USDC on Base per call (x402).
web_brandread-onlyBrand kit from a website: site name, logo candidates (JSON-LD logo, header/home-link image, inline SVG logo, apple-touch-icon/favicons, og:image), theme-color, CSS brand variables (--primary/--brand/--accent), dominant colors ranked by CSS frequency (non-neutral first), fonts (Google Fonts + CSS font families, system fonts removed) and social profile links. No rendering; flags bot-protected pages. Price: $0.01 USDC on Base per call (x402).
web_extractread-onlyFetch any public web page and return clean Markdown of the main content plus title, meta description, word count and absolute links. Strips scripts, navigation and boilerplate. Good for feeding pages to an LLM. Price: $0.005 USDC on Base per call (x402).
web_link_checkread-onlyLink / URL phishing pre-check before an agent opens, clicks or forwards a link: brand look-alikes (typosquats, homoglyphs, brand in subdomain), punycode and mixed-script hosts, credentials-in-URL tricks, high-abuse TLDs, domain age via RDAP (new domains flagged), DNS resolution and the full redirect chain. Returns a verdict, a 0-100 risk score and the flags. Price: $0.01 USDC on Base per call (x402).
web_security_headersread-onlyWebsite security-headers audit: follows redirects (SSRF-guarded) and grades the final page A–F on HSTS, Content-Security-Policy (script-src unsafe-inline/eval/wildcards), clickjacking protection, nosniff, Referrer-Policy, Permissions-Policy, COOP, version-leaking Server/X-Powered-By headers and cookie Secure/HttpOnly/SameSite flags. Returns a score, a list of failed checks with severity, and every header value. Price: $0.005 USDC on Base per call (x402).
x402_preflightread-onlyx402 seller preflight: check a paid endpoint BEFORE paying. Probes it unpaid, parses the 402 (v2 header or v1 body) and checks each option: scheme, network, asset is real USDC on Base, EIP-712 name/version match on-chain, payTo not a burn address, amount, timeout, discovery metadata. Plus on-chain seller reputation: recent USDC payments to payTo (last ~11 h: distinct payers, total, last payment). Returns verdict ok/caution/fail, issues and the recommended option. Price: $0.005 USDC on Base per call (x402).

Schemas: list_tools.

Similar MCP servers

Official server.json
{
  "name": "dev.workers.nightshift-labs.nightshift-x402/agent-safety",
  "title": "Nightshift Labs: link, token & signature pre-checks",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://nightshift-x402.nightshift-labs.workers.dev/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "1.0.1",
  "repository": {
    "url": "https://github.com/nightshift-labs-ai/nightshift-x402",
    "source": "github"
  },
  "websiteUrl": "https://nightshift-x402.nightshift-labs.workers.dev/llms.txt",
  "description": "Paid x402 pre-checks for agents: phishing links, Base tokens, EIP-712 permits, calldata, DNS."
}