<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: BRAINIAC.software</title>
    <description>The latest articles on DEV Community by BRAINIAC.software (@brainiacsoftware).</description>
    <link>https://dev.to/brainiacsoftware</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4259506%2F9e9ae3bd-32d7-4ef6-99d6-fa52a919e481.png</url>
      <title>DEV Community: BRAINIAC.software</title>
      <link>https://dev.to/brainiacsoftware</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brainiacsoftware"/>
    <language>en</language>
    <item>
      <title>Screen a counterparty wallet before your agent pays it</title>
      <dc:creator>BRAINIAC.software</dc:creator>
      <pubDate>Mon, 23 Nov 2026 10:44:59 +0000</pubDate>
      <link>https://dev.to/brainiacsoftware/screen-a-counterparty-wallet-before-your-agent-pays-it-6o7</link>
      <guid>https://dev.to/brainiacsoftware/screen-a-counterparty-wallet-before-your-agent-pays-it-6o7</guid>
      <description>&lt;h1&gt;
  
  
  Screen a counterparty wallet before your agent pays it
&lt;/h1&gt;

&lt;p&gt;If an agent can send USDC, the dangerous step is not building the transfer. It is paying an address you have not screened. A counterpart in a chat, a payout in a tool result, or a “treasury” pasted into a prompt should be checked before the agent broadcasts. On Base that can be one pay-per-call request: $0.05 USDC, no API key, and a local MCP client that signs the 402 on the buyer’s machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I work on BRAINIAC.software. There is no free trial and I am not claiming customers. Discovery and the &lt;a href="https://www.brainiac.software/skill.md" rel="noopener noreferrer"&gt;local client&lt;/a&gt; download are free; a successful HTTP 2xx that returns real data costs the listed USDC price. Prices and field names below are from the live catalog, OpenAPI, and an unpaid 402 I ran on 23 November 2026. If a price has moved, the 402 is the source of truth.&lt;/p&gt;

&lt;p&gt;This article is about one route: &lt;code&gt;POST /api/v1/wallet-intelligence/security/address&lt;/code&gt;. It does not replace a human review, and it does not claim to catch every malicious address. Cursor and Claude Desktop still cannot sign a 402 against a remote &lt;code&gt;/mcp&lt;/code&gt; URL; the local payer is in &lt;a href="https://dev.to/brainiacsoftware/give-a-desktop-agent-a-local-x402-wallet-pay-per-call-apis-without-an-api-key-55ie"&gt;Give a desktop agent a local x402 wallet&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this route is
&lt;/h2&gt;

&lt;p&gt;Docs: &lt;a href="https://www.brainiac.software/api/wallet-intelligence/security-address" rel="noopener noreferrer"&gt;wallet-intelligence/security-address&lt;/a&gt;. Catalog title: “Check address security.” Description: check a wallet address for malicious activity indicators using GoPlus Labs threat intelligence on Base Mainnet.&lt;/p&gt;

&lt;p&gt;Live price: &lt;strong&gt;$0.05 USDC&lt;/strong&gt; on Base (&lt;code&gt;eip155:8453&lt;/code&gt;). OpenAPI &lt;code&gt;x-payment-info.amount&lt;/code&gt; is &lt;code&gt;"0.05"&lt;/code&gt;. Scope: Base Mainnet only, chain ID 8453. This is not a balance snapshot and not an approvals scan; those are separate operations in the same group.&lt;/p&gt;

&lt;p&gt;The live OpenAPI required field is &lt;code&gt;walletAddress&lt;/code&gt;, not &lt;code&gt;address&lt;/code&gt;. Optional: &lt;code&gt;cursor&lt;/code&gt;. The published example body is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"walletAddress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0x21c3de23d98caddc406e3d31b25e807addf33633"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A body that sends &lt;code&gt;address&lt;/code&gt; instead of &lt;code&gt;walletAddress&lt;/code&gt; does not match the schema. Have the agent &lt;code&gt;describe&lt;/code&gt; &lt;code&gt;wallet-intelligence.security-address&lt;/code&gt; before &lt;code&gt;call&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Inspect the 402 without paying
&lt;/h2&gt;

