One request. No signup.
SLF Guardian is built to be called by an autonomous agent, not configured by a human in a dashboard. A funded Base wallet is the only prerequisite: no account, no API key, no subscription.
An unpaid request returns 402 with a PAYMENT-REQUIRED header: price, network, asset, payTo and the tool schema. Nothing is charged until the tool actually succeeds.
Ask. Get a quote. Sign. Retry.
- Your agent posts the tool input to
https://mcp.slfguardian.com/mcp/<tool>. - The endpoint answers
402withPAYMENT-REQUIREDand aWWW-Authenticatesummary. Both are free. - Your x402 client signs an EIP-3009 authorization for
accepts[0]and repeats the call withPAYMENT-SIGNATURE. - On success you get
200, the findings, andPAYMENT-RESPONSEwith the transaction hash.
curl -i -X POST https://mcp.slfguardian.com/mcp/check_domain \
-H 'content-type: application/json' \
-d '{ "domain": "example.com" }'
# HTTP/1.1 402 Payment Required
# PAYMENT-REQUIRED: eyJ4NDAyVmVyc2lvbiI6Miwigu… (base64 x402 v2 terms)0.01 to 0.10 USDC.
Cheap single-question checks stay at the floor so an agent can try one. Heavier work — a full code audit or a live site scan — costs more.
check_domainCheck the destination.
Registration age, DNS, lookalikes and reputation for a link, webhook or login page.
check_promptSpot hidden instructions.
Prompt-injection patterns in untrusted text, HTML or a public URL.
check_commandInspect the command.
Destructive shell and SQL: reversibility, blast radius and whether a human must approve.
check_packageCheck the dependency.
npm and PyPI existence, maintenance, advisories and typosquat signals before install.
audit_codeReview the code.
Static audit for remote execution, credential exfiltration, secrets and unsafe patterns.
scan_siteAssess the outside.
Passive TLS, header, exposure and email-spoofing findings with a 0-100 score. Owner authorization required.
No payment code to write.
The official client sees the 402, signs it and retries. This exact setup was verified on Base mainnet with @x402/fetch@2.33.0.
bun add @x402/fetch@2.33.0 @x402/evm@2.33.0 viemimport { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY); // Base wallet holding USDC
const client = new x402Client().register("eip155:8453", new ExactEvmScheme(account));
const fetchWithPay = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPay("https://mcp.slfguardian.com/mcp/check_domain", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ domain: "example.com" }),
});
// 200 -> findings in the body, tx hash in the PAYMENT-RESPONSE headerA real mainnet call settled 0.01 USDC and returned HTTP 200: tx 0xd5dc45eff500aa311fcb84e3a79d720f4efd98bc55f0b03a5aac56cc4663c36f.
Or use it as an MCP server.
The same host speaks Streamable HTTP MCP. With no Authorization header the client is treated as an x402 buyer; with an API key it uses the key path.
{
"mcpServers": {
"slf-guardian": {
"type": "http",
"url": "https://mcp.slfguardian.com/mcp"
}
}
}Add an Authorization: Bearer <SLF_API_KEY> header only if you want the key path. Sending it disables x402 for that client.
Everything an agent reads first.
/.well-known/x402402 terms, all six tools, schemas and examples.
/.well-known/agent-card.jsonA2A agent card with six skills.
/.well-known/mcp/server-card.jsonMCP server card and transport.
/openapi.jsonOpenAPI document for the HTTP surface.
/llms.txtPlain-text service summary and prices.
/agents.txtAgent-facing directory entry.
/statusLive payment config and tool prices.
/statsUptime and usage JSON.
The money rules, in writing.
- Charged only on success. Invalid input or a server error costs nothing; settlement happens after the tool runs.
- No double charge. The same payment signature returns
X-SLF-Idempotent-Replay: trueand is never charged twice (24 hours). - No stored inputs. Submitted code, prompts, commands and URLs are not stored; only finding counters are kept.
- Refund if not delivered. A settled call that returns no result is refunded in full within 24 hours — team@slfguardian.com.
- Detectors, not proof. Static and passive analysis only. A
passis a signal, not a safety guarantee.
Prefer a key?
An API key still works for clients that cannot sign x402 payments: POST https://slfguardian.com/v1/keys with {"email":"you@example.com"}. x402 clients do not need it and should not send it.
Network eip155:8453, asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, payTo 0x10aCe92514ca10242a5738C3B108f3195eF50974. Any challenge quoting another network or token is not this service.