Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Rohan Protocol MCP

Latest version: v0.8.3

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
MCP server Transport: stdio Publisher: rohan-protocol
8 Stars
0 Forks
4 Versions
TypeScript Repo language

Scan summary

Rohan Protocol MCP was last scanned on 24 Nov 2026 at version 0.8.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest 2 were published within 4 days (21–24 Nov 2026).
  • Findings: No rules fired in version 0.8.3.
  • MCP server: Runs over stdio.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.3 LATEST 24 Nov 2026 No rules fired
0.8.2 21 Nov 2026 No rules fired
0.8.1 8 Nov 2026 No rules fired
0.8.0 7 Nov 2026 Not shown

No rules fired in 0.8.3

Findings

Findings for v0.8.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.8.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Rohan Protocol (v0.8.3)

NPM Version License: Apache 2.0 Midnight Network

The Sovereign Privacy & Settlement Layer for Autonomous AI Agents on the Midnight Blockchain.

Rohan Protocol equips autonomous AI agents with zero-knowledge intent commitments, confidential state transitions, and a complete, verifiable audit lifecycle. Sensitive parameters (budgets, vendor contracts, PII) are strictly canonicalized (RFC 8785) and hashed in client RAM—never exposed on-chain or leaked in LLM context windows.


🔄 The Closed-Loop Multi-Agent Architecture

Rohan Protocol eliminates the classic "dead-end" MCP agent problem by establishing a complete, multi-turn lifecycle between coordinating agents:

┌───────────────────┐   ┌───────────────────┐   ┌───────────────────┐   ┌───────────────────┐
│    Agent Alpha    │   │    Agent Beta     │   │    Agent Beta     │   │    Agent Beta     │
│ (State Mutation)  │   │ (State Inspection)│   │ (History Review)  │   │ (Agreement Audit) │
└─────────┬─────────┘   └─────────┬─────────┘   └─────────┬─────────┘   └─────────┬─────────┘
          │                       │                       │                       │
          │ 1. rohan_execute_handshake│ 2. rohan_get_ledger_state│ 3. rohan_get_transaction_history│ 4. rohan_verify_commitment
          │    (Confidential Payload)│    (Read Anchored Root) │    (Settlement Receipts) │    (RFC 8785 In-Memory JCS)
          ▼                       ▼                       ▼                       ▼
┌────────────────────────────────────────────────────────────────────────────────────────┐
│                                 Rohan Protocol Relayer                                 │
│                     Midnight Preprod L1 Settlement & Paymaster                         │
└────────────────────────────────────────────────────────────────────────────────────────┘
  • Step 1 — Write (rohan_execute_handshake): Agent Alpha commits an intent. The Relayer verifies proof commitments and anchors the state root on Midnight Preprod L1. The legacy rohan_zk_handshake name remains accepted.
  • Step 2 — Read (rohan_get_ledger_state): Agent Beta inspects the contract's anchored state root, block height, and transaction receipt from cache (0 Gas, \<1 ms).
  • Step 3 — History (rohan_get_transaction_history): Agent Beta lists recorded settlement transactions and receipts (0 Gas).
  • Step 4 — Verify (rohan_verify_commitment): Agent Beta checks plaintext against its canonical SHA-256 payload digest in local RAM (0 Gas). This is the inner payload digest, not the outer on-chain intentHash.

🛠️ The 5 MCP Tools

Tool Category Gas Cost Latency Description
rohan_execute_handshake Mutation / Write Relayer-submitted — Submits a confidential state transition. The legacy rohan_zk_handshake alias is accepted.
rohan_get_ledger_state Inspection / Read Read-only — Reads the contract state root, block height, and last transaction hash.
rohan_get_transaction_history Inspection / Read Read-only — Lists recent settlement transactions and receipts.
rohan_verify_commitment Audit / Verify Local verification — Checks plaintext against the inner payload digest via RFC 8785 JCS + SHA-256, or verifies a RohanAuditBundle.
rohan_get_agent_status Identity / Status Read-only — Reports the configured identity and relayer reachability.