&lt;p&gt;This unpaid POST returns HTTP 402 and does not move USDC. Use a fresh 64-character hex &lt;code&gt;Idempotency-Key&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -i -X POST https://www.brainiac.software/api/v1/wallet-intelligence/security/address \
  -H &lt;span class="s1"&gt;'Content-Type: application/json'&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Idempotency-Key: $(openssl rand -hex 32)"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"walletAddress":"0x21c3de23d98caddc406e3d31b25e807addf33633"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On 23 November 2026 that response was x402 version 2, scheme &lt;code&gt;exact&lt;/code&gt;, network &lt;code&gt;eip155:8453&lt;/code&gt;, amount &lt;code&gt;"50000"&lt;/code&gt; ($0.05 USDC, 6 decimals), asset &lt;code&gt;0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&lt;/code&gt;, payTo &lt;code&gt;0x6428665E83F503904571104311bB78CBb29b975c&lt;/code&gt;, facilitator &lt;code&gt;https://api.cdp.coinbase.com/platform/v2/x402&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Field names an agent should branch on
&lt;/h2&gt;

&lt;p&gt;The JSON below is the &lt;strong&gt;published example&lt;/strong&gt; from the docs and the 402's Bazaar output schema, not a paid body from this article. The example uses a placeholder address:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"partial"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"result_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"a1b2c3d4e5f60718293a4b5c6d7e8f90"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"received_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-12T12:00:00.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"retrievedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-10-29T12:00:00.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"walletAddress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0x1234567890123456789012345678901234567890"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"security"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"OK"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"result"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"address"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0x1234567890123456789012345678901234567890"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"risk_level"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"malicious"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"phishing"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"nextCursor"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lLi4u"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"progress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"processed"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"total"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"unit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"items"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"scannedRange"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sources"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"GoPlus Labs API"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://api.gopluslabs.io/api/v1/address_security/8453"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"retrievedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-10-29T12:00:00.000Z"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"missing_items"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"check"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"phishing_list_timeout"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"reason"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"timeout"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"detail"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"GoPlus phishing list timed out. Address risk fields below still stand."&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"limitations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"Security checks are based on GoPlus Labs threat intelligence."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"Not all malicious or suspicious activity may be detected."&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Gate on &lt;code&gt;data.security.result&lt;/code&gt;: &lt;code&gt;address&lt;/code&gt;, &lt;code&gt;risk_level&lt;/code&gt;, &lt;code&gt;malicious&lt;/code&gt;, and &lt;code&gt;phishing&lt;/code&gt;. The wrapper adds &lt;code&gt;security.code&lt;/code&gt; and &lt;code&gt;security.message&lt;/code&gt; (the example uses &lt;code&gt;1&lt;/code&gt; / &lt;code&gt;OK&lt;/code&gt;). Compare &lt;code&gt;data.walletAddress&lt;/code&gt; and &lt;code&gt;security.result.address&lt;/code&gt; to the payee you intended.&lt;/p&gt;

&lt;p&gt;Also read the envelope, not only &lt;code&gt;malicious: false&lt;/code&gt;. &lt;code&gt;status&lt;/code&gt; &lt;code&gt;complete&lt;/code&gt; or &lt;code&gt;partial&lt;/code&gt; with real &lt;code&gt;data&lt;/code&gt; is the charged success path. &lt;code&gt;partial&lt;/code&gt; can include &lt;code&gt;nextCursor&lt;/code&gt;; resume with the same &lt;code&gt;walletAddress&lt;/code&gt; plus &lt;code&gt;cursor&lt;/code&gt;, or stop and treat the result as incomplete. &lt;code&gt;missing_items[]&lt;/code&gt; (&lt;code&gt;check&lt;/code&gt;, &lt;code&gt;reason&lt;/code&gt;, &lt;code&gt;detail&lt;/code&gt;) means a check did not finish — in the example, the GoPlus phishing list timed out while other address-risk fields still stand. That is not the same as a finished &lt;code&gt;phishing: false&lt;/code&gt;. &lt;code&gt;limitations[]&lt;/code&gt; states that not all malicious or suspicious activity may be detected. A &lt;code&gt;risk_level&lt;/code&gt; of &lt;code&gt;low&lt;/code&gt; in the example is not a guarantee, and I am not claiming that value for any live wallet here. Keep &lt;code&gt;sources[]&lt;/code&gt; (GoPlus Labs on chain 8453 in the example) with whatever you show a user.&lt;/p&gt;

