blockchain-risk-analyzer/templates/schema/blockchain_analysis_schema.json
jeirmeister 391a2fa35d Initial commit: Blockchain fraud detection analyzer
Initial implementation of a tool to analyze Ethereum smart contracts for fraudulent patterns.
Currently supports:
- Contract deployment analysis
- Early actor identification
- Exchange interaction tracking
- Wash trading detection
- Suspicious pattern recognition

Known issues:
- Directory structure needs cleanup
- Some indentation errors to fix
- Missing proper error handling
- Needs better report formatting
2024-11-10 16:10:27 -08:00

86 lines
2.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Blockchain Analysis Report",
"description": "Analysis of suspicious blockchain activity",
"type": "object",
"properties": {
"contract_address": {
"type": "string",
"description": "The analyzed contract address"
},
"deployer": {
"type": "string",
"description": "Contract deployer address"
},
"creation_date": {
"type": "string",
"description": "Contract creation timestamp"
},
"key_actors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {"type": "string"},
"first_interaction": {"type": "string"},
"transaction_hash": {"type": "string"}
},
"required": ["address", "first_interaction"]
}
},
"critical_period": {
"type": "object",
"properties": {
"setup_phase": {
"type": "object",
"properties": {
"contract_creation": {"type": ["object", "null"]},
"trading_enabled": {"type": ["object", "null"]},
"ownership_renounced": {"type": ["object", "null"]},
"initial_liquidity": {
"type": "array",
"items": {"type": "object"}
}
}
},
"suspicious_patterns": {
"type": "object",
"properties": {
"rapid_transfers": {"type": "array"},
"large_transfers": {"type": "array"},
"wash_trading": {"type": "array"},
"suspicious_functions": {"type": "array"}
}
},
"timeline": {
"type": "array",
"items": {"type": "object"}
}
}
},
"exchange_interactions": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"incoming": {"type": "array"},
"outgoing": {"type": "array"}
}
}
},
"wash_trading": {
"type": "object",
"properties": {
"instances": {"type": "array"},
"total_volume": {"type": "number"},
"addresses_involved": {
"type": "array",
"items": {"type": "string"}
},
"time_periods": {"type": "array"}
}
}
},
"required": ["contract_address", "deployer", "creation_date", "critical_period"]
}