# io.github.kaditang/402sentinel-mcp (npm · @kaditang/402sentinel-mcp)

x402 payment safety for AI agents: counterparty risk gate, payment firewall, compliance, RWA gate.

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

## Components

- npm · `@kaditang/402sentinel-mcp`: 62/100 (this document), [markdown](https://verifymcp.io/servers/kaditang-402sentinel-mcp/kaditang-402sentinel-mcp.md), [page](https://verifymcp.io/servers/kaditang-402sentinel-mcp/kaditang-402sentinel-mcp)

## Channel facts

- Registry: `npm`
- Package: `@kaditang/402sentinel-mcp`
- Version: `0.7.1`
- 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-07.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Known CVEs were checked across the 112 of 116 dependencies we could resolve, so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Dependency health was assessed across the 112 of 116 dependencies we could resolve, 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 57 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 43/100
  - AI-judged instruction clarity (fair).
  - Context-footprint check failed: tool/resource definitions use about 1339 tokens (~133/item across 10 items; 10 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 37/100
  - Stability observed for 11 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 78/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 35% 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 kaditang-402sentinel-mcp -- npx -y @kaditang/402sentinel-mcp
```

### Codex

```bash
codex mcp add kaditang-402sentinel-mcp -- npx -y @kaditang/402sentinel-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "kaditang-402sentinel-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@kaditang/402sentinel-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add kaditang-402sentinel-mcp --command npx --arg -y --arg @kaditang/402sentinel-mcp
```

### Hermes

```yaml
mcp_servers:
  kaditang-402sentinel-mcp:
    command: "npx"
    args: ["-y", "@kaditang/402sentinel-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "kaditang-402sentinel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kaditang/402sentinel-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-07 (score 62, +1)

No change was recorded against any check on this day. Stability & Change Management went from 33 to 37. That category is still filling its 30-day observation window: 10 days of observed history at the previous scan, 11 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-04 (score 61, +1)

No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 60, +55)

- [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] License: unverified → pass
- [functional improvement] Schema quality: unverified → fair
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Stability: unverified → 0.20
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional] Licence: MIT

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

- [functional regression] Tool coverage: 100 → unverified

### 2026-07-31 (score 18, +12)

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

### 2026-07-30 (score 6, −36)

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

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

First indexed and scored.

## MCP tools (10)

### `assess_counterparty` (~130 tokens)

Assess the risk of an x402 counterparty (a payTo address) BEFORE paying. Returns a 0-100 risk_score, an allow/review/block decision, honest confidence/coverage, and a ready-to-apply recommended_policy (per-counterparty caps + approval/denylist), scored from on-chain settlement behaviour on Base + a delivery-outcome flywheel. Call before authorizing any x402 payment above your risk threshold. Costs $0.002 (paid automatically in USDC).

Input parameters:

- `payment_context` (object)
- `policy` (object)
- `target` (object, required)

### `assess_counterparty_deep` (~71 tokens)

Like assess_counterparty but scans more on-chain settlement history for a higher-confidence read. Use for larger or higher-stakes payments. Costs $0.02 (paid automatically in USDC).

Input parameters:

- `payment_context` (object)
- `policy` (object)
- `target` (object, required)

### `recommend_policy` (~101 tokens)

Turn a counterparty's risk into an enforceable spending policy you can apply to your agent wallet. Returns an allow/limit/deny decision plus recommended_policy: max_payment_usdc (per-counterparty cap), daily_cap_usdc, add_to_denylist, require_human_approval. Costs $0.002 (paid automatically in USDC).

Input parameters:

- `payment_context` (object)
- `policy` (object)
- `target` (object, required)

### `report_outcome` (~84 tokens)

FREE. After you pay a counterparty, report whether they delivered so 402Sentinel's settlement-reliability flywheel can learn. Pass the assessment_id returned by a prior assessment.

Input parameters:

- `assessment_id` (string, required): assessment_id from a prior assess/policy call
- `outcome` (string, required)
- `tx_hash` (string): settlement tx hash (optional)

### `firewall` (~269 tokens)

Buyer-side payment firewall: should YOUR agent make THIS payment now? Where assess_counterparty vets the seller, this vets the payment instruction in the context of your agent's own history + provenance. Returns allow/hold/block + signals: routing_anomaly (payTo swapped vs the address you usually pay = fraudulent routing), velocity_anomaly (drain), amount_anomaly (overcharge), provenance_flag, counterparty_risk, injection_destination (if the payTo appears in the untrusted page/tool-output you're acting on, the destination was injected — pass it as context.untrusted_text), intent_mismatch (pass context.intended={payto,max_amount} so a mid-flight redirect is caught), new_counterparty_burst, recurring_flagged (poisoned-memory loop). STRONGLY recommended: pass untrusted_text + intended to catch prompt-injection payments. agent_id and a wallet-ownership signature are attached AUTOMATICALLY from your configured wallet — you don't pass agent_id, and your routing history is trusted with no extra steps. Costs $0.002. Seed history free with firewall_record.

