io.github.iinniitt/defi-guard-mcp
NPM · @INIIT/DEFI-GUARD-MCP · SCANNED AUG 3
DeFi safety checks on Base before you sign: honeypot, owner-power scan, approval risk, Aave health.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (110 of 114), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (110 of 114), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 25 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability81
- AI-judged instruction clarity (excellent).Pass
- Tool/resource definitions use about 667 tokens (~111/item across 6 items; 6 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @iniit/defi-guard-mcp
claude mcp add iinniitt-defi-guard-mcp -- npx -y @iniit/defi-guard-mcp
codex mcp add iinniitt-defi-guard-mcp -- npx -y @iniit/defi-guard-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"iinniitt-defi-guard-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@iniit/defi-guard-mcp"
],
"enabled": true
}
}
} openclaw mcp add iinniitt-defi-guard-mcp --command npx --arg -y --arg @iniit/defi-guard-mcp
mcp_servers:
iinniitt-defi-guard-mcp:
command: "npx"
args: ["-y", "@iniit/defi-guard-mcp"] {
"mcpServers": {
"iinniitt-defi-guard-mcp": {
"command": "npx",
"args": [
"-y",
"@iniit/defi-guard-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 2 Aug 26 +65
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- Malware scan: unverified → pass ▲ security
- Schema quality: unverified → excellent ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Stability: unverified → 0.23 ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- Licence: MIT functional
- 1 Aug 26 −16
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- 31 Jul 26 −7
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 −18
- Malware scan: pass → unverified ▼ security
- 27 Jul 26 46
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/@iniit/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 110 packages
110 packages in the resolved dependency tree · 109 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
aave_position_health ~69
Check the live health of an Aave V3 position on Base: health factor, total collateral/debt (USD), LTV and liquidation threshold. A health factor below 1.0 means the position is liquidatable.
| Name | Type | Req | Description |
|---|---|---|---|
| address | string | yes | EVM address of the position owner |
No output schema declared.
No examples provided.
approval_risk ~141
Assess the risk of an existing ERC-20 approval on Base BEFORE it can be abused: reads the live allowance an owner has granted a spender, flags UNLIMITED approvals (the allowance-drain vector — a compromised or malicious spender can pull up to the allowance), and reports whether the spender is a contract. Unlimited allowance to an EOA is a classic scam setup. Use before signing an approval, or to audit standing approvals.
| Name | Type | Req | Description |
|---|---|---|---|
| owner | string | yes | The wallet that granted the approval |
| spender | string | yes | The address allowed to spend (router, contract, or EOA) |
| token | string | yes | The ERC-20 token address |
No output schema declared.
No examples provided.
quote_swap ~111
Real exact-input swap quote on Base via Uniswap V3 QuoterV2. Tries all fee tiers (0.01%, 0.05%, 0.3%, 1%) and returns the best executable output. Amounts are human units (e.g. '0.5').
| Name | Type | Req | Description |
|---|---|---|---|
| amountIn | string | yes | Human-readable input amount, e.g. '0.5' |
| tokenIn | string | yes | Input token address |
| tokenOut | string | yes | Output token address |
No output schema declared.
No examples provided.
scan_dangerous_capabilities ~135
Scan a token/contract's DEPLOYED BYTECODE on Base for owner-only powers that can harm holders — mint, pause, blacklist, adjustable fees/taxes, max-tx limits, trading toggles, and proxy upgradeability. Flags the PRESENCE of each capability (a selector match in the code), i.e. what the operator COULD do, independent of the token's claims. No explorer API key needed. Heuristic: matches 4-byte selectors in runtime bytecode; a minimal proxy hides its real logic in the implementation (reported).
| Name | Type | Req | Description |
|---|---|---|---|
| token | string | yes | Contract/token address on Base |
No output schema declared.
No examples provided.
token_risk_snapshot ~88
Liquidity risk snapshot of an ERC-20 on Base: metadata plus REAL market depth measured by round-trip quotes (WETH -> token -> WETH) at two trade sizes. High round-trip loss = thin/illiquid or high-fee market; a token you cannot exit is a risk regardless of its chart.
| Name | Type | Req | Description |
|---|---|---|---|
| token | string | yes | ERC-20 token address on Base |
No output schema declared.
No examples provided.
token_safety_screen ~123
Pre-trade safety screen for an ERC-20 on Base — the 'is this safe to buy/approve BEFORE I sign' check. Verifies you can actually SELL it back (honeypot detection), measures the real round-trip cost (buy+sell fees/tax), and reports whether ownership is renounced (a live owner can often change taxes, pause, or mint). Returns a single risk verdict. On-chain only; no oracle, no trust in the token's own claims.
| Name | Type | Req | Description |
|---|---|---|---|
| token | string | yes | ERC-20 token address on Base |
No output schema declared.
No examples provided.