BRAINIAC Contract Security

Paid Contract Security API via x402. Unpaid tool calls return 402.

사용해야 할까요

품질 및 안전성

B
설명 품질
100%
스키마 완전성
90%
이름 품질
30%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

발견 사항 (4)

  • LOWTool 'contract-security_contract-bytecode-compare' doesn't follow camelCase/snake_casecontract-security_contract-bytecode-compare에서
  • LOWTool 'contract-security_contract-bytecode-compare' name length outside 3-30 rangecontract-security_contract-bytecode-compare에서
  • LOWTool 'contract-security_bytecode-structure-diff' doesn't follow camelCase/snake_casecontract-security_bytecode-structure-diff에서
  • LOWTool 'contract-security_bytecode-structure-diff' name length outside 3-30 rangecontract-security_bytecode-structure-diff에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,671토큰 (도구 정의)
~8.3 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.31%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "contract-security": {
      "url": "https://www.brainiac.software/mcp/contract-security"
    }
  }
}

원격 엔드포인트

https://www.brainiac.software/mcp/contract-securitystreamable-http

할 수 있는 일

도구 목록

도구 (2)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢contract-security_contract-bytecode-compare(reference, candidate, bytecodeKind, mode, compilerMetadata, ...)

Compare two caller-supplied EVM bytecodes. Docs: https://www.brainiac.software/api/contract-security/contract-bytecode-compare Keywords: before you trust or deploy a contract, reference, candidate, bytecodeKind, mode, compilerMetadata, constructorArguments, immutableRanges, expectedDifferences, comparison status, comparison_status, reference hash, reference_hash, candidate hash, candidate_hash.

입력 스키마

{
  "type": "object",
  "properties": {
    "reference": {
      "type": "string",
      "maxLength": 262146,
      "pattern": "^0x(?:[0-9a-fA-F]{2})*$",
      "description": "reference, string, length 0 to 262146. Required."
    },
    "candidate": {
      "type": "string",
      "maxLength": 262146,
      "pattern": "^0x(?:[0-9a-fA-F]{2})*$",
      "description": "reference, string, length 0 to 262146. Required."
    },
    "bytecodeKind": {
      "description": "bytecodeKind, string, one of runtime, creation. Optional.",
      "type": "string",
      "enum": [
        "runtime",
        "creation"
      ]
    },
    "mode": {
      "description": "mode, string, one of exact, normalized. Optional.",
      "type": "string",
      "enum": [
        "exact",
        "normalized"
      ]
    },
    "compilerMetadata": {
      "description": "compilerMetadata, object. Optional.",
      "type": "object",
      "properties": {
        "compiler": {
          "description": "compiler, string, length 1 to 80. Optional.",
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "version": {
          "description": "version, string, length 1 to 40. Optional.",
          "type": "string",
          "minLength": 1,
          "maxLength": 40
        }
      },
      "additionalProperties": false
    },
    "constructorArguments": {
      "description": "constructorArguments, string, length 0 to 262146. Optional.",
      "type": "string",
      "maxLength": 262146,
      "pattern": "^0x(?:[0-9a-fA-F]{2})*$"
    },
    "immutableRanges": {
      "description": "immutableRanges, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "integer",
            "minimum": 0,
            "maximum": 131072,
            "description": "start, integer, from 0 to 131072. Required."
          },
          "end": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 131072,
            "description": "end, integer, from any to 131072. Required."
          }
        },
        "required": [
          "start",
          "end"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    },
    "expectedDifferences": {
      "description": "expectedDifferences, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "integer",
            "minimum": 0,
            "maximum": 131072,
            "description": "start, integer, from 0 to 131072. Required."
          },
          "end": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 131072,
            "description": "end, integer, from any to 131072. Required."
          }
        },
        "required": [
          "start",
          "end"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    }
  },
  "required": [
    "reference",
    "candidate"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

출력 스키마

{
  "type": "object",
  "properties": {
    "comparison_status": {
      "type": "string",
      "description": "comparison_status. String."
    },
    "reference_hash": {
      "type": "string",
      "description": "reference_hash. String."
    },
    "candidate_hash": {
      "type": "string",
      "description": "candidate_hash. String."
    },
    "reference_length": {
      "type": "number",
      "description": "reference_length. Number."
    },
    "candidate_length": {
      "type": "number",
      "description": "candidate_length. Number."
    },
    "similarity": {
      "type": "string",
      "description": "similarity. String."
    },
    "difference_ranges": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "number",
            "description": "start. Number."
          },
          "end": {
            "type": "number",
            "description": "end. Number."
          },
          "length": {
            "type": "number",
            "description": "length. Number."
          },
          "kind": {
            "type": "string",
            "description": "kind. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "difference_ranges. Array."
    },
    "metadata_differences": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "field. String."
          },
          "reference": {
            "type": "string",
            "description": "reference. String."
          },
          "candidate": {
            "type": "string",
            "description": "candidate. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "metadata_differences. Array."
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "code. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "findings. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢contract-security_bytecode-structure-diff(left, right)

Decode two caller-supplied EVM bytecodes, or two instruction lists, into opcodes and compare the instruction sequence. Docs: https://www.brainiac.software/api/contract-security/bytecode-structure-diff Keywords: before you trust or deploy a contract, left, right, similarity index, similarity_index, risk delta score, risk_delta_score, divergence points, divergence_points, Diff bytecode structure, bytecode structure diff.

입력 스키마

{
  "type": "object",
  "properties": {
    "left": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200000,
          "pattern": "^(0x)?[0-9a-fA-F]*$"
        },
        {
          "type": "object",
          "properties": {
            "ops": {
              "minItems": 1,
              "maxItems": 1500,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "op": {
                    "type": "string",
                    "pattern": "^[A-Za-z][A-Za-z0-9]{0,31}$"
                  },
                  "arg": {
                    "type": "string",
                    "pattern": "^(0x)?[0-9a-fA-F]{0,64}$"
                  }
                },
                "required": [
                  "op"
                ]
              }
            }
          },
          "required": [
            "ops"
          ]
        }
      ],
      "description": "left, value. Required."
    },
    "right": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200000,
          "pattern": "^(0x)?[0-9a-fA-F]*$"
        },
        {
          "type": "object",
          "properties": {
            "ops": {
              "minItems": 1,
              "maxItems": 1500,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "op": {
                    "type": "string",
                    "pattern": "^[A-Za-z][A-Za-z0-9]{0,31}$"
                  },
                  "arg": {
                    "type": "string",
                    "pattern": "^(0x)?[0-9a-fA-F]{0,64}$"
                  }
                },
                "required": [
                  "op"
                ]
              }
            }
          },
          "required": [
            "ops"
          ]
        }
      ],
      "description": "left, value. Required."
    }
  },
  "required": [
    "left",
    "right"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

출력 스키마

{
  "type": "object",
  "properties": {
    "similarity_index": {
      "type": "number",
      "description": "similarity_index. Number."
    },
    "risk_delta_score": {
      "type": "number",
      "description": "risk_delta_score. Number."
    },
    "divergence_points": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "index": {
            "type": "number",
            "description": "index. Number."
          },
          "left": {
            "type": "string",
            "description": "left. String."
          },
          "right": {
            "type": "string",
            "description": "right. String."
          },
          "kind": {
            "type": "string",
            "description": "kind. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "divergence_points. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 2개