{
  "x402Version": 2,
  "id": 55432,
  "slug": "55432",
  "resource": "https://gpt.558686.xyz/v1/audit/code",
  "description": "",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1f0130669ca6fd02e025a984cc038f139df19a2f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1500000",
      "amountUsd": 1.5,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "detailedFindings": {
            "description": "Per-finding analysis with severity, CWE, lines, and fix code",
            "type": "string"
          },
          "filename": {
            "type": [
              "string",
              "null"
            ]
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "summary": {
            "description": "Scores (0-100), risk level, top-3 fixes, positive aspects",
            "type": "string"
          }
        },
        "required": [
          "detailedFindings",
          "summary"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "code": "function transfer(to, amount) { balances[msg.sender] -= amount; balances[to] += amount; }",
            "context": "ERC-20-like token contract, pre-deployment review",
            "filename": "Token.sol",
            "language": "solidity"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "detailedFindings": "## Finding 1 — CRITICAL: Missing access control ...",
            "filename": "Token.sol",
            "generatedAt": "2026-09-29T10:00:00.000Z",
            "language": "solidity",
            "summary": "Overall Security Score: 35/100 ... Top 3 Priority Fixes: ..."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "code": {
                    "description": "Source code to audit (required, max 500KB)",
                    "type": "string"
                  },
                  "context": {
                    "description": "Extra context about the codebase",
                    "type": "string"
                  },
                  "filename": {
                    "description": "Filename for context",
                    "type": "string"
                  },
                  "language": {
                    "description": "Programming language (auto-detected if omitted)",
                    "type": "string"
                  }
                },
                "required": [
                  "code"
                ],
                "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": {
                  "detailedFindings": {
                    "description": "Per-finding analysis with severity, CWE, lines, and fix code",
                    "type": "string"
                  },
                  "filename": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "generatedAt": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "language": {
                    "type": "string"
                  },
                  "summary": {
                    "description": "Scores (0-100), risk level, top-3 fixes, positive aspects",
                    "type": "string"
                  }
                },
                "required": [
                  "detailedFindings",
                  "summary"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "gpt.558686.xyz",
  "lastUpdated": "2026-10-11T10:52:45.246Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-11T10:52:44.363Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "code": "function transfer(to, amount) { balances[msg.sender] -= amount; balances[to] += amount; }",
              "context": "ERC-20-like token contract, pre-deployment review",
              "filename": "Token.sol",
              "language": "solidity"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "detailedFindings": "## Finding 1 — CRITICAL: Missing access control ...",
              "filename": "Token.sol",
              "generatedAt": "2026-09-29T10:00:00.000Z",
              "language": "solidity",
              "summary": "Overall Security Score: 35/100 ... Top 3 Priority Fixes: ..."
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "description": "Source code to audit (required, max 500KB)",
                      "type": "string"
                    },
                    "context": {
                      "description": "Extra context about the codebase",
                      "type": "string"
                    },
                    "filename": {
                      "description": "Filename for context",
                      "type": "string"
                    },
                    "language": {
                      "description": "Programming language (auto-detected if omitted)",
                      "type": "string"
                    }
                  },
                  "required": [
                    "code"
                  ],
                  "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": {
                    "detailedFindings": {
                      "description": "Per-finding analysis with severity, CWE, lines, and fix code",
                      "type": "string"
                    },
                    "filename": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "generatedAt": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "language": {
                      "type": "string"
                    },
                    "summary": {
                      "description": "Scores (0-100), risk level, top-3 fixes, positive aspects",
                      "type": "string"
                    }
                  },
                  "required": [
                    "detailedFindings",
                    "summary"
                  ],
                  "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": {
      "detailedFindings": "string",
      "filename": "string",
      "generatedAt": "2026-01-01T00:00:00Z",
      "language": "string",
      "summary": "string"
    },
    "type": "string"
  }
}