{
  "x402Version": 2,
  "id": 55439,
  "slug": "55439",
  "resource": "https://gpt.558686.xyz/v1/audit/contract",
  "description": "",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1f0130669ca6fd02e025a984cc038f139df19a2f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2500000",
      "amountUsd": 2.5,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "remediationPlan": {
            "description": "Risk rating, code patches, invariant-testing recommendations, deployment checklist",
            "type": "string"
          },
          "vulnerabilities": {
            "description": "Vulnerability assessment with severity, exploit scenarios, line numbers",
            "type": "string"
          }
        },
        "required": [
          "vulnerabilities",
          "remediationPlan"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "context": "Lending protocol vault, pre-mainnet audit",
            "contractCode": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\ncontract Vault { ... }",
            "protocolType": "EVM/Solidity"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "generatedAt": "2026-09-29T10:00:00.000Z",
            "model": "gpt-6-sol",
            "remediationPlan": "## Executive Risk Rating: HIGH\n### Patches\n...",
            "vulnerabilities": "## CRITICAL-1: Reentrancy in withdraw() ..."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "context": {
                    "description": "Protocol context",
                    "type": "string"
                  },
                  "contractCode": {
                    "description": "Smart contract source code (required)",
                    "type": "string"
                  },
                  "protocolType": {
                    "description": "Protocol type (default \"EVM/Solidity\")",
                    "type": "string"
                  }
                },
                "required": [
                  "contractCode"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "generatedAt": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "model": {
                    "type": "string"
                  },
                  "remediationPlan": {
                    "description": "Risk rating, code patches, invariant-testing recommendations, deployment checklist",
                    "type": "string"
                  },
                  "vulnerabilities": {
                    "description": "Vulnerability assessment with severity, exploit scenarios, line numbers",
                    "type": "string"
                  }
                },
                "required": [
                  "vulnerabilities",
                  "remediationPlan"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "gpt.558686.xyz",
  "lastUpdated": "2026-10-11T12:06:18.41Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-11T12:06:17.476Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "context": "Lending protocol vault, pre-mainnet audit",
              "contractCode": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\ncontract Vault { ... }",
              "protocolType": "EVM/Solidity"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "generatedAt": "2026-09-29T10:00:00.000Z",
              "model": "gpt-6-sol",
              "remediationPlan": "## Executive Risk Rating: HIGH\n### Patches\n...",
              "vulnerabilities": "## CRITICAL-1: Reentrancy in withdraw() ..."
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "context": {
                      "description": "Protocol context",
                      "type": "string"
                    },
                    "contractCode": {
                      "description": "Smart contract source code (required)",
                      "type": "string"
                    },
                    "protocolType": {
                      "description": "Protocol type (default \"EVM/Solidity\")",
                      "type": "string"
                    }
                  },
                  "required": [
                    "contractCode"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "generatedAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "model": {
                      "type": "string"
                    },
                    "remediationPlan": {
                      "description": "Risk rating, code patches, invariant-testing recommendations, deployment checklist",
                      "type": "string"
                    },
                    "vulnerabilities": {
                      "description": "Vulnerability assessment with severity, exploit scenarios, line numbers",
                      "type": "string"
                    }
                  },
                  "required": [
                    "vulnerabilities",
                    "remediationPlan"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "gpt.558686.xyz",
    "manifest_name": "gpt.558686.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "generatedAt": "2026-01-01T00:00:00Z",
      "model": "string",
      "remediationPlan": "string",
      "vulnerabilities": "string"
    },
    "type": "string"
  }
}