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

INAM Protocol

Latest version: v0.6.2

Overview

Last scanned
27 Nov 2026
Published
25 Nov 2026
MCP server Transport: stdio Publisher: inamprotocol
3 Stars
1 Forks
3 Versions
TypeScript Repo language

Scan summary

INAM Protocol was last scanned on 27 Nov 2026 at version 0.6.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 25 Nov 2026.
  • Findings: No rules fired in version 0.6.2.
  • MCP server: Runs over stdio.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.6.2 LATEST 25 Nov 2026 No rules fired
0.6.1 17 Nov 2026 No rules fired
0.6.0 10 Oct 2026 No rules fired

No rules fired in 0.6.2

Findings

Findings for v0.6.2. 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.6.2; other versions have their own rules, not their own score.

README

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

Inam Protocol Registry

spec npm PyPI npm CI License

Check who your agent is about to pay, before it pays. Free, no signup, no key. Pick one:

curl "https://api.inamprotocol.org/v1/check?target=https://x402.coinstats.app/markets"
npx inamprotocol check https://x402.coinstats.app/markets
claude mcp add --transport http inam https://api.inamprotocol.org/mcp

Each one looks up the seller's payment details, wallet history and domain age, then answers pass, caution or fail. Swap in any web address, 0x wallet or did:key. Python: python -m inamprotocol check <target> (from sdk-python).

More ways in

Local demo. An x402 payment only goes out if the payee's INAM ID proved control of the payTo wallet and has work a real counterparty countersigned; a server that borrows a reputable agent's ID gets nothing (recording below, runnable under Try it).

The command line reads the 402 (payTo, network, price), looks the payTo up in ERC-8004 (identity and whether any feedback is tied to delivered work), the INAM registry, the host's Web Bot Auth key directory and the domain's RDAP age, and prints what it found. Exit code 1 when a key check fails, so it can gate a payment or a CI step. Details: sdk-js/README.md. The same check is also the MCP tool inam_check and the A2A skill check. The API answer adds a next step and cachedAt (cached 10 minutes).

Badge for sellers. Show buyers your pre-payment verdict in your README (grey unknown when the target is invalid):

