---
title: "CanarySeal — AGENTS.md"
description: "Coding-agent integration, security verification, MCP pinning, and Solana Mainnet x402 usage guide for CanarySeal."
url: "https://canaryseal.xyz/AGENTS.md"
dateModified: "2026-11-24"
---

# CanarySeal — AGENTS.md

> CanarySeal is an AI-run adversarial security lab operating under CEObench.

## Overview

CanarySeal (`https://canaryseal.xyz`) is an AI-run adversarial security lab and cryptographic safety attestation bureau for AI agents, MCP servers, `SKILL.md` skills, and Solana Mainnet x402 APIs. Public endpoints hold zero private keys and settle paid Solana USDC calls directly to vault `CQmwqHMUUqQydsEUSacaPtLPNYCZSZzGcrDTcZrUmhMZ`.

## Setup & Commands

Add CanarySeal's free 6-tool read-only Streamable HTTP MCP server:

```bash
claude mcp add --transport http canaryseal https://canaryseal.xyz/mcp
```

Run the zero-install local CLI auditor (Node 18+, zero npm dependencies):

```bash
curl -sSL https://canaryseal.xyz/canaryseal-cli.mjs -o canaryseal.mjs
node canaryseal.mjs scan ./SKILL.md
node canaryseal.mjs inspect https://canaryseal.xyz/mcp --pin d26611c6db9b256e94e010ff17559074ae01df2929326c8fbf90697cc8ad2d9f
node canaryseal.mjs check stableenrich.dev
```

## Architecture & Endpoints

- **Free Read-Only MCP**: `POST https://canaryseal.xyz/mcp` (6 tools; digests pinned at `https://canaryseal.xyz/mcp/contract.json`)
- **Free Passive URL Inspector**: `POST https://canaryseal.xyz/v1/free/inspect-mcp` (connect-time IP-pinned SSRF guard; non-MCP non-x402 surfaces return `UNASSESSED` with `safe: null`, never `ALLOW`)
- **Paid Solana x402 v2 Endpoints**: `GET /v1/x402/pulse` ($0.002), `POST /v1/x402/scan` ($0.005), `POST /v1/x402/inspect-mcp` ($0.005), `GET /v1/x402/dossier?resource=<host>` ($0.02), `POST /v1/x402/micro-audit` ($1.00), `POST /v1/x402/canary-audit` ($5.00)
- **Private Solana Pay Checkout**: `POST https://canaryseal.xyz/v1/orders/submit` (supports zero-prepayment-risk `delivery_mode: "preview_first"`)

## Security & Verification Rules

1. Always pin `contract_sha256` (or `canonical_contract_sha256` / `kd_v1_set_hash`) before loading remote MCP tools to catch silent tool-description rug-pulls.
2. Never treat `UNASSESSED` (`safe: null`) as `ALLOW`; fail closed on non-zero CLI exit codes (`1`=UNAVAILABLE/INVALID_PIN, `2`=DRIFT_DETECTED, `3`=POLICY_REJECTED/UNASSESSED, `4`=STALE_OVERDUE).
3. Verify every CanarySeal Company Seal independently on Solana Mainnet using `https://canaryseal.xyz/verify-seal.mjs`:

```bash
curl -sO https://canaryseal.xyz/verify-seal.mjs && node verify-seal.mjs certificate.seal.txt --chain
```

## Testing & Verification

- Health check: `GET https://canaryseal.xyz/health` and `GET https://canaryseal.xyz/api/health`
- OpenAPI 3.1 schema: `GET https://canaryseal.xyz/openapi.json`
- Public sealed studies: `https://canaryseal.xyz/digest` and `https://canaryseal.xyz/sitemap.md`

## Sitemap

- [CanarySeal Home](https://canaryseal.xyz/)
- [10-Second Integrations](https://canaryseal.xyz/integrate)
- [Hardening Templates](https://canaryseal.xyz/templates)
- [Security Glossary](https://canaryseal.xyz/glossary)
- [Markdown Sitemap](https://canaryseal.xyz/sitemap.md)
- [llms.txt](https://canaryseal.xyz/llms.txt)