📦 Monorepo Packages

  • @rohan-protocol/sdk: Enterprise Node.js SDK (Node 22 CI-tested) with cryptographic zeroization, RFC 8785 canonicalization, and state inspection. Browser support is not included; isomorphic support is separate R&D for RFC-006 / Midnight Grants Milestone 1.
  • @rohan-protocol/mcp: Official Model Context Protocol (MCP) server for Claude Desktop, Cursor, Cline, and Gemini, with local Ed25519 agent identity and optional agentId inference from its signer.
  • @rohan-protocol/webmcp: Browser-native WebMCP shield with zero-width character sanitization (V-07).

Local commitments and remote transports

With the Local Stdio MCP or SDK, the client computes payloadDigest = SHA-256(UTF-8(JCS(confidentialPayload))) locally, where JCS is RFC 8785 canonical JSON. The sealed action summary contains this inner digest. The outer intentHash is locally computed as SHA-256 over the UTF-8 commitment witness agentId:sealedActionSummary:{}:timestamp; it is not the payload digest. The plaintext confidential payload is not sent to the relayer. dryRun: true previews the signed commitment locally without submitting or producing a txHash.

The separate Remote HTTP MCP at https://api.rohanprotocol.network/mcp runs in a hosted sandbox; do not treat it as equivalent to local processing. Use Local Stdio when the local RAM boundary is required.

The local MCP accepts ROHAN_RELAYER_URL (self-hosted relayer URL), ROHAN_NETWORK (preprod, testnet, or mainnet), ROHAN_CONTRACT_ADDRESS, ROHAN_AGENT_PRIVATE_KEY (64 hex-character seed; use a secret store), and ROHAN_API_KEY. Defaults are supplied for the relayer, network, and contract; an auto-provisioned local identity is used unless the private-key variable is set.

To independently check a returned txHash, query the Midnight Preprod Indexer v4 GraphQL endpoint directly (remove a leading 0x from the hash); this does not rely on Rohan's relayer:

curl -sS -X POST 'https://midnight-preprod.blockfrost.io/api/v0?project_id=<YOUR_BLOCKFROST_TOKEN>' \
  -H 'content-type: application/json' \
  --data '{"query":"{ transactions(offset: { hash: \"<TX_HASH_WITHOUT_0x>\" }) { hash protocolVersion block { height hash } } }"}'

🚀 Quickstart

1. Install SDK
npm install @rohan-protocol/sdk
2. Basic SDK Usage
import { RohanClient, canonicalizeJson } from '@rohan-protocol/sdk';

const client = new RohanClient({
  contractAddress: '585ac0c4448257507d8ffa2a89e2aa00abd86ec9e94bdb6f553bc83e05f4dd0e',
});

// 1. Inspect on-chain state (Read)
const state = await client.getLedgerState();
console.log('Current Root:', state.currentStateRoot, 'Block:', state.blockHeight);

// 2. Submit a confidential handshake (Write)
const receipt = await client.submitHandshake({
  agentId: 'did:midnight:agent-alpha',
  intent: 'Vendor Purchase Order #1042',
  privateData: { budgetUsd: 75000, approvalCode: 'AUTH-99' },
});
console.log('Confirmed TxHash:', receipt.txHash);

// 3. Verify plaintext commitment locally (Verify)
const audit = await client.verifyCommitment(
  { budgetUsd: 75000, approvalCode: 'AUTH-99' },
  receipt.intentHash
);
console.log('Cryptographic match?', audit.valid);

🛡️ Security & Zero-Trust Principles

  • RFC 8785 JSON Canonicalization Scheme (JCS): Deterministic, cross-platform key sorting and whitespace elimination.
  • DoS & ReDoS Guarding: Recursive depth ceiling (max. 32 levels) and RAM payload bounds (max. 256 KB).
  • Zeroize RAM Sanitation: Sensitive witnesses and private keys are scrubbed from RAM immediately after commitment derivation.
  • Optimistic Credit Escrow: Atomic balance reservations prevent concurrent quota-drain exploits.

📜 License

Apache-2.0. Copyright (c) 2026 Rohan Protocol Authors.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.rohan-protocol/mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229