&lt;p&gt;Do not invent extra GoPlus flags that are not in this route’s published schema. Token-approval risk is a different call (&lt;code&gt;POST /api/v1/wallet-intelligence/security/approvals&lt;/code&gt;, $0.05). A combined report is &lt;code&gt;…/security/risk-report&lt;/code&gt; at $0.10. This article does not cover them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this sits in an agent loop
&lt;/h2&gt;

&lt;p&gt;Install the local stdio client from the &lt;a href="https://www.brainiac.software/skill.md" rel="noopener noreferrer"&gt;skill&lt;/a&gt; and verify &lt;a href="https://www.brainiac.software/mcp-client.mjs.sha256" rel="noopener noreferrer"&gt;mcp-client.mjs.sha256&lt;/a&gt;. Keep &lt;code&gt;BRAINIAC_PRIVATE_KEY&lt;/code&gt;, &lt;code&gt;BRAINIAC_MAX_USD_PER_CALL&lt;/code&gt;, and &lt;code&gt;BRAINIAC_DAILY_MAX_USD&lt;/code&gt; only in the host environment. For this $0.05 route the per-call cap must be at least &lt;code&gt;0.05&lt;/code&gt; (the skill’s example cap is &lt;code&gt;0.05&lt;/code&gt;). Do not paste a private key into a chat or into this article.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The agent is about to transfer, tip, refund, or otherwise pay &lt;code&gt;walletAddress&lt;/code&gt; on Base. Halt the send.&lt;/li&gt;
&lt;li&gt;Free: &lt;code&gt;describe&lt;/code&gt; with &lt;code&gt;id&lt;/code&gt; &lt;code&gt;wallet-intelligence.security-address&lt;/code&gt;. Confirm the required field is &lt;code&gt;walletAddress&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Paid: &lt;code&gt;call&lt;/code&gt; with &lt;code&gt;{ "id": "wallet-intelligence.security-address", "params": { "walletAddress": "&amp;lt;checksummed address&amp;gt;" } }&lt;/code&gt;. The client pin-checks &lt;code&gt;payTo&lt;/code&gt;, USDC, &lt;code&gt;eip155:8453&lt;/code&gt;, and the Coinbase CDP facilitator, then signs only if $0.05 is within the caps.&lt;/li&gt;
&lt;li&gt;If &lt;code&gt;status&lt;/code&gt; is &lt;code&gt;partial&lt;/code&gt; and &lt;code&gt;nextCursor&lt;/code&gt; is present, resume or stop. If &lt;code&gt;missing_items&lt;/code&gt; is non-empty, do not treat the counterpart as cleared — especially if the missing check is the phishing list.&lt;/li&gt;
&lt;li&gt;Policy: block or escalate if &lt;code&gt;malicious&lt;/code&gt; or &lt;code&gt;phishing&lt;/code&gt; is true, if &lt;code&gt;risk_level&lt;/code&gt; is outside your allow-list, if the returned &lt;code&gt;address&lt;/code&gt; does not match the intended payee, or if missing checks leave the result incomplete. &lt;code&gt;malicious: false&lt;/code&gt; and &lt;code&gt;phishing: false&lt;/code&gt; are GoPlus indicators, not a payment authorization from us.&lt;/li&gt;
&lt;li&gt;Only then construct and send the transfer — or do not.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Settlement is only after HTTP 2xx with real data (&lt;code&gt;complete&lt;/code&gt; or &lt;code&gt;partial&lt;/code&gt;). HTTP 4xx/5xx, &lt;code&gt;failed&lt;/code&gt;, and empty payloads are not charged. Payment and pins: &lt;a href="https://www.brainiac.software/how-it-works" rel="noopener noreferrer"&gt;how-it-works&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Outputs are lookups for a person or a policy to review, not legal advice and not an official determination. This route screens a Base address against GoPlus threat intelligence; that is the whole job.&lt;/p&gt;

&lt;p&gt;If you already wrap payouts in a local MCP client, I would like to hear whether &lt;code&gt;phishing: true&lt;/code&gt; is an automatic block, and what you do when &lt;code&gt;missing_items&lt;/code&gt; reports a timeout.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>web3</category>
      <category>security</category>
    </item>
    <item>
      <title>Check a Base token before your agent swaps: a $0.01 pre-trade risk verdict</title>
      <dc:creator>BRAINIAC.software</dc:creator>
      <pubDate>Mon, 23 Nov 2026 10:44:25 +0000</pubDate>
      <link>https://dev.to/brainiacsoftware/check-a-base-token-before-your-agent-swaps-a-001-pre-trade-risk-verdict-2c5a</link>
      <guid>https://dev.to/brainiacsoftware/check-a-base-token-before-your-agent-swaps-a-001-pre-trade-risk-verdict-2c5a</guid>
      <description>&lt;h1&gt;
  
  
  Check a Base token before your agent swaps: a $0.01 pre-trade risk verdict
