BRAINIAC Staking Security

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

使うべきか

品質と安全性

B
説明の品質
100%
スキーマの完全性
100%
命名の品質
30%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(6)

  • LOWTool 'staking-security_validator-slashing-protection-audit' doesn't follow camelCase/snake_casestaking-security_validator-slashing-protection-audit 内
  • LOWTool 'staking-security_validator-slashing-protection-audit' name length outside 3-30 rangestaking-security_validator-slashing-protection-audit 内
  • LOWTool 'staking-security_validator-key-deployment-conflict-audit' doesn't follow camelCase/snake_casestaking-security_validator-key-deployment-conflict-audit 内
  • LOWTool 'staking-security_validator-key-deployment-conflict-audit' name length outside 3-30 rangestaking-security_validator-key-deployment-conflict-audit 内
  • LOWTool 'staking-security_validator-withdrawal-credential-audit' doesn't follow camelCase/snake_casestaking-security_validator-withdrawal-credential-audit 内
  • LOWTool 'staking-security_validator-withdrawal-credential-audit' name length outside 3-30 rangestaking-security_validator-withdrawal-credential-audit 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~6,201トークン数(ツール定義)
~21.8 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 4.84%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

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

リモートエンドポイント

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

できること

ツール一覧

ツール(3)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢staking-security_validator-slashing-protection-audit(interchange, comparison, pubkeys, network)

Check caller-supplied EIP-3076 version 5 slashing-protection interchanges before validator history is imported or reused. Docs: https://www.brainiac.software/api/staking-security/validator-slashing-protection-audit Keywords: before you import or reuse validator history, interchange, comparison, pubkeys, network, audit status, audit_status, risk level, risk_level, validators analyzed, validators_analyzed, slashable conflicts, slashable_conflicts, duplicate records, duplicate_records.

入力スキーマ

