base-security-scanner-mcp

v1.0.3
io.github.lordbasilaiassistant-sudo/base-security-scanner-mcp Checked 1 day ago Published 9 months ago

MCP 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.

ParameterTypeDescription
address *stringContract 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.

ParameterTypeDescription
token_address *stringToken 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.

ParameterTypeDescription
token_address *stringToken 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).

ParameterTypeDescription
address *stringContract 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?

ParameterTypeDescription
token_address *stringToken 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.

ParameterTypeDescription
address *stringContract 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.

ParameterTypeDescription
address1 *stringFirst contract address
address2 *stringSecond 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.

ParameterTypeDescription
token_address *stringToken contract address on Base mainnet