Automaton Colony

io.github.AutomatonColony由 GitHub 账号 AutomatonColony 发布v1.2.0更新于 Oct 24, 2026

Screen Base smart contracts and B20 tokens: free on-chain check, paid Flash Audit over x402 (USDC).

已验证Streamable HTTP可网页运行金融安全与监控

概览

AI 生成的概览

筛查 Base 上的智能合约与 B20 代币:提供免费的链上事实检查,以及通过 x402 用 USDC 购买的付费 Flash Audit 报告。

可以做什么
  • 免费检查 Base 地址:已验证源码、代理检测、管理员选择器、持仓集中度、B20 发行方权限
  • 获取付费 Flash Report 的 x402 付款条款,包括金额、网络、资产与收款地址
  • 用 USDC 购买 Flash Report,取得订单号后轮询订单,直到返回报告 JSON
  • 列出并逐次购买单个链上事实,结果在同一次调用中返回
  • 每个结果都附带读取时的区块与区块哈希,报告会说明哪些内容无法核实
适用场景
在与某个 Base 合约或 B20 代币交互之前需要客观链上事实时使用;或者需要更完整的付费筛查报告,并愿意通过 x402 以 USDC 付款时使用。
运行要求
远程 Streamable HTTP 端点,无需本地安装。免费工具不需要钱包。付费工具需要一个支持 x402、在 Base(eip155:8453)上持有 USDC 的钱包,用于签署 EIP-3009 授权;没有钱包时工具会指向网页商店。链上读取需要访问 Base 网络。
安装前请注意
付费工具会花费真实的 Base 链上 USDC,单项事实约 0.0049 起,Flash Report 更贵;助手可能代为签署并结算付款。x402 购买没有托管,也不会把报告锚定上链,请自行保存结算交易和所收 JSON 的 SHA-256。免费检查有速率限制和月度配额。报告可领取期限为 180 天。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Automaton Colony,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.AutomatonColony%2Fautomaton-colony/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "automaton-colony": {
      "type": "http",
      "url": "https://colony.automatoncolony.xyz/mcp"
    }
  }
}

README

Automaton Colony

An independent verifier for automatoncolony.xyz, a contract screening service running on Base.

Every report bought on-chain through the store's escrow has its SHA-256 written into that public contract by the transaction that delivers it. The script in this repository reads that hash straight from the chain and compares it with the file on your disk. It never contacts automatoncolony.xyz. A buyer who has to ask the seller whether the report was edited has no answer worth having.

Verify a report

Node 18 or newer. There are no dependencies and nothing to install.

bash
node verify-report.mjs <invoiceId> <path-to-report>

The invoice id is the 0x value shown in the purchase confirmation, 64 hexadecimal characters. The path is the report file exactly as it was downloaded, with no reformatting: a single added newline changes the hash.

escrow            0x85b98F29C0d52c435a4514A6f4843c3b7B6bc06e (v9)state             RELEASEDbytes  on-chain   6367bytes  local      6367sha256 on-chain   0xe7914e36629ba27cec2906d0513bf2b9bc9507d91934ebcfe09b3782c6077edbsha256 local      0xe7914e36629ba27cec2906d0513bf2b9bc9507d91934ebcfe09b3782c6077edb
MATCH. This file is byte-for-byte the one committed on-chain when the report was delivered.

There are four possible endings. MATCH means the file has not been altered since it was delivered. MISMATCH means the file differs from what the chain recorded, whether by an edit or by a truncated download. An invoice id that exists in neither escrow gets its own message, which is also what a mistyped id produces. And a purchase that exists with no content committed, which is the case after a refund and also while a delivery is still pending, ends with a line saying so, because there is nothing to compare the file against.

Exit codes are 0 for a match, 2 for a usage error, and 1 for everything else, so the script can be used from another program.

One limit is worth knowing before relying on the check. The escrow records one delivery per purchase, so the reports generated afterwards with Sniper Pass credits are not anchored separately: their fingerprint travels inside the report itself, and this script cannot check them. Verifying a credit report against the pass's invoice id produces a MISMATCH that means nothing.

A second limit: a report bought over x402 never passes through the escrow. That route settles directly to the treasury and nothing writes the report hash on chain, so there is no invoice id and this script has nothing to compare. On that route the buyer's proof is the settlement transaction together with their own SHA-256 of the bytes received.

Queries go to https://mainnet.base.org by default. That endpoint is shared and rate limited; set BASE_RPC_URL to use your own.

bash
BASE_RPC_URL=https://your-endpoint node verify-report.mjs 0x… report.json

What the check still assumes

The script makes one kind of network call, an eth_call to the RPC endpoint, and believes the answer. An endpoint that lies can produce a false MATCH. When that assumption matters, point BASE_RPC_URL at a node under your own control, or repeat the read on BaseScan and compare the two results. The hashing of the local file happens offline, with Node's own crypto module.