{
  "type": "object",
  "properties": {
    "interchange": {
      "type": "object",
      "properties": {
        "metadata": {
          "type": "object",
          "properties": {
            "interchange_format_version": {
              "type": "string",
              "minLength": 1,
              "maxLength": 16,
              "description": "interchange format version, string, length 1 to 16. Required."
            },
            "genesis_validators_root": {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]{64}$",
              "description": "genesis validators root, string. Required."
            }
          },
          "required": [
            "interchange_format_version",
            "genesis_validators_root"
          ],
          "additionalProperties": false,
          "description": "metadata, object. Required."
        },
        "data": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "pubkey": {
                "type": "string",
                "pattern": "^0x[0-9a-fA-F]{96}$",
                "description": "pubkey, string. Required."
              },
              "signed_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "slot": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]{0,19})$",
                      "description": "slot, string. Required."
                    },
                    "signing_root": {
                      "description": "signing root, string. Optional.",
                      "type": "string",
                      "pattern": "^0x[0-9a-fA-F]{64}$"
                    }
                  },
                  "required": [
                    "slot"
                  ],
                  "additionalProperties": false,
                  "description": "item, object. Required."
                },
                "description": "signed blocks, array. Required."
              },
              "signed_attestations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "source_epoch": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]{0,19})$",
                      "description": "slot, string. Required."
                    },
                    "target_epoch": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]{0,19})$",
                      "description": "slot, string. Required."
                    },
                    "signing_root": {
                      "description": "signing root, string. Optional.",
                      "type": "string",
                      "pattern": "^0x[0-9a-fA-F]{64}$"
                    }
                  },
                  "required": [
                    "source_epoch",
                    "target_epoch"
                  ],
                  "additionalProperties": false,
                  "description": "item, object. Required."
                },
                "description": "signed attestations, array. Required."
              }
            },
            "required": [
              "pubkey",
              "signed_blocks",
              "signed_attestations"
            ],
            "additionalProperties": false,
            "description": "item, object. Required."
          },
          "description": "data, array. Required."
        }
      },
      "required": [
        "metadata",
        "data"
      ],
      "additionalProperties": false,
      "description": "interchange, object. Required."
    },
    "comparison": {
      "description": "comparison, object. Optional.",
      "type": "object",
      "properties": {
        "metadata": {
          "type": "object",
          "properties": {
            "interchange_format_version": {
              "type": "string",
              "minLength": 1,
              "maxLength": 16,
              "description": "interchange format version, string, length 1 to 16. Required."
            },
            "genesis_validators_root": {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]{64}$",
              "description": "genesis validators root, string. Required."
            }
          },
          "required": [
            "interchange_format_version",
            "genesis_validators_root"
          ],
          "additionalProperties": false,
          "description": "metadata, object. Required."
        },
        "data": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "pubkey": {
                "type": "string",
                "pattern": "^0x[0-9a-fA-F]{96}$",
                "description": "pubkey, string. Required."
              },
              "signed_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "slot": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]{0,19})$",
                      "description": "slot, string. Required."
                    },
                    "signing_root": {
                      "description": "signing root, string. Optional.",
                      "type": "string",
                      "pattern": "^0x[0-9a-fA-F]{64}$"
                    }
                  },
                  "required": [
                    "slot"
                  ],
                  "additionalProperties": false,
                  "description": "item, object. Required."
                },
                "description": "signed blocks, array. Required."
              },
              "signed_attestations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "source_epoch": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]{0,19})$",
                      "description": "slot, string. Required."
                    },
                    "target_epoch": {
                      "type": "string",
                      "pattern": "^(0|[1-9][0-9]{0,19})$",
                      "description": "slot, string. Required."
                    },
                    "signing_root": {
                      "description": "signing root, string. Optional.",
                      "type": "string",
                      "pattern": "^0x[0-9a-fA-F]{64}$"
                    }
                  },
                  "required": [
                    "source_epoch",
                    "target_epoch"
                  ],
                  "additionalProperties": false,
                  "description": "item, object. Required."
                },
                "description": "signed attestations, array. Required."
              }
            },
            "required": [
              "pubkey",
              "signed_blocks",
              "signed_attestations"
            ],
            "additionalProperties": false,
            "description": "item, object. Required."
          },
          "description": "data, array. Required."
        }
      },
      "required": [
        "metadata",
        "data"
      ],
      "additionalProperties": false
    },
    "pubkeys": {
      "description": "pubkeys, array. Optional.",
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^0x[0-9a-fA-F]{96}$",
        "description": "pubkey, string. Required."
      }
    },
    "network": {
      "description": "network, object. Optional.",
      "type": "object",
      "properties": {
        "name": {
          "description": "name, string, length 1 to 80. Optional.",
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "genesisValidatorsRoot": {
          "description": "genesisValidatorsRoot, string. Optional.",
          "type": "string",
          "pattern": "^0x[0-9a-fA-F]{64}$"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "interchange"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "audit_status": {
      "type": "string",
      "description": "audit_status. String."
    },
    "risk_level": {
      "type": "string",
      "description": "risk_level. String."
    },
    "validators_analyzed": {
      "type": "number",
      "description": "validators_analyzed. Number."
    },
    "slashable_conflicts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "kind. String."
          },
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "datasets": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "datasets. Array."
          },
          "source_epochs": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "source_epochs. Array."
          },
          "target_epochs": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "target_epochs. Array."
          },
          "signing_roots": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "signing_roots. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "slashable_conflicts. Array."
    },
    "duplicate_records": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "kind": {
            "type": "string",
            "description": "kind. String."
          },
          "count": {
            "type": "number",
            "description": "count. Number."
          },
          "source_epoch": {
            "type": "string",
            "description": "source_epoch. String."
          },
          "target_epoch": {
            "type": "string",
            "description": "target_epoch. String."
          },
          "signing_root": {
            "type": "string",
            "description": "signing_root. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "duplicate_records. Array."
    },
    "missing_records": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "datasets": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "datasets. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "missing_records. Array."
    },
    "conflicting_histories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "kind. String."
          },
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "datasets": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "datasets. Array."
          },
          "source_epochs": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "source_epochs. Array."
          },
          "target_epochs": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "target_epochs. Array."
          },
          "signing_roots": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "signing_roots. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "conflicting_histories. Array."
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "code. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "pubkey": {
            "type": "string",
            "description": "pubkey. 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": {}
}
🟢staking-security_validator-key-deployment-conflict-audit(deployments, maintenanceWindows, failoverRules, expectedTopology)

