{
  "x402Version": 1,
  "supportedVersions": [
    1,
    2
  ],
  "bazaarDiscoverable": true,
  "name": "SI_Gemini Cerberus x402 Security API",
  "version": "1.3.0",
  "description": "Autonomous pay-per-call Web3 & AI supply-chain security edge API settled in Base & Arbitrum USDC via EIP-3009 TransferWithAuthorization.",
  "wallet": {
    "alias": "Wallet 1 :: SI_Gemini",
    "evmPayoutAddress": "0x51E24000948150400166b40d486dB7b3C5b2C5A1",
    "solanaPayoutAddress": "H8ckc19KdGFoCAXh1cGjQL4bGP75DdAvnRQMBpGypRQx"
  },
  "paymentMethods": [
    {
      "scheme": "exact",
      "protocol": "eip-3009",
      "network": "base",
      "chainId": 8453,
      "caip2": "eip155:8453",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "assetSymbol": "USDC",
      "decimals": 6,
      "domain": {
        "name": "USD Coin",
        "version": "2",
        "chainId": 8453,
        "verifyingContract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
      },
      "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1",
      "headersAccepted": [
        "X-PAYMENT",
        "PAYMENT-SIGNATURE"
      ]
    },
    {
      "scheme": "exact",
      "protocol": "eip-3009",
      "network": "arbitrum",
      "chainId": 42161,
      "caip2": "eip155:42161",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "assetSymbol": "USDC",
      "decimals": 6,
      "domain": {
        "name": "USD Coin",
        "version": "2",
        "chainId": 42161,
        "verifyingContract": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
      },
      "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1",
      "headersAccepted": [
        "X-PAYMENT",
        "PAYMENT-SIGNATURE"
      ]
    }
  ],
  "endpoints": [
    {
      "id": "cerberus-scan-repo",
      "method": "POST",
      "path": "/v1/cerberus/scan-repo",
      "resource": "https://x402-cerberus-worker.boxxon.workers.dev/v1/cerberus/scan-repo",
      "description": "7-layer Cerberus anti-honeypot, prompt-injection, suspicious binary (encryptly), postinstall shell-hook, obfuscation, drainer, and DLP secret scan for GitHub repositories, files, or issue text.",
      "pricing": {
        "currency": "USDC",
        "amountUsd": "0.05",
        "amountMicroUsdc": "50000"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "chainId": 8453,
          "caip2": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "maxAmountRequired": "50000",
          "amount": "50000",
          "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1"
        },
        {
          "scheme": "exact",
          "network": "arbitrum",
          "chainId": 42161,
          "caip2": "eip155:42161",
          "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
          "maxAmountRequired": "50000",
          "amount": "50000",
          "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1"
        }
      ],
      "extensions": {
        "bazaar": {
          "discoverable": true,
          "method": "POST",
          "inputSchema": {
            "type": "object",
            "properties": {
              "repoUrl": {
                "type": "string",
                "description": "Public GitHub repository URL or owner/repo slug"
              },
              "files": {
                "description": "Map of path -> content or array of { path, content }",
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "path",
                        "content"
                      ],
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "content": {
                          "type": "string"
                        }
                      }
                    }
                  }
                ]
              },
              "issueText": {
                "type": "string",
                "description": "Optional GitHub issue, PR, or bounty description text"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "verdict",
              "riskScore",
              "layers",
              "findings"
            ],
            "properties": {
              "verdict": {
                "type": "string",
                "enum": [
                  "ALLOW",
                  "WARN",
                  "BLOCK"
                ]
              },
              "riskScore": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "layers": {
                "type": "array"
              },
              "findings": {
                "type": "array"
              }
            }
          }
        }
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "repoUrl": {
            "type": "string",
            "description": "Public GitHub repository URL or owner/repo slug"
          },
          "files": {
            "description": "Map of path -> content or array of { path, content }",
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "path",
                    "content"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "content": {
                      "type": "string"
                    }
                  }
                }
              }
            ]
          },
          "issueText": {
            "type": "string",
            "description": "Optional GitHub issue, PR, or bounty description text"
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "verdict",
          "riskScore",
          "layers",
          "findings"
        ],
        "properties": {
          "verdict": {
            "type": "string",
            "enum": [
              "ALLOW",
              "WARN",
              "BLOCK"
            ]
          },
          "riskScore": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "layers": {
            "type": "array"
          },
          "findings": {
            "type": "array"
          }
        }
      }
    },
    {
      "id": "onchain-token-risk",
      "method": "POST",
      "path": "/v1/onchain/token-risk",
      "resource": "https://x402-cerberus-worker.boxxon.workers.dev/v1/onchain/token-risk",
      "description": "Read-only on-chain EVM smart contract risk analyzer using eth_getCode, EIP-1967 proxy implementation slot inspection, EVM opcode disassembly (SELFDESTRUCT/DELEGATECALL), and 4-byte selector detection (mint/blacklist/pause/setFee).",
      "pricing": {
        "currency": "USDC",
        "amountUsd": "0.03",
        "amountMicroUsdc": "30000"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "chainId": 8453,
          "caip2": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "maxAmountRequired": "30000",
          "amount": "30000",
          "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1"
        },
        {
          "scheme": "exact",
          "network": "arbitrum",
          "chainId": 42161,
          "caip2": "eip155:42161",
          "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
          "maxAmountRequired": "30000",
          "amount": "30000",
          "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1"
        }
      ],
      "extensions": {
        "bazaar": {
          "discoverable": true,
          "method": "POST",
          "inputSchema": {
            "type": "object",
            "required": [
              "chain",
              "address"
            ],
            "properties": {
              "chain": {
                "type": "string",
                "enum": [
                  "arbitrum",
                  "base",
                  "ethereum",
                  "optimism",
                  "polygon"
                ]
              },
              "address": {
                "type": "string",
                "pattern": "^0x[0-9a-fA-F]{40}$"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "chain",
              "address",
              "isContract",
              "isProxy",
              "opcodes",
              "detectedSelectors",
              "riskScore",
              "riskLevel"
            ],
            "properties": {
              "chain": {
                "type": "string"
              },
              "address": {
                "type": "string"
              },
              "isContract": {
                "type": "boolean"
              },
              "isProxy": {
                "type": "boolean"
              },
              "eip1967Implementation": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "riskScore": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "riskLevel": {
                "type": "string",
                "enum": [
                  "LOW",
                  "MEDIUM",
                  "HIGH",
                  "CRITICAL"
                ]
              }
            }
          }
        }
      },
      "inputSchema": {
        "type": "object",
        "required": [
          "chain",
          "address"
        ],
        "properties": {
          "chain": {
            "type": "string",
            "enum": [
              "arbitrum",
              "base",
              "ethereum",
              "optimism",
              "polygon"
            ]
          },
          "address": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{40}$"
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "chain",
          "address",
          "isContract",
          "isProxy",
          "opcodes",
          "detectedSelectors",
          "riskScore",
          "riskLevel"
        ],
        "properties": {
          "chain": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "isContract": {
            "type": "boolean"
          },
          "isProxy": {
            "type": "boolean"
          },
          "eip1967Implementation": {
            "type": [
              "string",
              "null"
            ]
          },
          "riskScore": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "riskLevel": {
            "type": "string",
            "enum": [
              "LOW",
              "MEDIUM",
              "HIGH",
              "CRITICAL"
            ]
          }
        }
      }
    },
    {
      "id": "sbom-audit",
      "method": "POST",
      "path": "/v1/sbom/audit",
      "resource": "https://x402-cerberus-worker.boxxon.workers.dev/v1/sbom/audit",
      "description": "Dependency manifest security auditor & CycloneDX 1.5 JSON SBOM generator supporting package.json, requirements.txt, and Cargo.toml (typosquatting, wildcard/unpinned versions, lifecycle hooks, license risk).",
      "pricing": {
        "currency": "USDC",
        "amountUsd": "0.10",
        "amountMicroUsdc": "100000"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "chainId": 8453,
          "caip2": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "maxAmountRequired": "100000",
          "amount": "100000",
          "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1"
        },
        {
          "scheme": "exact",
          "network": "arbitrum",
          "chainId": 42161,
          "caip2": "eip155:42161",
          "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
          "maxAmountRequired": "100000",
          "amount": "100000",
          "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1"
        }
      ],
      "extensions": {
        "bazaar": {
          "discoverable": true,
          "method": "POST",
          "inputSchema": {
            "type": "object",
            "required": [
              "format",
              "content"
            ],
            "properties": {
              "format": {
                "type": "string",
                "enum": [
                  "package.json",
                  "requirements.txt",
                  "Cargo.toml"
                ]
              },
              "content": {
                "type": "string"
              },
              "projectName": {
                "type": "string"
              },
              "projectVersion": {
                "type": "string"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "verdict",
              "riskScore",
              "summary",
              "findings",
              "sbom"
            ],
            "properties": {
              "verdict": {
                "type": "string",
                "enum": [
                  "PASS",
                  "WARN",
                  "FAIL"
                ]
              },
              "riskScore": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "summary": {
                "type": "object"
              },
              "findings": {
                "type": "array"
              },
              "sbom": {
                "type": "object",
                "description": "Valid CycloneDX 1.5 JSON SBOM"
              }
            }
          }
        }
      },
      "inputSchema": {
        "type": "object",
        "required": [
          "format",
          "content"
        ],
        "properties": {
          "format": {
            "type": "string",
            "enum": [
              "package.json",
              "requirements.txt",
              "Cargo.toml"
            ]
          },
          "content": {
            "type": "string"
          },
          "projectName": {
            "type": "string"
          },
          "projectVersion": {
            "type": "string"
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "verdict",
          "riskScore",
          "summary",
          "findings",
          "sbom"
        ],
        "properties": {
          "verdict": {
            "type": "string",
            "enum": [
              "PASS",
              "WARN",
              "FAIL"
            ]
          },
          "riskScore": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "summary": {
            "type": "object"
          },
          "findings": {
            "type": "array"
          },
          "sbom": {
            "type": "object",
            "description": "Valid CycloneDX 1.5 JSON SBOM"
          }
        }
      }
    },
    {
      "id": "cerberus-audit-solidity",
      "method": "POST",
      "path": "/v1/cerberus/audit-solidity",
      "resource": "https://x402-cerberus-worker.boxxon.workers.dev/v1/cerberus/audit-solidity",
      "description": "10-detector Solidity static & invariant contest auditor (ERC-4626 inflation, Chainlink/L2 sequencer staleness, unchecked ERC-20 return, reentrancy CEI, signature replay, tx.origin, arbitrary delegatecall, division-before-multiplication, unprotected initializer/selfdestruct, fee-on-transfer accounting) with CWE/SWC tags and auto-generated Foundry forge-std/Test.sol scaffolds for HIGH/CRITICAL findings.",
      "pricing": {
        "currency": "USDC",
        "amountUsd": "0.15",
        "amountMicroUsdc": "150000"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "chainId": 8453,
          "caip2": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "maxAmountRequired": "150000",
          "amount": "150000",
          "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1"
        },
        {
          "scheme": "exact",
          "network": "arbitrum",
          "chainId": 42161,
          "caip2": "eip155:42161",
          "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
          "maxAmountRequired": "150000",
          "amount": "150000",
          "payTo": "0x51E24000948150400166b40d486dB7b3C5b2C5A1"
        }
      ],
      "extensions": {
        "bazaar": {
          "discoverable": true,
          "method": "POST",
          "inputSchema": {
            "type": "object",
            "properties": {
              "filename": {
                "type": "string",
                "description": "Optional Solidity filename when supplying single \"source\""
              },
              "source": {
                "type": "string",
                "description": "Single Solidity contract source code string"
              },
              "files": {
                "description": "Map of path -> Solidity source or array of { path, content }",
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "path",
                        "content"
                      ],
                      "properties": {
                        "path": {
                          "type": "string"
                        },
                        "content": {
                          "type": "string"
                        }
                      }
                    }
                  }
                ]
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "scanner",
              "filesScanned",
              "linesScanned",
              "verdict",
              "riskScore",
              "severityCounts",
              "findingsCount",
              "findings"
            ],
            "properties": {
              "scanner": {
                "type": "string"
              },
              "filesScanned": {
                "type": "number"
              },
              "linesScanned": {
                "type": "number"
              },
              "verdict": {
                "type": "string",
                "enum": [
                  "PASS",
                  "MEDIUM_RISK",
                  "HIGH_RISK",
                  "CRITICAL_RISK"
                ]
              },
              "riskScore": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "severityCounts": {
                "type": "object"
              },
              "findingsCount": {
                "type": "number"
              },
              "findings": {
                "type": "array"
              }
            }
          }
        }
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string",
            "description": "Optional Solidity filename when supplying single \"source\""
          },
          "source": {
            "type": "string",
            "description": "Single Solidity contract source code string"
          },
          "files": {
            "description": "Map of path -> Solidity source or array of { path, content }",
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "path",
                    "content"
                  ],
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "content": {
                      "type": "string"
                    }
                  }
                }
              }
            ]
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "scanner",
          "filesScanned",
          "linesScanned",
          "verdict",
          "riskScore",
          "severityCounts",
          "findingsCount",
          "findings"
        ],
        "properties": {
          "scanner": {
            "type": "string"
          },
          "filesScanned": {
            "type": "number"
          },
          "linesScanned": {
            "type": "number"
          },
          "verdict": {
            "type": "string",
            "enum": [
              "PASS",
              "MEDIUM_RISK",
              "HIGH_RISK",
              "CRITICAL_RISK"
            ]
          },
          "riskScore": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "severityCounts": {
            "type": "object"
          },
          "findingsCount": {
            "type": "number"
          },
          "findings": {
            "type": "array"
          }
        }
      }
    }
  ]
}