Contracts

The script queries the two escrows and nothing else. The other two rows are here because they appear inside every purchase: USDC is the token the payment is denominated in, and the policy registry holds the product descriptor, terms and privacy hashes that were in force when the purchase was paid.

Both escrows are queried, newest first. v9 has been live since 21 August 2026, and reports bought before that date are committed in v8, whose buyers deserve a verifier that still works.

The two versions return the same struct with one difference: v9 inserted paymentToken in the second slot, which shifted every field after it by one word. The script reads fields by name from a per-version list. A hard-coded index is what broke the first client that met v9.

Escrow v9 and the policy registry are verified on BaseScan, so the source behind those addresses can be read there.

Doing it by hand

Nothing here depends on the script. The same check runs on BaseScan with no code at all: read purchases(invoiceId) on the escrow, take the contentSha256 field, and compare it with sha256sum of your file. The walkthrough is in How to verify a security report was not edited afterwards.

Guides

Written for the person about to spend the money, and kept on the site so there is one copy of each. The index is in guides/.

For agents

The store is built for machines as much as for people. An agent has four ways in:

  • MCP server: https://automatoncolony.xyz/mcp (Streamable HTTP, JSON-RPC 2.0 by POST). Tools: check_contract_free, flash_audit_terms, buy_flash_audit (paid over x402 inside the tool, following the @x402/mcp convention) and collect_flash_audit. In Claude Code: claude mcp add --transport http automaton-colony https://automatoncolony.xyz/mcp.
  • Skill: skills/automaton-colony/SKILL.md teaches an agent when and how to use the free check, the paid report and the verifier.
  • HTTP with x402: POST /api/v1/x402/flash-audit answers 402 with the terms; described in openapi.json and in the RFC 9727 catalogue at /.well-known/api-catalog.
  • Identity: ERC-8004 agent 84609 on Base, registration file at /.well-known/agent-registration.json.

Plain-text summary for language models: llms.txt.

Reporting a problem

Security issues go to the address in SECURITY.md. Please do not open a public issue for anything that touches funds in escrow.

Licence

The verifier is published under the MIT licence, so it can be read, run, copied and adapted by anyone. A verifier nobody is allowed to reuse would not be much of a verifier.

来源:README.md,提交 85ad467

工具

6

check_contract_free

Free check of a Base contract

Free, no wallet. Observed on-chain facts about a Base address with no verdict and no score: verified source, proxy detection, admin selectors, holder concentration, and for B20 native tokens the issuer powers. Rate limited; a monthly quota applies.

输入参数address必填

flash_audit_terms

Flash Report payment terms (x402)

Returns the x402 v2 PaymentRequired document for the paid Flash Report: amount in USDC base units, network, asset, payTo and the request schema. Free. It also says how a person without a wallet can buy the report in the web store.

无需输入参数。

buy_flash_audit

Buy a Flash Report (paid, x402)

Paid over x402 in USDC on Base. Without a payment in _meta["x402/payment"] it returns the PaymentRequired document (isError), followed by how a person without a wallet can buy the same report in the web store. With a valid PaymentPayload it validates, settles asynchronously and returns an orderKey to collect with collect_flash_audit. If the payment is read but does not pass (wrong amount or recipient, insufficient balance, bad signature, expired or already-used authorization), it returns the PaymentRequired document again (isError) with the x402 errorReason in its "error" field; this call charges nothing.

输入参数languagetargetAddress必填

collect_flash_audit

Collect a Flash Report order

Status of an x402 order while it settles and generates; once DELIVERED, the report JSON itself. Poll every 10-15 seconds. Free.

输入参数orderKey必填

contract_data_catalog

What single facts are for sale, and at what price

Free, no wallet. Lists the individual on-chain facts about a Base contract that can be bought one call at a time, with the price in USDC and how long each answer stays valid. Read this before paying: the bundle costs less than buying the parts.

无需输入参数。

buy_contract_data

Buy one on-chain fact about a Base contract

Paid over x402 in USDC on Base, from 0.0049 per call. Unlike buy_flash_audit, the answer comes back in THIS call: there is no order to poll. A first read of an address can take up to 60s: keep the connection open. If it drops before the answer arrives, send the SAME payment again within 10 minutes: the same authorization is never charged twice. Every answer carries the block it was read at and that block's hash, so it can be re-read against the chain. Call contract_data_catalog first for the list and prices. Without a payment in _meta["x402/payment"] it returns the PaymentRequired document, followed by what can be done for free without a wallet. If the payment is read but does not pass (wrong amount or recipient, insufficient balance, bad signature, expired or already-used authorization), it returns the PaymentRequired document again (isError) with the x402 errorReason in its "error" field; this call charges nothing.

输入参数product必填targetAddress

版本历史

2
  1. v1.2.0最新Oct 6, 2026
  2. v1.0.1Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分