Compare a caller-supplied validator deployment inventory for duplicate active public keys, simultaneous primary and backup activation, overlapping activation windows, and failover rules that disagree. Docs: https://www.brainiac.software/api/staking-security/validator-key-deployment-conflict-audit Keywords: before you import or reuse validator history, deployments, maintenanceWindows, failoverRules, expectedTopology, audit status, audit_status, risk level, risk_level, duplicate validator keys, duplicate_validator_keys, concurrent deployments, concurrent_deployments, overlapping activation windows, overlapping_activation_windows.

入力スキーマ

{
  "type": "object",
  "properties": {
    "deployments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{96}$",
            "description": "pubkey, string. Required."
          },
          "environment": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$",
            "description": "environment, string. Required."
          },
          "node": {
            "description": "node, string. Optional.",
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$"
          },
          "role": {
            "type": "string",
            "enum": [
              "primary",
              "standby",
              "backup",
              "recovery"
            ],
            "description": "role, string, one of primary, standby, backup, recovery. Required."
          },
          "activation": {
            "type": "string",
            "enum": [
              "active",
              "inactive",
              "scheduled"
            ],
            "description": "activation, string, one of active, inactive, scheduled. Required."
          },
          "owner": {
            "description": "owner, string, length 1 to 80. Optional.",
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "activationWindow": {
            "description": "activationWindow, object. Optional.",
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "description": "start, string, date-time. Required."
              },
              "end": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "description": "end, string, date-time. Required."
              }
            },
            "required": [
              "start",
              "end"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "pubkey",
          "environment",
          "role",
          "activation"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      },
      "description": "deployments, array. Required."
    },
    "maintenanceWindows": {
      "description": "maintenanceWindows, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "environment": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$",
            "description": "environment, string. Required."
          },
          "start": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "description": "start, string, date-time. Required."
          },
          "end": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
            "description": "end, string, date-time. Required."
          }
        },
        "required": [
          "environment",
          "start",
          "end"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    },
    "failoverRules": {
      "description": "failoverRules, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{96}$",
            "description": "pubkey, string. Required."
          },
          "environments": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$",
              "description": "environment, string. Required."
            },
            "description": "environments, array. Required."
          },
          "exclusive": {
            "type": "boolean",
            "description": "exclusive, boolean. Required."
          }
        },
        "required": [
          "pubkey",
          "environments",
          "exclusive"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    },
    "expectedTopology": {
      "description": "expectedTopology, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{96}$",
            "description": "pubkey, string. Required."
          },
          "environment": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$",
            "description": "environment, string. Required."
          },
          "node": {
            "description": "node, string. Optional.",
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$"
          },
          "role": {
            "type": "string",
            "enum": [
              "primary",
              "standby",
              "backup",
              "recovery"
            ],
            "description": "role, string, one of primary, standby, backup, recovery. Required."
          },
          "activation": {
            "description": "activation, string, one of active, inactive, scheduled. Optional.",
            "type": "string",
            "enum": [
              "active",
              "inactive",
              "scheduled"
            ]
          }
        },
        "required": [
          "pubkey",
          "environment",
          "role"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    }
  },
  "required": [
    "deployments"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "audit_status": {
      "type": "string",
      "description": "audit_status. String."
    },
    "risk_level": {
      "type": "string",
      "description": "risk_level. String."
    },
    "duplicate_validator_keys": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "environments": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "environments. Array."
          },
          "nodes": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "nodes. Array."
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "roles. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "duplicate_validator_keys. Array."
    },
    "concurrent_deployments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "environments": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "environments. Array."
          },
          "nodes": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "nodes. Array."
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "roles. Array."
          },
          "activations": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "activations. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "concurrent_deployments. Array."
    },
    "overlapping_activation_windows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "environments": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "environments. Array."
          },
          "windows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "environment": {
                  "type": "string",
                  "description": "environment. String."
                },
                "start": {
                  "type": "string",
                  "description": "start. String."
                },
                "end": {
                  "type": "string",
                  "description": "end. String."
                }
              },
              "additionalProperties": {},
              "description": "item. Object."
            },
            "description": "windows. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "overlapping_activation_windows. Array."
    },
    "failover_conflicts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "environments": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "environments. Array."
          },
          "exclusive": {
            "type": "boolean",
            "description": "exclusive. Boolean."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "failover_conflicts. Array."
    },
    "affected_environments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "environment": {
            "type": "string",
            "description": "environment. String."
          },
          "pubkeys": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "pubkeys. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "affected_environments. Array."
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "code. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "pubkey": {
            "type": "string",
            "description": "pubkey. 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": {}
}
🟢staking-security_validator-withdrawal-credential-audit(validators, expected, ownership, network, policy)