&lt;/h1&gt;

&lt;p&gt;A trading agent that can swap on Base should not treat a token address as safe because a quote exists. Before it signs an approval or a swap, it can pay $0.01 USDC and read the contract. The result is not a score and not a go/no-go from us. It is a structured evidence pack — facts, signals, and checks that did not finish — for a policy or a person to review.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I work on BRAINIAC.software. There is no free trial and I am not claiming customers. Discovery and the &lt;a href="https://www.brainiac.software/skill.md" rel="noopener noreferrer"&gt;local client&lt;/a&gt; download are free; a successful HTTP 2xx that returns real data costs the listed USDC price. Prices and field names below are from the live catalog, OpenAPI, and an unpaid 402 I ran on 23 November 2026. If a price has moved, the 402 is the source of truth.&lt;/p&gt;

&lt;p&gt;This article is about one route: BQ&lt;code&gt;POST /api/v1/token-security/risk-verdict&lt;/code&gt;. Claude Desktop and Cursor still cannot sign a 402 against a remote &lt;code&gt;/mcp&lt;/code&gt; URL; the local payer they need is in &lt;a href="https://dev.to/brainiacsoftware/give-a-desktop-agent-a-local-x402-wallet-pay-per-call-apis-without-an-api-key-55ie"&gt;Give a desktop agent a local x402 wallet&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the route returns, and what it does not
&lt;/h2&gt;

&lt;p&gt;Docs: &lt;a href="https://www.brainiac.software/api/token-security/risk-verdict" rel="noopener noreferrer"&gt;token-security/risk-verdict&lt;/a&gt;. The catalog description is: read a Base token contract and return an evidence-based verdict.&lt;/p&gt;

&lt;p&gt;It does &lt;strong&gt;not&lt;/strong&gt; produce a risk score. Facts, signals, and unavailable checks are separate, and the absence of a signal is not a safety approval. In the published response example, &lt;code&gt;data.approvesInteraction&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt;, and &lt;code&gt;limitations&lt;/code&gt; states that the response does not approve interacting with the token. Named sources: public Base JSON-RPC (&lt;code&gt;mainnet.base.org&lt;/code&gt;) for runtime bytecode and &lt;code&gt;eth_call&lt;/code&gt; / &lt;code&gt;eth_getStorageAt&lt;/code&gt;, plus the public DEX Screener token endpoint. Documented scope: Base mainnet, chain id 8453.&lt;/p&gt;

&lt;p&gt;The live OpenAPI requires &lt;code&gt;tokenAddress&lt;/code&gt; (a &lt;code&gt;0x&lt;/code&gt;-prefixed 40-hex address). Optional fields: &lt;code&gt;chain&lt;/code&gt;, &lt;code&gt;chainId&lt;/code&gt;, &lt;code&gt;cursor&lt;/code&gt;. The published example uses Base USDC:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"tokenAddress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Inspect the 402 without paying
&lt;/h2&gt;

&lt;p&gt;This unpaid POST returns HTTP 402 and does not move USDC. Use a fresh 64-character hex &lt;code&gt;Idempotency-Key&lt;/code&gt; each time you want a new challenge.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -i -X POST https://www.brainiac.software/api/v1/token-security/risk-verdict \
  -H &lt;span class="s1"&gt;'Content-Type: application/json'&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Idempotency-Key: $(openssl rand -hex 32)"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"tokenAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On 23 November 2026 that response was x402 version 2, scheme &lt;code&gt;exact&lt;/code&gt;, network &lt;code&gt;eip155:8453&lt;/code&gt;, amount &lt;code&gt;"10000"&lt;/code&gt; ($0.01 USDC, 6 decimals), asset &lt;code&gt;0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&lt;/code&gt;, payTo &lt;code&gt;0x6428665E83F503904571104311bB78CBb29b975c&lt;/code&gt;, facilitator &lt;code&gt;https://api.cdp.coinbase.com/platform/v2/x402&lt;/code&gt;. The catalog and OpenAPI &lt;code&gt;x-payment-info&lt;/code&gt; list the same $0.01.&lt;/p&gt;