![INAM](https://api.inamprotocol.org/v1/badge?target=https://your-api.example/endpoint)

GitHub Action. Gate a workflow on the same check (composite action, calls the free hosted /v1/check with curl and jq, read-only, no secrets):

- id: inam
  uses: inamprotocol/inam-protocol/actions/check@v1
  with:
    target: https://x402.coinstats.app/markets   # x402 URL, 0x wallet or did:key
    fail-on: fail                                # or "caution" to be stricter
- run: echo "verdict ${{ steps.inam.outputs.verdict }}"

Output verdict is pass, caution or fail (error when the API could not be reached or answered 4xx/5xx; an error never passes). The job summary lists every check. The step exits 1 when the verdict meets fail-on, 2 on an error. Optional api-base points at a self-hosted registry. Details: actions/check/README.md. Test: node actions/check/test.mjs.

/v1/check stays free. GET https://api.inamprotocol.org/v1/x402/check is its paid twin over x402 (0.02 USDC on Base, listed in x402 Bazaars) for agents that shop there: same parameters, same answer. Payment never changes a verdict or a score (GOVERNANCE: scores are not for sale). Send INAM-Requester: <your did:key> and the response carries an INAM-Receipt you can countersign (SPEC §15; inamFetch does it for you).

Try it (one command, local, no real money, no signup):

git clone https://github.com/inamprotocol/inam-protocol && cd inam-protocol
npm install && npm --prefix sdk-js install
npm run demo:x402

Give your own agent an identity and its first countersigned receipt, in about a minute, against the live registry. The registry's demo agent is the other party (SPEC §14; demo receipts never count toward reputation):

npm i inamprotocol
curl -sO https://raw.githubusercontent.com/inamprotocol/inam-protocol/main/examples/quickstart.mjs && node quickstart.mjs

The key is saved to ./inam-agent.key and reused on later runs; that keypair is your agent's identity (a did:key), there is no signup.

Check any agent's reputation, no install and no key (this is a maintainer-run reference agent):

curl -s https://api.inamprotocol.org/v1/agents/did:key:z6MkjE6iZEFoKkBoxR3QygfWaFUkLUUkj1ry527tUWQB8Gpk/reputation

evidenceLevel says how much to believe trustScore: none, countersigned (both parties signed), or independently_verified. Browse agents in the explorer.

In your own agent it is one wrapper around fetch: withInamX402Gate(fetch, client, { minEvidence: "countersigned" }) (TypeScript SDK, examples/x402-verify-before-pay.ts, SPEC §11.2). The thresholds are yours; checkTrust() gives the same allow / escrow / deny decision outside x402.

Underneath, INAM is an open record of agent work: both sides sign a receipt for every finished job, and reputation is computed only from those receipts. INAM is not an agent communication protocol (that's MCP/A2A), not an identity or authorization replacement (that's AgentPass/AITP/Passport Alliance/DID), and not an agent runtime — it's the neutral record of "this work actually happened between these two agents, and here's their evidence-based track record." Full specification: SPEC.md, also readable at docs.inamprotocol.org alongside an interactive API reference generated from openapi.yaml (source in docs-site/).

Why this exists

A 2026 empirical study of ERC-8004, the Ethereum agent-reputation standard (arXiv 2606.26028), found that 95–100% of its feedback was tied to no task and no payment, and that 59–91% of reviewers showed coordinated Sybil behavior. Its conclusion was that the registry "cannot function as a reliable trust signal." Anyone can post a score, so scores mean little.

INAM has no free-standing score to post. Every trust signal is built from evidence:

  1. Two-party signed receipts. An agent's reputation comes only from Execution Receipts that both parties signed, each naming a job, a spec hash, and an output hash. The receipt ID is the hash of its content, so it can't be edited afterward.
  2. Sybil-discounted scoring. Counterparties are weighted by their own trust, repeat pairs count sub-linearly, and old history decays. Throwaway identities vouching for each other don't move the score.
  3. Operator-authorized verifiers. Independent attestations count only from verifiers the registry operator explicitly granted (no self-service). A rejected verdict scores as a failure. Every reputation reports its evidenceLevel: none, countersigned, or independently_verified. The maintainers run a live integrity verifier against the public registry every hour.
  4. Tamper-evident history. Every finalized receipt is appended to an RFC 6962-style Merkle transparency log. An external monitor checks each new tree head for consistency every hour, and its history is public on the monitor-state branch.

INAM composes with ERC-8004 rather than competing with it at the identity layer: an ERC-8004 identity can be linked to an INAM ID with a standard wallet signature (SPEC §11.1).

What these defences do not cover is listed in THREAT-MODEL.md. Who decides what, and what the public registry's operator commits to, is in GOVERNANCE.md.

This repository

This directory is the Node/TypeScript reference implementation: Express registry server, did:key identity, sybil-resistant reputation engine, and the InamClient SDK. The SDK itself is published standalone as inamprotocol (source in sdk-js/ — the exact code this server and the Worker deployment import, not a separate build). A parity Python SDK is published as inamprotocol on PyPI (source in sdk-python/). Node 22 — zero native dependencies (pure-JS crypto and the built-in node:sqlite store), so npm install never needs a C++ toolchain.

Run it

New here? Pick your role on the quickstart page (buyer, seller, agent developer), or start with QUICKSTART.md — zero to a real, changed reputation score in about two minutes, against the live registry.

Self-host with Docker
git clone https://github.com/inamprotocol/inam-protocol && cd inam-protocol
docker compose up -d     # registry on http://localhost:4021, data in the inam-data volume

Point any SDK at http://localhost:4021 instead of the live API. Set INAM_OPERATOR_DID (a did:key) in the environment before up if you want to grant verifier status (SPEC §12.3); left unset, nobody can. docker compose down -v wipes the data.

Running a private registry for your team's own agents (prebuilt image, backups, explorer, private receipts): SELF-HOSTING.md.

From source

sdk-js is a separate nested package that this server imports directly by relative path (see "What's here" below), so it needs its own npm install too — see CONTRIBUTING.md if npm run dev fails with a missing-module error.

npm install
cd sdk-js && npm install && cd ..
npm run dev      # starts the API on http://localhost:4021
npm run demo     # in another terminal: registers two agents, links an external
                  # identity, runs two jobs end to end, prints the resulting
                  # reputation
npm test         # canonical-JSON, did:key/signing, and receipt-lifecycle tests

Data is persisted to data/registry.db (SQLite, gitignored). Delete that folder to reset the registry to empty. Tests never touch it — they run against a fresh temp directory (see tests/setupEnv.ts).

Cross-language interop demo
bash scripts/run-interop-demo.sh

Registers a TypeScript-side "requester" and a Python-side "worker" (see sdk-python/) against the same live server, has the Python worker submit two signed Execution Receipt drafts, has the TypeScript requester countersign them, and prints the worker's resulting reputation. This is the real end-to-end proof that the protocol — not just one SDK — works: the server verifies Python-produced Ed25519 signatures, and both SDKs agree byte-for-byte on canonical JSON. See sdk-python/tests/test_interop.py for the same guarantee as a fast, no-server-required unit test.

Interop fixtures with neighboring protocols
  • interop/emilia/: an EMILIA Gate-admitted action, copied unchanged from EMILIA's repo, and an INAM receipt whose task.specHash is the SHA-256 of that action's canonical bytes, with a one-byte negative case. node interop/emilia/verify.mjs checks both signatures and the binding offline, using only Node built-ins.
  • agent-receipt-verify (holistis): independent verifier of interop/countersigned receipts, written from SPEC.md; 4 of 4 countersigned cases at d5e5f45, 10 of 10 interop/canonical at d4a2940. Checks the form of a receipt, not whether an operator is honest. See docs/VERIFIER.md section 4.
  • examples/agent-receipts-adapter.ts: an Agent Receipts local receipt becomes an INAM draft signed with the same Ed25519 key. It becomes reputation-eligible only after the requester countersigns.
  • docs/VERIFIER.md: running an independent verifier: which checks are deterministic, how to ask for authority, and a ten-line offline receipt check (examples/verify-receipt-offline.ts). Payment-side examples: examples/stripe-x402/ (inam check on an x402 payTo) and examples/webhook/ (check the buyer agent in a payment webhook, record a signed receipt).

Live deployment

worker/ is a second, independent implementation of the same API surface — Hono + Cloudflare D1 (SQL) + KV (idempotency cache), deployed to Cloudflare Workers — kept behaviorally identical to the Node reference server (same routes, same signature scheme, same reputation math; verified by running the demo and smoke-test scripts against both and diffing the output). It reuses sdk-js/src/crypto/ and sdk-js/src/core/receiptContent.ts unchanged rather than re-implementing them, so the cryptographic core has exactly one source of truth across all three runtimes (Node, Workers, Python).

Currently live at https://api.inamprotocol.org (custom domain, bound via worker/wrangler.jsonc; the *.workers.dev URL still works too as a fallback).

Hosted MCP usage (live)

Daily sessions on https://api.inamprotocol.org/mcp, stacked by client (Claude Desktop, Claude Code, Claude remote sessions, claude.ai, other), and tool calls, rendered live by the Worker. A session is not a person.

How the numbers are made. The chart has three kinds of days, and each is drawn differently so they are never mixed up.

Why the days before 2026-11-10 are estimates, and what they are inferred from. The Worker had no usage counter before 2026-11-10, so no system counted sessions on those days. The only record of the traffic is Cloudflare's, which sits in front of the Worker and logs every HTTP request, but it records requests and responses, not sessions. The estimate infers sessions from that log in four steps:

  1. Source. Cloudflare's GraphQL Analytics API, dataset httpRequestsAdaptiveGroups, for host api.inamprotocol.org and path /mcp, one query per UTC day.
  2. The response that marks a session. In the MCP Streamable HTTP transport, a client opens a session with initialize and then sends exactly one notifications/initialized. A notification gets no JSON-RPC reply, so the server answers it with HTTP 202 Accepted. The initialize itself and every tool call get 200. So the number of 202 responses on /mcp is, to a close approximation, the number of sessions opened.
  3. Clients on the newer protocol. In this period, clients that tried the 2026-07-28 protocol first were answered 400 and then fell back to initialize, so their sessions also produced one 202 each and are included.
  4. Client family. Each row is grouped by User-Agent, which is mapped to a family (claude-desktop, claude-remote, claude-code, claude-ai, other) with the same rules as the live counter (clientFamily() in worker/src/mcpUsage.ts). Only the per-family totals are kept.

The result is an indirect measure, so these days are marked estimated in the data and drawn lighter, and the Limits below say how they can be off. From 2026-11-12 the counter and the Cloudflare log cover the same days, so the estimate can be checked against a direct count for clients that still use initialize.

Live check

Not yet probed. This server declares a remote endpoint but we have not observed it, so nothing below is known either way.

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

  • GitHub io.github.inamprotocol/inam-mcp
  • MCP Registry io.github.inamprotocol/inam-mcp

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229