Compare caller-supplied Ethereum validator withdrawal credentials with expected types, withdrawal addresses, and ownership mappings. Docs: https://www.brainiac.software/api/staking-security/validator-withdrawal-credential-audit Keywords: before you import or reuse validator history, validators, expected, ownership, network, policy, audit status, audit_status, risk level, risk_level, credential type summary, credential_type_summary, withdrawal destinations, withdrawal_destinations, unexpected destinations.

入力スキーマ

{
  "type": "object",
  "properties": {
    "validators": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{96}$",
            "description": "pubkey, string. Required."
          },
          "withdrawalCredentials": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{64}$",
            "description": "withdrawalCredentials, string. Required."
          }
        },
        "required": [
          "pubkey",
          "withdrawalCredentials"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      },
      "description": "validators, array. Required."
    },
    "expected": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{96}$",
            "description": "pubkey, string. Required."
          },
          "credentialType": {
            "type": "string",
            "enum": [
              "bls",
              "execution",
              "compounding"
            ],
            "description": "credentialType, string, one of bls, execution, compounding. Required."
          },
          "address": {
            "description": "address, string. Optional.",
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{40}$"
          }
        },
        "required": [
          "pubkey",
          "credentialType"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      },
      "description": "expected, array. Required."
    },
    "ownership": {
      "description": "ownership, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "pattern": "^0x[0-9a-fA-F]{40}$",
            "description": "address, string. Required."
          },
          "operator": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$",
            "description": "operator, string. Required."
          },
          "beneficiary": {
            "description": "beneficiary, string. Optional.",
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$"
          }
        },
        "required": [
          "address",
          "operator"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    },
    "network": {
      "description": "network, string, length 1 to 80. Optional.",
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "policy": {
      "description": "policy, object. Optional.",
      "type": "object",
      "properties": {
        "duplicateDestinations": {
          "description": "duplicateDestinations, string, one of allow, prohibit. Optional.",
          "type": "string",
          "enum": [
            "allow",
            "prohibit"
          ]
        },
        "ownership": {
          "description": "ownership, string, one of require_listed, informational. Optional.",
          "type": "string",
          "enum": [
            "require_listed",
            "informational"
          ]
        },
        "operators": {
          "description": "operators, array. Optional.",
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,79}$",
            "description": "operator, string. Required."
          }
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "validators",
    "expected"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "audit_status": {
      "type": "string",
      "description": "audit_status. String."
    },
    "risk_level": {
      "type": "string",
      "description": "risk_level. String."
    },
    "credential_type_summary": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "count": {
            "type": "number",
            "description": "count. Number."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "credential_type_summary. Array."
    },
    "withdrawal_destinations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "credential_type": {
            "type": "string",
            "description": "credential_type. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          },
          "address": {
            "type": "string",
            "description": "address. String."
          },
          "operator": {
            "type": "string",
            "description": "operator. String."
          },
          "beneficiary": {
            "type": "string",
            "description": "beneficiary. String."
          },
          "matches_expected": {
            "type": "boolean",
            "description": "matches_expected. Boolean."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "withdrawal_destinations. Array."
    },
    "unexpected_destinations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "credential_type": {
            "type": "string",
            "description": "credential_type. String."
          },
          "address": {
            "type": "string",
            "description": "address. String."
          },
          "expected_address": {
            "type": "string",
            "description": "expected_address. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "unexpected_destinations. Array."
    },
    "duplicate_destinations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "address. String."
          },
          "pubkeys": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "pubkeys. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "duplicate_destinations. Array."
    },
    "missing_validators": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string",
            "description": "pubkey. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "missing_validators. Array."
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "code. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "pubkey": {
            "type": "string",
            "description": "pubkey. 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": {}
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 3 件