Trust Data
Trust verification for AI packages. Query community trust scores, run security scans on demand, and contribute anonymized findings to the OpenA2A trust registry.
Overview
The OpenA2A trust registry is a community database of security scan results, trust scores, and known advisories for MCP servers, A2A agents, skills, AI tools, and LLMs. The ai-trust CLI queries the registry before a package is installed, runs scans on demand when a package is not yet in the registry, and contributes anonymized results back to the community.
Scope: AI packages only
ai-trust verifies trust for AI-native packages: MCP servers, A2A agents, skills, AI tools, and LLMs. General-purpose libraries (express, lodash, typescript, chalk) are out of scope and route to HackMyAgent instead. Running ai-trust check express on a general-purpose library returns an "out of scope" verdict with a redirect to hackmyagent check express. This is intentional.
| Your package is... | Use |
|---|---|
| MCP server, A2A agent, skill, AI tool, LLM | ai-trust |
| General-purpose library (express, chalk, typescript) | hackmyagent check <pkg> |
| Full codebase security audit | hackmyagent secure . |
ai-trust audit package.json audits AI packages in the trust table and separately lists libraries in an "Out of scope" section with a HackMyAgent pointer.
Query trust data
ai-trust check @modelcontextprotocol/server-filesystemai-trust audit package.jsonai-trust batch @modelcontextprotocol/server-filesystem @modelcontextprotocol/server-postgresEcosystem detection
The audit command parses dependency files for both npm and PyPI. It supports .json (package.json format) and .txt (requirements.txt format), and the ecosystem is detected from the file format. Libraries are partitioned into an "Out of scope" section in either case.
ai-trust audit package.jsonai-trust audit requirements.txtai-trust audit package.json --min-trust 2MCP server shorthand
A server-* name resolves to @modelcontextprotocol/server-*, so server-filesystem and @modelcontextprotocol/server-filesystem are equivalent. Third-party mcp-server-* packages are looked up by their actual name and do not resolve to the @modelcontextprotocol scope.
ai-trust check server-filesystemai-trust check mcp-server-kubernetesai-trust check @supabase/mcp-server-supabaseScan on demand
When a package is not in the registry, ai-trust can download and scan it locally using HackMyAgent. In interactive mode, ai-trust prompts before scanning. In CI, use the flags below to control the behavior without a prompt. Local scans run HackMyAgent with NanoMind semantic analysis enabled by default; pass --no-deep for static-only.
ai-trust check mcp-server-xyz --scan-if-missing --contributeai-trust check server-filesystem --no-scanai-trust audit package.json --scan-missing --contributeai-trust check express --json| Flag | When it applies |
|---|---|
| --scan-if-missing | CI flag for check. Scans a package locally when it is not in the registry, without prompting. |
| --scan-missing | For audit. Scans unknown AI packages found in the dependency file. |
| --contribute | Shares the scan result as anonymized telemetry for this run. Useful in non-interactive or CI contexts. |
| --no-scan | Disables scanning entirely. Registry lookup only. |
| --no-deep | Runs a local scan static-only, with NanoMind semantic analysis off. |
| --json | Emits JSON output for scripting. Available on check and audit. |
Trust levels
| Level | Label | Description |
|---|---|---|
| 0 | Blocked | Package is blocked due to security concerns |
| 1 | Warning | Package has known issues |
| 2 | Listed | Package is listed but not yet scanned |
| 3 | Scanned | Package has been scanned by HackMyAgent |
| 4 | Verified | Package is verified by the publisher |
Contribute scan results
Every scan can improve trust data for the community. Scan results are shared as anonymized telemetry: check pass/fail and severity only. No file paths, source code, or descriptions. On the first scan, ai-trust asks whether to contribute, and the choice is saved in ~/.opena2a/config.json and shared across the OpenA2A tools (opena2a-cli, hackmyagent). More scans contributed means packages move from "Listed" to "Scanned" faster.
ai-trust check chalk --contributeopena2a config set contribute trueopena2a config set contribute falseUsing with opena2a-cli
opena2a-cli is the unified CLI for the OpenA2A security toolchain. ai-trust powers opena2a trust.
npm install -g opena2a-cliopena2a trust @modelcontextprotocol/server-filesystemopena2a reviewFor the full ai-trust CLI reference and installation guide, see the ai-trust tool page.