# io.github.iinniitt/defi-guard-mcp (npm · @iniit/defi-guard-mcp)

DeFi safety checks on Base before you sign: honeypot, owner-power scan, approval risk, Aave health.

- Trust score: 70/100 (medium)
- Change this week: +24
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@iniit/defi-guard-mcp`: 70/100 (this document), [markdown](https://verifymcp.io/servers/iinniitt-defi-guard-mcp/iniit-defi-guard-mcp.md), [page](https://verifymcp.io/servers/iinniitt-defi-guard-mcp/iniit-defi-guard-mcp)

## Channel facts

- Registry: `npm`
- Package: `@iniit/defi-guard-mcp`
- Version: `0.2.0`
- Transport: `stdio`

## Trust breakdown

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. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (110 of 114), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (110 of 114), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 25 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 81/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 667 tokens (~111/item across 6 items; 6 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add iinniitt-defi-guard-mcp -- npx -y @iniit/defi-guard-mcp
```

### Codex

```bash
codex mcp add iinniitt-defi-guard-mcp -- npx -y @iniit/defi-guard-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "iinniitt-defi-guard-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@iniit/defi-guard-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add iinniitt-defi-guard-mcp --command npx --arg -y --arg @iniit/defi-guard-mcp
```

### Hermes

```yaml
mcp_servers:
  iinniitt-defi-guard-mcp:
    command: "npx"
    args: ["-y", "@iniit/defi-guard-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "iinniitt-defi-guard-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iniit/defi-guard-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 70, +65)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Tool coverage: unverified → 100
- [functional] Licence: MIT

### 2026-08-01 (score 5, −16)

- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified

### 2026-07-31 (score 21, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (6)

### `aave_position_health` (~69 tokens)

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.

Input parameters:

- `address` (string, required): EVM address of the position owner

### `quote_swap` (~111 tokens)

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').

Input parameters:

- `amountIn` (string, required): Human-readable input amount, e.g. '0.5'
- `tokenIn` (string, required): Input token address
- `tokenOut` (string, required): Output token address

### `token_risk_snapshot` (~88 tokens)

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.

Input parameters:

- `token` (string, required): ERC-20 token address on Base

### `token_safety_screen` (~123 tokens)

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.

Input parameters:

- `token` (string, required): ERC-20 token address on Base

### `scan_dangerous_capabilities` (~135 tokens)

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

Input parameters:

- `token` (string, required): Contract/token address on Base

### `approval_risk` (~141 tokens)

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.

Input parameters:

- `owner` (string, required): The wallet that granted the approval
- `spender` (string, required): The address allowed to spend (router, contract, or EOA)
- `token` (string, required): The ERC-20 token address

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/iinniitt-defi-guard-mcp/iniit-defi-guard-mcp#diagnostics

## Score history

- 2026-08-03: 70
- 2026-08-02: 70
- 2026-08-01: 5
- 2026-07-31: 21
- 2026-07-30: 28
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@iniit/defi-guard-mcp
- Socket report: https://socket.dev/npm/package/@iniit/defi-guard-mcp
- Repository: https://github.com/iinniitt/defi-guard-mcp
- Changelog RSS feed: https://verifymcp.io/servers/iinniitt-defi-guard-mcp/iniit-defi-guard-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/iinniitt-defi-guard-mcp/iniit-defi-guard-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/iinniitt-defi-guard-mcp/iniit-defi-guard-mcp