&lt;h2&gt;
  
  
  Field names an agent should branch on
&lt;/h2&gt;

&lt;p&gt;The JSON below is the &lt;strong&gt;published example&lt;/strong&gt; from the docs and the 402's Bazaar output schema, not a paid body from this article. Field names are what a paid call returns (truncated):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"partial"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"retrievedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-02T18:00:00.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"tokenAddress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"chainId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;8453&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"approvesInteraction"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"result_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"a1b2c3d4e5f60718293a4b5c6d7e8f90"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"received_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-02T18:00:01.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"assessment"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"signals_present"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"findings"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"kind"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fact"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"contract_code_present"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"detail"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"The address has runtime code at the latest block."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2456"&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"kind"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"signal"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"selector_fe575a87"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"detail"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Runtime bytecode contains the 4-byte selector for isBlacklisted(address). Presence in bytecode does not prove the function is reachable or privileged."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fe575a87"&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"nextCursor"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"eyJ2IjoxLCJyb3V0ZSI6InBhcnRpYWwtcmVzdW1lLi4u"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"progress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"processed"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"total"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"unit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"items"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"scannedRange"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sources"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Base JSON-RPC"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://mainnet.base.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"retrievedAt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-02T18:00:00.000Z"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"missing_items"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"check"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"paused_read_timeout"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"reason"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"timeout"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"detail"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"eth_call for paused() timed out. Bytecode facts above still stand."&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"limitations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"Absence of a signal is not evidence that the token is safe, and this response does not approve interacting with it."&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read four buckets: &lt;code&gt;findings[]&lt;/code&gt; with &lt;code&gt;kind&lt;/code&gt; &lt;code&gt;fact&lt;/code&gt; (for example &lt;code&gt;contract_code_present&lt;/code&gt;); &lt;code&gt;findings[]&lt;/code&gt; with &lt;code&gt;kind&lt;/code&gt; &lt;code&gt;signal&lt;/code&gt; (the example flags the &lt;code&gt;isBlacklisted(address)&lt;/code&gt; selector and warns that presence does not prove the function is reachable); &lt;code&gt;missing_items[]&lt;/code&gt; (&lt;code&gt;check&lt;/code&gt;, &lt;code&gt;reason&lt;/code&gt;, &lt;code&gt;detail&lt;/code&gt; — a timed-out &lt;code&gt;paused()&lt;/code&gt; read is not a pass); and &lt;code&gt;assessment&lt;/code&gt;, &lt;code&gt;approvesInteraction&lt;/code&gt;, plus &lt;code&gt;limitations[]&lt;/code&gt;. Do not invent a score from these.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;status&lt;/code&gt; may be &lt;code&gt;complete&lt;/code&gt; or &lt;code&gt;partial&lt;/code&gt; when there is real &lt;code&gt;data&lt;/code&gt;. A &lt;code&gt;partial&lt;/code&gt; result can include &lt;code&gt;nextCursor&lt;/code&gt;; resume by sending the same body plus &lt;code&gt;cursor&lt;/code&gt;. Treat &lt;code&gt;partial&lt;/code&gt; as incomplete work, not a clean bill of health. &lt;code&gt;status&lt;/code&gt; &lt;code&gt;failed&lt;/code&gt; or an empty payload is not charged.&lt;/p&gt;

&lt;p&gt;The published example address is USDC on Base, so a &lt;code&gt;signal&lt;/code&gt; on it is a teaching point, not a claim that USDC is unsafe. Bytecode selector matches can be coincidental.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this sits in an agent loop
&lt;/h2&gt;

