{
  "schema_version": 1,
  "run_id": "diegoperezg7--mcp-guard-scan-claude-haiku-5-5-1795511935243342970",
  "date": "2026-11-24T09:24:41.812935+00:00",
  "repo": "diegoperezg7/mcp-guard-scan",
  "model": "claude-haiku-5-5",
  "kind": "mcp",
  "mcp": "unknown",
  "commit": "ff3641cc9ea97e10deae8a35f5af185f8c9f569d",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 184.027,
  "first_use_s": null,
  "stuck_step": "node dist/cli/index.js scan --stdio 'node dist/examples/poisoned-notes.js' --format markdown",
  "what_failed": "product invocation failed: {\"argv\": [\"node\", \"dist/cli/index.js\", \"scan\", \"--stdio\", \"node dist/examples/poisoned-notes.js\", \"--format\", \"markdown\"], \"returncode\": 1, \"stdout\": \"## mcp-guard report\\n\\",
  "suggested_fix": "None required.",
  "what_it_did": "Scan an MCP server for security findings with the mcp-guard CLI (scan --stdio) from a clone",
  "needs": [
    "credentials"
  ],
  "needs_which": "an account or key",
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Scans an MCP server for poisoning, shadowing and weak transports",
      "source": "**Security scanner for MCP servers.** Finds tool poisoning, tool shadowing, excessive permissions, leaked secrets and weak transports before an agent connects, and fails CI when it does.",
      "input": "poisoned-notes demo server over stdio",
      "expected": "scan reports findings",
      "command": "node dist/cli/index.js scan --stdio 'node dist/examples/poisoned-notes.js' --format markdown",
      "verdict": "blocked",
      "outcome": "Probe stopped at a missing prerequisite: …7 findings.\n\n| Severity | Count |\n| --- | ---: |\n| critical | 3 |\n| high | 2 |\n| medium | 1 |\n| low | 1 |\n| info | 0 |\n\n### Servers\n\n| Server | Source | Tools | Resources | Prompts |\n| --- | --- | ---: | ---: | ---: |\n| `poisoned-notes` | `stdio: node dist/examples/poisoned-notes.js` | 4 | 1 | 0 |\n\n### Findings\n\n| Severity | Rule | Location | Finding |\n| --- | --- | --- | --- |\n| critical | [MCPG-003](https://github.com/diegoperezg7/mcp-guard-scan/blob/main/docs/rules.md#mcpg-003) | `poisoned-notes / tool add_note (description)` | Possible exfiltration: reference to a credential file. |\n| crit",
      "evidence": "…7 findings.\n\n| Severity | Count |\n| --- | ---: |\n| critical | 3 |\n| high | 2 |\n| medium | 1 |\n| low | 1 |\n| info | 0 |\n\n### Servers\n\n| Server | Source | Tools | Resources | Prompts |\n| --- | --- | ---: | ---: | ---: |\n| `poisoned-notes` | `stdio: node dist/examples/poisoned-notes.js` | 4 | 1 | 0 |\n\n### Findings\n\n| Severity | Rule | Location | Finding |\n| --- | --- | --- | --- |\n| critical | [MCPG-003](https://github.com/diegoperezg7/mcp-guard-scan/blob/main/docs/rules.md#mcpg-003) | `poisoned-notes / tool add_note (description)` | Possible exfiltration: reference to a credential file. |\n| crit",
      "hardware_prerequisite": null,
      "returncode": 1,
      "stdout": ".\n\n**Remediation.** Allowlist the hosts the tool may reach (enum or pattern in the schema, and the same check on the server). Block private, loopback and link-local ranges after DNS resolution.\n\n</details>\n\n<details><summary><strong>LOW</strong> MCPG-025 Tool declares no behaviour annotations: <code>tool share&#95;note &#40;annotations&#41;</code></summary>\n\nTool \"share\\_note\" has no readOnlyHint or destructiveHint.\n\n**Remediation.** Annotate every tool. A read-only lookup: readOnlyHint: true. Anything with side effects: readOnlyHint: false plus destructiveHint and idempotentHint.\n\n</details>\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "It inspects a server before use and does not act as a runtime proxy",
      "source": "**It is not a sandbox or a runtime proxy.** It inspects a server before use; it does not sit between the client and the server and cannot block a call in production.",
      "input": "poisoned-notes demo server over stdio",
      "expected": "scan reports findings",
      "command": "node dist/cli/index.js scan --stdio 'node dist/examples/poisoned-notes.js' --format markdown",
      "verdict": "blocked",
      "outcome": "Probe stopped at a missing prerequisite: …7 findings.\n\n| Severity | Count |\n| --- | ---: |\n| critical | 3 |\n| high | 2 |\n| medium | 1 |\n| low | 1 |\n| info | 0 |\n\n### Servers\n\n| Server | Source | Tools | Resources | Prompts |\n| --- | --- | ---: | ---: | ---: |\n| `poisoned-notes` | `stdio: node dist/examples/poisoned-notes.js` | 4 | 1 | 0 |\n\n### Findings\n\n| Severity | Rule | Location | Finding |\n| --- | --- | --- | --- |\n| critical | [MCPG-003](https://github.com/diegoperezg7/mcp-guard-scan/blob/main/docs/rules.md#mcpg-003) | `poisoned-notes / tool add_note (description)` | Possible exfiltration: reference to a credential file. |\n| crit",
      "evidence": "…7 findings.\n\n| Severity | Count |\n| --- | ---: |\n| critical | 3 |\n| high | 2 |\n| medium | 1 |\n| low | 1 |\n| info | 0 |\n\n### Servers\n\n| Server | Source | Tools | Resources | Prompts |\n| --- | --- | ---: | ---: | ---: |\n| `poisoned-notes` | `stdio: node dist/examples/poisoned-notes.js` | 4 | 1 | 0 |\n\n### Findings\n\n| Severity | Rule | Location | Finding |\n| --- | --- | --- | --- |\n| critical | [MCPG-003](https://github.com/diegoperezg7/mcp-guard-scan/blob/main/docs/rules.md#mcpg-003) | `poisoned-notes / tool add_note (description)` | Possible exfiltration: reference to a credential file. |\n| crit",
      "hardware_prerequisite": null,
      "returncode": 1,
      "stdout": ".\n\n**Remediation.** Allowlist the hosts the tool may reach (enum or pattern in the schema, and the same check on the server). Block private, loopback and link-local ranges after DNS resolution.\n\n</details>\n\n<details><summary><strong>LOW</strong> MCPG-025 Tool declares no behaviour annotations: <code>tool share&#95;note &#40;annotations&#41;</code></summary>\n\nTool \"share\\_note\" has no readOnlyHint or destructiveHint.\n\n**Remediation.** Annotate every tool. A read-only lookup: readOnlyHint: true. Anything with side effects: readOnlyHint: false plus destructiveHint and idempotentHint.\n\n</details>\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Text rules are heuristics that can miss or false-positive",
      "source": "**Text rules are heuristics.** Instructions phrased in a way no pattern anticipates, in another language, or split across several fields will be missed; ordinary documentation can occasionally match. Each rule documents what it looks for so a finding can be judged quickly.",
      "input": "poisoned-notes demo server over stdio",
      "expected": "scan reports findings",
      "command": "node dist/cli/index.js scan --stdio 'node dist/examples/poisoned-notes.js' --format markdown",
      "verdict": "blocked",
      "outcome": "Probe stopped at a missing prerequisite: …7 findings.\n\n| Severity | Count |\n| --- | ---: |\n| critical | 3 |\n| high | 2 |\n| medium | 1 |\n| low | 1 |\n| info | 0 |\n\n### Servers\n\n| Server | Source | Tools | Resources | Prompts |\n| --- | --- | ---: | ---: | ---: |\n| `poisoned-notes` | `stdio: node dist/examples/poisoned-notes.js` | 4 | 1 | 0 |\n\n### Findings\n\n| Severity | Rule | Location | Finding |\n| --- | --- | --- | --- |\n| critical | [MCPG-003](https://github.com/diegoperezg7/mcp-guard-scan/blob/main/docs/rules.md#mcpg-003) | `poisoned-notes / tool add_note (description)` | Possible exfiltration: reference to a credential file. |\n| crit",
      "evidence": "…7 findings.\n\n| Severity | Count |\n| --- | ---: |\n| critical | 3 |\n| high | 2 |\n| medium | 1 |\n| low | 1 |\n| info | 0 |\n\n### Servers\n\n| Server | Source | Tools | Resources | Prompts |\n| --- | --- | ---: | ---: | ---: |\n| `poisoned-notes` | `stdio: node dist/examples/poisoned-notes.js` | 4 | 1 | 0 |\n\n### Findings\n\n| Severity | Rule | Location | Finding |\n| --- | --- | --- | --- |\n| critical | [MCPG-003](https://github.com/diegoperezg7/mcp-guard-scan/blob/main/docs/rules.md#mcpg-003) | `poisoned-notes / tool add_note (description)` | Possible exfiltration: reference to a credential file. |\n| crit",
      "hardware_prerequisite": null,
      "returncode": 1,
      "stdout": ".\n\n**Remediation.** Allowlist the hosts the tool may reach (enum or pattern in the schema, and the same check on the server). Block private, loopback and link-local ranges after DNS resolution.\n\n</details>\n\n<details><summary><strong>LOW</strong> MCPG-025 Tool declares no behaviour annotations: <code>tool share&#95;note &#40;annotations&#41;</code></summary>\n\nTool \"share\\_note\" has no readOnlyHint or destructiveHint.\n\n**Remediation.** Annotate every tool. A read-only lookup: readOnlyHint: true. Anything with side effects: readOnlyHint: false plus destructiveHint and idempotentHint.\n\n</details>\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Quickstart: scan a JSON tools/list export",
      "source": "README.md",
      "input": "examples/exports/mail-server.json",
      "command": "node dist/cli/index.js scan --json examples/exports/mail-server.json --format markdown",
      "evidence": "## mcp-guard report\n\nScanned 1 server with mcp-guard 1.1.1 in 48 ms. No findings.\n\n| Severity | Count |\n| --- | ---: |\n| critical | 0 |\n| high | 0 |\n| medium | 0 |\n| low | 0 |\n| info | 0 |\n\n### Servers\n\n| Server | Source | Tools | Resources | Prompts |\n| --- | --- | ---: | ---: | ---: |\n| `mail` | `json: examples/exports/mail-server.json` | 2 | 0 | 0 |",
      "deferred": false,
      "expected": "No findings on the mail export",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "## mcp-guard report\n\nScanned 1 server with mcp-guard 1.1.1 in 48 ms. No findings.\n\n| Severity | Count |\n| --- | ---: |\n| critical | 0 |\n| high | 0 |\n| medium | 0 |\n| low | 0 |\n| info | 0 |\n\n### Servers\n\n| Server | Source | Tools | Resources | Prompts |\n| --- | --- | ---: | ---: | ---: |\n| `mail` | `json: examples/exports/mail-server.json` | 2 | 0 | 0 |\n",
      "stderr": "",
      "output_truncated": false,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected README.md and src/cli/index.ts entrypoints: mcp-guard is a one-shot scanner (scan command) and an MCP stdio server (serve); no cron, loop, watch, webhook, --once or --now trigger is documented.",
      "evidence": "Inspected README.md and src/cli/index.ts entrypoints: mcp-guard is a one-shot scanner (scan command) and an MCP stdio server (serve); no cron, loop, watch, webhook, --once or --now trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "ff3641cc9ea97e10deae8a35f5af185f8c9f569d",
    "ci_read_at": "2026-11-15T20:42:35Z",
    "ci_state": "SUCCESS",
    "commits_90d": 34,
    "last_commit_at": "2026-11-04T11:26:15Z",
    "last_release_at": "2026-11-04T11:28:26Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 10 days ago; 34 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-04",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "node 22 (v22.23.4, matches .nvmrc and README Node 22+)",
    "npm 10.9.9",
    "python3 3.12.3 (checker only; product is Node)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": null,
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 8 known vulnerability.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "our local network",
        "port": "3401",
        "rule": "blocked",
        "programs": [
          "node"
        ],
        "names": []
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "node"
        ],
        "names": [
          "registry.npmjs.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "@hono/node-server",
        "version": "2.1.5",
        "advisory": "GHSA-jpvv-r467-5p4w"
      },
      {
        "package": "@hono/node-server",
        "version": "2.1.5",
        "advisory": "GHSA-qv5m-9pm6-hqp3"
      },
      {
        "package": "hono",
        "version": "4.13.13",
        "advisory": "GHSA-3gg2-335m-rxc6"
      },
      {
        "package": "hono",
        "version": "4.13.13",
        "advisory": "GHSA-46wx-v44x-9hh2"
      },
      {
        "package": "hono",
        "version": "4.13.13",
        "advisory": "GHSA-4h7h-rv7c-7m2v"
      },
      {
        "package": "hono",
        "version": "4.13.13",
        "advisory": "GHSA-4m76-xfj5-7975"
      },
      {
        "package": "hono",
        "version": "4.13.13",
        "advisory": "GHSA-h7mg-cq63-vhpq"
      },
      {
        "package": "minimatch",
        "version": "10.2.6",
        "advisory": "GHSA-g3hv-75wg-m249"
      }
    ],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 338,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 264,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "@hono/node-server",
          "version": "2.1.5",
          "advisory": "GHSA-jpvv-r467-5p4w"
        },
        {
          "package": "@hono/node-server",
          "version": "2.1.5",
          "advisory": "GHSA-qv5m-9pm6-hqp3"
        },
        {
          "package": "hono",
          "version": "4.13.13",
          "advisory": "GHSA-3gg2-335m-rxc6"
        },
        {
          "package": "hono",
          "version": "4.13.13",
          "advisory": "GHSA-46wx-v44x-9hh2"
        },
        {
          "package": "hono",
          "version": "4.13.13",
          "advisory": "GHSA-4h7h-rv7c-7m2v"
        },
        {
          "package": "hono",
          "version": "4.13.13",
          "advisory": "GHSA-4m76-xfj5-7975"
        },
        {
          "package": "hono",
          "version": "4.13.13",
          "advisory": "GHSA-h7mg-cq63-vhpq"
        },
        {
          "package": "minimatch",
          "version": "10.2.6",
          "advisory": "GHSA-g3hv-75wg-m249"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-e729da4ac09735e8107b4bb0371ee8ea5e0c61eaa9d3a890b9f52cc09419dbe8",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "registry.npmjs.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "registry.npmjs.org"
      ],
      "package_registries": [
        "registry.npmjs.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 2
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "partly_checked"
}
