base-security-scanner-mcp
v1.0.3MCP server to scan smart contracts on Base for honeypots, rug pulls, and vulnerabilities.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_contract
Analyze a smart contract on Base mainnet for security issues including reentrancy patterns, access control, hidden mints, proxy patterns, and dangerous opcodes.
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract address on Base mainnet |
check_honeypot
Check if a token on Base mainnet is a honeypot by simulating buy and sell via Uniswap V2 router. Returns buy/sell ability and estimated taxes.
| Parameter | Type | Description |
|---|---|---|
token_address * | string | Token contract address on Base mainnet |
detect_rug_risk
Score rug pull risk 0-100 for a token on Base mainnet. Checks ownership, liquidity, dangerous functions, honeypot status, and contract patterns.
| Parameter | Type | Description |
|---|---|---|
token_address * | string | Token contract address on Base mainnet |
analyze_bytecode
Disassemble contract bytecode on Base mainnet and identify known patterns (proxy, diamond, AMM, lending, ERC-20, ERC-721, etc).
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract address on Base mainnet |
check_token_permissions
Check owner permissions on a token: can mint? can pause? can blacklist? can change fees? Can disable trading? Ownership renounced?
| Parameter | Type | Description |
|---|---|---|
token_address * | string | Token contract address on Base mainnet |
get_contract_info
Get basic contract metadata on Base mainnet: is it a contract, bytecode size, ETH balance, transaction count. For tokens, also returns name/symbol/supply.
| Parameter | Type | Description |
|---|---|---|
address * | string | Contract or EOA address on Base mainnet |
compare_bytecode
Compare bytecode of two contracts on Base mainnet for clone detection. Returns similarity score and whether they share the same code.
| Parameter | Type | Description |
|---|---|---|
address1 * | string | First contract address |
address2 * | string | Second contract address |
audit_report
Generate a full security audit report for a token on Base mainnet. Combines contract scan, honeypot check, rug risk score, bytecode analysis, and permission checks into one comprehensive report.
| Parameter | Type | Description |
|---|---|---|
token_address * | string | Token contract address on Base mainnet |