Input parameters:

- `agent_id` (string): stable id for your agent — use your payer wallet address
- `context` (object)
- `payment` (object, required)
- `policy` (object)

### `compliance_check` (~156 tokens)

Pre-pay COMPLIANCE screen for regulated-money x402 flows. Returns compliance_decision (pass/flag/block), diligence_tier, obligations, and checks: OFAC sanctions (hit = hard block), counterparty due-diligence tier from the on-chain risk engine, structuring/smurfing detection (many sub-threshold payments to one counterparty aggregating to a reportable sum in 24h — pass target.agent_id, e.g. your wallet, to enable it), and the FATF Travel-Rule threshold reported as informational. Screening support for compliance workflows — not legal advice. Costs $0.02 (paid automatically in USDC).

Input parameters:

- `payment_context` (object)
- `target` (object, required)

### `assess_rwa` (~180 tokens)

RWA risk gate — score a TOKENIZED ASSET (tokenized treasury/stock/credit) BEFORE buying it. Detects PERMISSIONED securities an agent can buy but NOT transfer/redeem (= trapped funds): proxy-aware transfer-restriction scan (resolves the EIP-1967 implementation; ERC-1404/ERC-3643/allowlist/freeze/pause), a behavioral transfer simulation (on-chain revert = the gate is live), live pause state, token identity (symbol/name/supply), and issuer/admin identity + issuer OFAC screening. Returns risk_score 0-100 + allow/review/block + is_permissioned_security + honest not_checked gaps (backing/peg/holder concentration are off-chain). NOT investment advice. Costs $0.02 (paid automatically in USDC).

Input parameters:

- `target` (object, required)

### `verify_service` (~166 tokens)

402Sentinel Verified (opt-in badge): submit YOUR OWN service's payTo for a deep settlement-graph audit (facilitator-aware, multi-hop, exchange-labelled). If it passes (organic, sufficient confidence), a signed time-boxed (30d) credential is issued and your service joins the public allow-list at /api/verified. Positive-only: failing audits are returned privately, never published. SLOW (deep on-chain scan, up to ~3 minutes). Costs $0.02 (paid automatically in USDC).

Input parameters:

- `claimed_buyers` (number): Buyers you claim to have (optional; checked against the graph)
- `payto` (string, required): Your service's receiving address
- `resource_url` (string): Your x402 endpoint URL (optional)

### `firewall_record` (~74 tokens)

FREE. Seed your agent's payment history so the firewall has a behavioural baseline (record past/known-good payments). agent_id and the wallet-ownership signature are attached automatically from your configured wallet, so the seeded history is trusted.

Input parameters:

- `agent_id` (string): use your payer wallet address
- `payment` (object, required)

### `firewall_outcome` (~108 tokens)

FREE. After a firewall verdict, report what actually happened so 402Sentinel learns which signals are predictive and downweights noisy ones (hard-block safety signals stay deterministic). Pass the assessment_id (fw_…) from a prior firewall call.

Input parameters:

- `assessment_id` (string, required): the fw_… id from a prior firewall call
- `outcome` (string, required): bad: fraud/confirmed_fraud/not_delivered/overcharged/drained/scam · good: delivered/legit/fine

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/kaditang-402sentinel-mcp/kaditang-402sentinel-mcp#diagnostics

## Score history

- 2026-08-07: 62
- 2026-08-06: 61
- 2026-08-05: 61
- 2026-08-04: 61
- 2026-08-03: 60
- 2026-08-02: 60
- 2026-08-01: 5
- 2026-07-31: 18
- 2026-07-30: 6
- 2026-07-28: 42
- 2026-07-27: 42

## Links

- npm package: https://www.npmjs.com/package/@kaditang/402sentinel-mcp
- Socket report: https://socket.dev/npm/package/@kaditang/402sentinel-mcp
- Repository: https://github.com/kaditang/402sentinel-mcp
- Website: https://402sentinel.com/
- Changelog RSS feed: https://verifymcp.io/servers/kaditang-402sentinel-mcp/kaditang-402sentinel-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/kaditang-402sentinel-mcp/kaditang-402sentinel-mcp.json
- HTML version of this page: https://verifymcp.io/servers/kaditang-402sentinel-mcp/kaditang-402sentinel-mcp
