AI-powered smart contract audit summary with risk scoring, paid per call via x402.
What it does
The `/intel/contract-report` endpoint on intel.hugen.tokyo provides AI-synthesized smart contract audit summaries for crypto assets. Given a contract address and chain (defaulting to Base), it returns a risk score, risk level, verification status, compiler version, security flags (e.g., proxy detection, open-source status), an actionable verdict, and recommendations. This replaces the need to manually aggregate data from multiple sources and run separate LLM analysis.
The endpoint is part of a broader Intel API suite that also offers token reports, wallet reports, and yield reports. It accepts GET requests with optional `address` and `chain` query parameters; when the address is omitted, demo data is returned. The API is gated via the x402 payment protocol at $0.50 USDC per call on Base. Alternative access methods include an MCP gateway, API key with free trial credit, or the `x402-pay` Python SDK.
The response includes structured fields such as `risk_score` (numeric), `risk_level` (categorical), `is_verified`, `compiler`, `verdict` (natural language summary), `security_flags`, and `recommendations` (actionable list). The OpenAPI spec is version 3.1.0 and the service is at version 0.1.0. Response schemas are not fully specified in the OpenAPI definition, so the exact shape is inferred from the sample 402 challenge response.
Capabilities
Use cases
- —Automated smart contract security review before interacting with a DeFi protocol
- —Agent-driven due diligence pipeline that checks contract risk before executing trades
- —Screening newly deployed contracts for proxy patterns and upgrade risks
- —Integrating contract audit data into a portfolio risk dashboard
Fit
Best for
- —AI agents needing on-demand contract security assessments
- —DeFi developers wanting quick risk triage of smart contracts
- —Automated compliance or risk pipelines for crypto assets
Not for
- —Full formal verification or exhaustive manual audits
- —Non-EVM chains or contracts without on-chain verification
- —Free or high-volume bulk scanning (each call costs $0.50)
Quick start
# Using x402-pay Python SDK
pip install x402-pay
import x402_pay
r = x402_pay.get(
'https://intel.hugen.tokyo/intel/contract-report?address=0xdac17f958d2ee523a2206206994597c13d831ec7&chain=base'
)
print(r.json())Example
Response
{
"verdict": "Verified Solidity contract with standard ERC-20 implementation. Proxy pattern detected — upgradeable by owner.",
"compiler": "v0.8.19+commit.7dd6d404",
"risk_level": "medium",
"risk_score": 35,
"is_verified": true,
"security_flags": {
"is_proxy": true,
"is_open_source": true
},
"recommendations": [
"Monitor proxy upgrades",
"Verify owner multisig setup"
]
}Endpoint
Quality
The endpoint is live (402 challenge captured) with a clear OpenAPI spec and sample response data from the challenge. However, the response schema is not formally defined in the OpenAPI spec, docs are minimal (auto-generated FastAPI), and there is no dedicated pricing or README page. The example response is inferred from the 402 challenge payload.
Warnings
- —Response schema is not formally specified in the OpenAPI definition; structure inferred from 402 challenge sample.
- —No dedicated documentation beyond auto-generated FastAPI /docs page.
- —API is at version 0.1.0 — early stage, interface may change.
- —Supported chains beyond 'base' are not documented.
Citations
- —The endpoint costs $0.50 USDC on Base per call.https://intel.hugen.tokyo/intel/contract-report
- —The API is described as 'AI-synthesized due diligence reports for crypto assets. Multi-source aggregation + risk scoring + actionable verdicts.'https://intel.hugen.tokyo/docs
- —The contract-report endpoint accepts GET with optional address and chain query parameters and returns demo data when address is omitted.https://intel.hugen.tokyo/docs
- —Alternative access via MCP gateway, API key, or x402-pay SDK is available.https://intel.hugen.tokyo/intel/contract-report