&lt;p&gt;Install the local stdio client from the &lt;a href="https://www.brainiac.software/skill.md" rel="noopener noreferrer"&gt;skill&lt;/a&gt;, verify &lt;a href="https://www.brainiac.software/mcp-client.mjs.sha256" rel="noopener noreferrer"&gt;mcp-client.mjs.sha256&lt;/a&gt;, and keep &lt;code&gt;BRAINIAC_PRIVATE_KEY&lt;/code&gt;, &lt;code&gt;BRAINIAC_MAX_USD_PER_CALL&lt;/code&gt;, and &lt;code&gt;BRAINIAC_DAILY_MAX_USD&lt;/code&gt; only in the host environment. For a $0.01 route, a per-call cap of &lt;code&gt;0.05&lt;/code&gt; is enough. Do not paste a private key into a chat or into this article.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The agent is about to swap or approve &lt;code&gt;tokenAddress&lt;/code&gt;. Halt the swap path.&lt;/li&gt;
&lt;li&gt;Free: &lt;code&gt;describe&lt;/code&gt; with &lt;code&gt;id&lt;/code&gt; &lt;code&gt;token-security.risk-verdict&lt;/code&gt;, so the body matches the live schema.&lt;/li&gt;
&lt;li&gt;Paid: &lt;code&gt;call&lt;/code&gt; with &lt;code&gt;{ "id": "token-security.risk-verdict", "params": { "tokenAddress": "&amp;lt;token&amp;gt;" } }&lt;/code&gt;. The client pin-checks &lt;code&gt;payTo&lt;/code&gt;, USDC, Base, and the CDP facilitator, then signs only if the amount is within the caps. I have verified that this official client path can complete a paid call on this route; that was a test payment, not a customer.&lt;/li&gt;
&lt;li&gt;If &lt;code&gt;status&lt;/code&gt; is &lt;code&gt;partial&lt;/code&gt; and &lt;code&gt;nextCursor&lt;/code&gt; is present, resume with &lt;code&gt;cursor&lt;/code&gt; or stop and show the incomplete result.&lt;/li&gt;
&lt;li&gt;Policy: refuse or escalate if &lt;code&gt;approvesInteraction&lt;/code&gt; is not true (the published example is &lt;code&gt;false&lt;/code&gt;), if &lt;code&gt;missing_items&lt;/code&gt; is non-empty, or if any finding has &lt;code&gt;kind&lt;/code&gt; &lt;code&gt;signal&lt;/code&gt; and your policy requires a human. Never treat an empty &lt;code&gt;findings&lt;/code&gt; list as “safe” — the docs forbid that reading.&lt;/li&gt;
&lt;li&gt;Only then continue to a quote, approval, or swap — or do not.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Settlement is only after HTTP 2xx with real data (&lt;code&gt;complete&lt;/code&gt; or &lt;code&gt;partial&lt;/code&gt;). HTTP 4xx/5xx, &lt;code&gt;failed&lt;/code&gt;, and empty payloads are not charged. Payment pins: &lt;a href="https://www.brainiac.software/how-it-works" rel="noopener noreferrer"&gt;how-it-works&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This is a lookup for a person or a policy to review, not legal advice and not an official determination. The same group also lists &lt;code&gt;honeypot-risk-check&lt;/code&gt; and &lt;code&gt;sell-simulation&lt;/code&gt; at $0.01 each; they are separate routes and not covered here.&lt;/p&gt;

&lt;p&gt;If you already gate swaps in a local MCP client, I would like to hear which &lt;code&gt;findings&lt;/code&gt; codes you actually block on, and whether &lt;code&gt;missing_items&lt;/code&gt; is a hard stop or a retry.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>web3</category>
      <category>security</category>
    </item>
    <item>
      <title>Give a desktop agent a local x402 wallet: pay-per-call APIs without an API key</title>
      <dc:creator>BRAINIAC.software</dc:creator>
      <pubDate>Mon, 23 Nov 2026 10:24:56 +0000</pubDate>
      <link>https://dev.to/brainiacsoftware/give-a-desktop-agent-a-local-x402-wallet-pay-per-call-apis-without-an-api-key-55ie</link>
      <guid>https://dev.to/brainiacsoftware/give-a-desktop-agent-a-local-x402-wallet-pay-per-call-apis-without-an-api-key-55ie</guid>
      <description>&lt;h1&gt;
  
  
  Give a desktop agent a local x402 wallet: pay-per-call APIs without an API key
&lt;/h1&gt;

&lt;p&gt;Desktop hosts such as Claude Desktop and Cursor can attach a remote MCP server, but they still cannot sign an HTTP 402 Payment Required challenge. If the API is priced in USDC via x402, a remote &lt;code&gt;/mcp&lt;/code&gt; URL will list tools and then stall on payment.&lt;/p&gt;

