calldata-guardian
Decodes Ethereum calldata and returns a safety verdict with plain-English explanations of what the transaction does, flagging dangerous actions like unlimited approvals or gasless permits.
README
calldata-guardian ✍️
Know what you're signing — before you sign it.
calldata-guardian is an MCP server and a pay-per-call x402 HTTP API. Give it a transaction's chain + to + data (calldata) + value and it returns a SAFE / REVIEW / DANGER verdict with a plain-English list of exactly what the transaction will do — flagging the dangerous things a wallet should never sign blindly.
⚠️ Read-only decode/safety screen, not a guarantee. calldata-guardian never holds a key and never broadcasts anything. It cannot decode every custom selector. Never sign a transaction you do not understand.
Why it exists (the moat)
A wallet/agent that "just looks at the calldata" still can't tell you the things that matter:
- Decode the 4-byte selector into arguments — turn
0x095ea7b3…ffff…into "approve UNLIMITED to 0xDEAD". - Live on-chain context the calldata alone doesn't carry — is
toa contract at all? is it an EIP-1967 upgradeable proxy whose logic can be swapped after you sign? is the approved spender/operator a known router or a random EOA (the classic phishing pattern)? - Token metadata — resolve
decimals/symbolso1.157e59is shown as UNLIMITED.
calldata-guardian batches all of that and returns one verdict with the human "this will…" breakdown.
What it flags
| ♾️ Unlimited approval | approve / increaseAllowance with an infinite amount — the #1 drainer vector |
| ✉️ Gasless permit | EIP-2612 permit & Permit2 — your signature alone grants spend rights |
| 🃏 setApprovalForAll | hands an operator control of ALL your NFTs in a collection |
| 💸 Drains | transferFrom, transfer, ownership transfers, multicall bundles that hide an approval |
| 👻 EOA spender | an approval where the spender is a plain wallet — a classic phishing pattern |
| 🔗 Upgradeable / non-contract target | to is a proxy (swappable logic) or has no code at all |
Use as an MCP server (free)
{
"mcpServers": {
"calldata-guardian": { "command": "npx", "args": ["-y", "calldata-guardian-mcp"] }
}
}
Tools:
preview_transaction— full decode + risk verdict. Params:chain,to,data,value.decode_calldata— quick "what function is this?" decode. Params:to,data,chain.
Or connect over HTTP at POST /mcp.
Free HTTP API
GET /preview?chain=ethereum&to=0xTOKEN&data=0x095ea7b3...
Returns the decoded actions, signals, and a SAFE/REVIEW/DANGER verdict.
Pay-per-call (x402)
The /pro/preview route is gated by x402. Your agent pays $0.15 USDC per call automatically — no sign-up, no API key. Settles on-chain (Base) to the operator wallet.
GET /pro/preview?chain=base&to=0x...&data=0x... # 402 → pay → full decode
Chains
Ethereum · Base · BSC · Polygon · Arbitrum — all via public, key-free RPCs.
Part of the guardian set
npm-guardian · contract-auditor · rug-check · approval-guardian · calldata-guardian
Source & docs: github.com/Baneado98/calldata-guardian · MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。