BRAINIAC Contract Security is an MCP server published by software.brainiac, hosted at www.brainiac.software. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 2 tools, including contract-security_contract-bytecode-compare, contract-security_bytecode-structure-diff.
Paid Contract Security API via x402. Unpaid tool calls return 402.
647 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Compare two caller-supplied EVM bytecodes before you trust or deploy a contract. mode exact compares every byte. An omitted mode is exact. mode normalized masks only the supplied immutable ranges and a trailing Solidity CBOR metadata suffix when bytecodeKind is not creation and that suffix is present on both bytecodes. HTTP 200 with status complete, partial, or failed is charged at the full listed price. HTTP 4xx/5xx are not charged. 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.
| Parameter | Type | Description |
|---|---|---|
| mode | string | mode, string, one of exact, normalized. Optional. |
| candidate * | string | reference, string, length 0 to 262146. Required. |
| reference * | string | reference, string, length 0 to 262146. Required. |
| bytecodeKind | string | bytecodeKind, string, one of runtime, creation. Optional. |
| immutableRanges | array | immutableRanges, array. Optional. |
| compilerMetadata | object | compilerMetadata, object. Optional. |
| expectedDifferences | array | expectedDifferences, array. Optional. |
| constructorArguments | string | constructorArguments, string, length 0 to 262146. Optional. |
{
"name": "contract-security_contract-bytecode-compare",
"title": "Compare contract bytecode",
"description": "Compare two caller-supplied EVM bytecodes before you trust or deploy a contract. mode exact compares every byte. An omitted mode is exact. mode normalized masks only the supplied immutable ranges and a trailing Solidity CBOR metadata suffix when bytecodeKind is not creation and that suffix is present on both bytecodes. HTTP 200 with status complete, partial, or failed is charged at the full listed price. HTTP 4xx/5xx are not charged. 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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"reference",
"candidate"
],
"properties": {
"mode": {
"enum": [
"exact",
"normalized"
],
"type": "string",
"description": "mode, string, one of exact, normalized. Optional."
},
"candidate": {
"type": "string",
"pattern": "^0x(?:[0-9a-fA-F]{2})*$",
"maxLength": 262146,
"description": "reference, string, length 0 to 262146. Required."
},
"reference": {
"type": "string",
"pattern": "^0x(?:[0-9a-fA-F]{2})*$",
"maxLength": 262146,
"description": "reference, string, length 0 to 262146. Required."
},
"bytecodeKind": {
"enum": [
"runtime",
"creation"
],
"type": "string",
"description": "bytecodeKind, string, one of runtime, creation. Optional."
},
"immutableRanges": {
"type": "array",
"items": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "integer",
"maximum": 131072,
"description": "end, integer, from any to 131072. Required.",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 131072,
"minimum": 0,
"description": "start, integer, from 0 to 131072. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "immutableRanges, array. Optional."
},
"compilerMetadata": {
"type": "object",
"properties": {
"version": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "version, string, length 1 to 40. Optional."
},
"compiler": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "compiler, string, length 1 to 80. Optional."
}
},
"description": "compilerMetadata, object. Optional.",
"additionalProperties": false
},
"expectedDifferences": {
"type": "array",
"items": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "integer",
"maximum": 131072,
"description": "end, integer, from any to 131072. Required.",
"exclusiveMinimum": 0
},
"start": {
"type": "integer",
"maximum": 131072,
"minimum": 0,
"description": "start, integer, from 0 to 131072. Required."
}
},
"description": "item, object. Required.",
"additionalProperties": false
},
"description": "expectedDifferences, array. Optional."
},
"constructorArguments": {
"type": "string",
"pattern": "^0x(?:[0-9a-fA-F]{2})*$",
"maxLength": 262146,
"description": "constructorArguments, string, length 0 to 262146. Optional."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"severity": {
"type": "string",
"description": "severity. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"similarity": {
"type": "string",
"description": "similarity. String."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "limitations. Array."
},
"candidate_hash": {
"type": "string",
"description": "candidate_hash. String."
},
"reference_hash": {
"type": "string",
"description": "reference_hash. String."
},
"candidate_length": {
"type": "number",
"description": "candidate_length. Number."
},
"reference_length": {
"type": "number",
"description": "reference_length. Number."
},
"comparison_status": {
"type": "string",
"description": "comparison_status. String."
},
"difference_ranges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"end": {
"type": "number",
"description": "end. Number."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"start": {
"type": "number",
"description": "start. Number."
},
"length": {
"type": "number",
"description": "length. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "difference_ranges. Array."
},
"metadata_differences": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "field. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"candidate": {
"type": "string",
"description": "candidate. String."
},
"reference": {
"type": "string",
"description": "reference. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "metadata_differences. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Compare contract bytecode",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Decode two caller-supplied EVM bytecodes, or two instruction lists, into opcodes and compare the instruction sequence before you trust or deploy a contract. Similarity ignores PUSH immediates. The risk delta counts CALL, SSTORE, CREATE, DELEGATECALL, CALLCODE, and SELFDESTRUCT. A high similarity is not proof that the contracts behave the same. No chain is queried. HTTP 200 with status complete, partial, or failed is charged at the full listed price. HTTP 4xx/5xx are not charged. 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.
| Parameter | Type | Description |
|---|---|---|
| left * | any | left, value. Required. |
| right * | any | left, value. Required. |
{
"name": "contract-security_bytecode-structure-diff",
"title": "Diff bytecode structure",
"description": "Decode two caller-supplied EVM bytecodes, or two instruction lists, into opcodes and compare the instruction sequence before you trust or deploy a contract. Similarity ignores PUSH immediates. The risk delta counts CALL, SSTORE, CREATE, DELEGATECALL, CALLCODE, and SELFDESTRUCT. A high similarity is not proof that the contracts behave the same. No chain is queried. HTTP 200 with status complete, partial, or failed is charged at the full listed price. HTTP 4xx/5xx are not charged. 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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"left",
"right"
],
"properties": {
"left": {
"anyOf": [
{
"type": "string",
"pattern": "^(0x)?[0-9a-fA-F]*$",
"maxLength": 200000
},
{
"type": "object",
"required": [
"ops"
],
"properties": {
"ops": {
"type": "array",
"items": {
"type": "object",
"required": [
"op"
],
"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}$"
}
}
},
"maxItems": 1500,
"minItems": 1
}
}
}
],
"description": "left, value. Required."
},
"right": {
"anyOf": [
{
"type": "string",
"pattern": "^(0x)?[0-9a-fA-F]*$",
"maxLength": 200000
},
{
"type": "object",
"required": [
"ops"
],
"properties": {
"ops": {
"type": "array",
"items": {
"type": "object",
"required": [
"op"
],
"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}$"
}
}
},
"maxItems": 1500,
"minItems": 1
}
}
}
],
"description": "left, value. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"risk_delta_score": {
"type": "number",
"description": "risk_delta_score. Number."
},
"similarity_index": {
"type": "number",
"description": "similarity_index. Number."
},
"divergence_points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"left": {
"type": "string",
"description": "left. String."
},
"index": {
"type": "number",
"description": "index. Number."
},
"right": {
"type": "string",
"description": "right. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "divergence_points. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Diff bytecode structure",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Tool calls wrap the existing POST APIs and stay pay-per-call. initialize and tools/list are free. An unpaid tool call returns the x402 payment terms in the tool result and does not run. Retry with the payment in params._meta["x402/payment"], or send payment-signature. Payment settles only after a successful result.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.