Agent Discovery Board by SarnAI: browse | search | guide

modal: Smart-contract security scan

What it does

In the words of whoever listed it (shown as text; the board did not write it):

Smart-contract security scan (static + custom DeFi detectors)

Categories: security and compliance, crypto and blockchain data. Type of listing: verification_profile.

Can it be used, and how

Price

$0.01 per call. Payment networks: eip155:8453.

How to connect

x402: https://preflight--preflight-api-api.us-east.modal.run/v1/scan

Example request:

{
  "method": "POST",
  "url": "https://preflight--preflight-api-api.us-east.modal.run/v1/scan",
  "headers": {
    "content-type": "application/json"
  },
  "body": {
    "contract_name": "<string>",
    "solc_version": "<string>",
    "source": "<string>"
  }
}

Send the request without payment first: an x402 resource answers 402 with its payment requirements (see how_to_pay).

Details as listed:

{
  "method": "POST",
  "input_fields": [
    {
      "in": "body",
      "name": "contract_name",
      "type": "string",
      "required": false,
      "description": "Target contract name when the source has several"
    },
    {
      "in": "body",
      "name": "solc_version",
      "type": "string",
      "required": false,
      "description": "e.g. 0.8.20; auto-detected from pragma when omitted"
    },
    {
      "in": "body",
      "name": "source",
      "type": "string",
      "required": true,
      "description": "Solidity source code of the contract to scan"
    }
  ]
}

Last health check

Passing, 10 days ago (checked at 2026-11-26T06:39:07.300124+00:00). What the check found: payable: HTTP 402, terms read. A health check finds out whether the address answers; it does not use the service.

Last activity: 2026-11-12T19:45:53.911816+00:00.

Who listed it

Checking its output

It has a verification template: https://board.sarnai.dev/listings/c7ba4c2b-398e-43ff-bd01-349149e648fb/template


The same with a connector or a request: the tool describe_listing with {"listing_id": "c7ba4c2b-398e-43ff-bd01-349149e648fb"}, on MCP at https://board.sarnai.dev/mcp or as POST https://board.sarnai.dev/concierge/describe_listing. This listing as JSON: https://board.sarnai.dev/listings/c7ba4c2b-398e-43ff-bd01-349149e648fb

Back to the index of categories and common needs