&lt;p&gt;A workable pattern is a local stdio MCP client: the buyer's key and spend caps stay on their machine, the client checks the 402 against published payment pins, and only then signs. I published one for BRAINIAC.software, a catalog of pay-per-call JSON APIs on Base (no account, no API key). This post covers installing that client, inspecting a live 402, and a cheap check an agent can run before it touches a Base token.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I work on BRAINIAC.software. There is no free trial and I am not claiming customers. Discovery and the client download are free; a successful 2xx that returns real data costs the listed USDC price. Prices below are from the live catalog on 23 November 2026; if one has moved, the 402 header is the source of truth.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gap
&lt;/h2&gt;

&lt;p&gt;Remote Streamable HTTP MCP is fine for listing tools. Payment is a different job. x402 expects the client to read a 402, confirm the payee, asset, network and amount, sign, and retry. Claude Desktop, Cursor, and similar hosts do not do that for a remote server. So the key and the spend policy have to live in a process the buyer actually controls.&lt;/p&gt;

&lt;p&gt;The local client is a stdio MCP server with four tools: &lt;code&gt;list_apis&lt;/code&gt;, &lt;code&gt;search&lt;/code&gt;, and &lt;code&gt;describe&lt;/code&gt; are free; &lt;code&gt;call&lt;/code&gt; is the paid POST. Before it signs, it checks &lt;code&gt;payTo&lt;/code&gt;, the USDC contract, &lt;code&gt;eip155:8453&lt;/code&gt; (Base), and the Coinbase CDP facilitator against pins in the skill. It also enforces a per-call cap and a UTC-day cap that the buyer sets.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a 402 looks like
&lt;/h2&gt;

&lt;p&gt;You can inspect the price without paying. This unpaid POST returns HTTP 402 and does not move any USDC:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -i -X POST https://www.brainiac.software/api/v1/token-security/risk-verdict \
  -H &lt;span class="s1"&gt;'Content-Type: application/json'&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Idempotency-Key: $(openssl rand -hex 32)"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"tokenAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;Payment-Required&lt;/code&gt; header is base64 JSON, x402 version 2, scheme &lt;code&gt;exact&lt;/code&gt;, network &lt;code&gt;eip155:8453&lt;/code&gt;, amount &lt;code&gt;"10000"&lt;/code&gt; (that is $0.01 USDC, 6 decimals), asset &lt;code&gt;0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&lt;/code&gt;, payTo &lt;code&gt;0x6428665E83F503904571104311bB78CBb29b975c&lt;/code&gt;, facilitator &lt;code&gt;https://api.cdp.coinbase.com/platform/v2/x402&lt;/code&gt;. Invalid input returns 400 and no payment challenge.&lt;/p&gt;

&lt;p&gt;Docs for this route: &lt;a href="https://www.brainiac.software/api/token-security/risk-verdict" rel="noopener noreferrer"&gt;token-security/risk-verdict&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install the local client
&lt;/h2&gt;

&lt;p&gt;The walkthrough, pins, and host config are in the skill. Download the client, check the SHA-256, then install the dependencies listed there. Re-check the checksum whenever you re-download the file.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Skill: &lt;a href="https://www.brainiac.software/skill.md" rel="noopener noreferrer"&gt;https://www.brainiac.software/skill.md&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Client: &lt;a href="https://www.brainiac.software/mcp-client.mjs" rel="noopener noreferrer"&gt;https://www.brainiac.software/mcp-client.mjs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Checksum: &lt;a href="https://www.brainiac.software/mcp-client.mjs.sha256" rel="noopener noreferrer"&gt;https://www.brainiac.software/mcp-client.mjs.sha256&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As of this writing the published SHA-256 is:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;95c2a3852c004d2841c3d4bcfd903dcc4efdc7e3b844aab89229b098ae62bb45&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Set &lt;code&gt;BRAINIAC_PRIVATE_KEY&lt;/code&gt;, &lt;code&gt;BRAINIAC_MAX_USD_PER_CALL&lt;/code&gt;, and &lt;code&gt;BRAINIAC_DAILY_MAX_USD&lt;/code&gt; only in the MCP host environment on your machine. Do not paste a private key into a chat, a skill file, or this article. Fund the key with Base USDC. Point Cursor or Claude Desktop at the local file as a stdio server, using the JSON in the skill.&lt;/p&gt;

&lt;p&gt;Free discovery should work as soon as the server starts: &lt;code&gt;list_apis&lt;/code&gt; reads the catalog, &lt;code&gt;search&lt;/code&gt; finds a route, &lt;code&gt;describe&lt;/code&gt; returns the schema and example. Prefer &lt;code&gt;describe&lt;/code&gt; before &lt;code&gt;call&lt;/code&gt; so the body matches the live schema.&lt;/p&gt;

&lt;h2&gt;
  
  
  A cheap worked example
&lt;/h2&gt;

&lt;p&gt;Before an agent buys or approves a Base token, &lt;code&gt;POST /api/v1/token-security/risk-verdict&lt;/code&gt; ($0.01) reads the contract and returns facts, signals, and checks it could not complete, kept in separate fields. It does not invent a “risk score”. A missing check is not a pass, and the result is not a recommendation to buy or sell.&lt;/p&gt;

&lt;p&gt;A related $0.01 call is &lt;a href="https://www.brainiac.software/api/token-due-diligence/honeypot" rel="noopener noreferrer"&gt;&lt;code&gt;token-due-diligence/honeypot&lt;/code&gt;&lt;/a&gt;, which runs a Honeypot.is buy/sell simulation plus tax, gas, and contract-verification data.&lt;/p&gt;

&lt;p&gt;Two other cheap checks that are often useful:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.brainiac.software/api/wallet-intelligence/security-address" rel="noopener noreferrer"&gt;&lt;code&gt;wallet-intelligence/security/address&lt;/code&gt;&lt;/a&gt; — $0.05. GoPlus threat intel on a Base address, before you send funds.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.brainiac.software/api/cybersecurity-intelligence/package-check" rel="noopener noreferrer"&gt;&lt;code&gt;cybersecurity-intelligence/package/check&lt;/code&gt;&lt;/a&gt; — $0.001. One package and version against OSV, with CISA KEV, EPSS, and NVD enrichment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The live catalog is 1,190 operations in 153 groups, with listed prices from $0.001 to $0.20 USDC on Base.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you are actually charged for
&lt;/h2&gt;

&lt;p&gt;Settlement happens only after a successful HTTP 2xx result that returns real data (&lt;code&gt;status&lt;/code&gt; &lt;code&gt;complete&lt;/code&gt; or &lt;code&gt;partial&lt;/code&gt;). HTTP 4xx and 5xx are not charged. A coverage body with &lt;code&gt;status&lt;/code&gt; &lt;code&gt;failed&lt;/code&gt;, or an empty payload, is also not charged. Settled 2xx responses include a &lt;code&gt;payment-response&lt;/code&gt; header; uncharged responses do not.&lt;/p&gt;

&lt;p&gt;That is the rule the catalog publishes today. If a &lt;code&gt;partial&lt;/code&gt; result includes data and a &lt;code&gt;nextCursor&lt;/code&gt;, you can resume. Treat a partial as incomplete work, not as a clean bill of health.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;p&gt;This is Base USDC and the x402 exact scheme only. There is no account and no API key, and no dashboard “undo” if you set the caps too high, so start with a small &lt;code&gt;BRAINIAC_MAX_USD_PER_CALL&lt;/code&gt;. Outputs are lookups and drafts for a person to review; they are not legal advice or official determinations. OFAC name-screen matches still need a human.&lt;/p&gt;

&lt;p&gt;I am posting this to find out whether agent builders want pay-per-call checks without an API key, and which operations they would actually pay for. If you already wrap x402 inside a local MCP server, I would like to hear what you set as the default spend cap.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How it works: &lt;a href="https://www.brainiac.software/how-it-works" rel="noopener noreferrer"&gt;https://www.brainiac.software/how-it-works&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Catalog: &lt;a href="https://www.brainiac.software/api/v1/catalog" rel="noopener noreferrer"&gt;https://www.brainiac.software/api/v1/catalog&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;OpenAPI: &lt;a href="https://www.brainiac.software/api/v1/openapi.json" rel="noopener noreferrer"&gt;https://www.brainiac.software/api/v1/openapi.json&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Agent index: &lt;a href="https://www.brainiac.software/llms.txt" rel="noopener noreferrer"&gt;https://www.brainiac.software/llms.txt&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>showdev</category>
      <category>ai</category>
      <category>web3</category>
      <category>mcp</category>
    </item>
  </channel>
</rss>
