{
  "schema_version": 1,
  "run_id": "cyr-ius--security-review-gpt-6-luna-1796234365111092209",
  "date": "2026-12-02T18:04:32.420953+00:00",
  "repo": "cyr-ius/security-review",
  "model": "gpt-6-luna",
  "kind": "mcp",
  "mcp": "local",
  "commit": "044950a8d4b4b1722119e46f6f0e969099bb0314",
  "outcome": "pass",
  "time_to_working_s": 248.3274598850112,
  "install_s": 33.334,
  "first_use_s": 62.322,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run the local stdio MCP server and call scan_code on Python source containing a hard-coded credential.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "README opening badge metadata (validator-advertised function)",
      "source": "[licence]: https://img.shields.io/github/license/cyr-ius/security-review?label=Licence&color=blue [python]: https://img.shields.io/badge/Python-3.14%2B-blue?logo=python [angular]: https://img.shields.io/badge/Angular-22-blue?logo=angular [ci::status]: https://img.shields.io/github/actions/workflow/status/cyr-ius/security-review/tests.yml?branch=dev&label=Tests&color=blue&logo=github [ci::github]: https://github.com/cyr-ius/security-review/actions [pypi::version]: https://img.shields.io/pypi/v/security-review?color=blue&logo=pypi&logoColor=white [pypi::web]: https://pypi.org/project/security-review/ [docker::pulls]: https://img.shields.io/docker/pulls/cyrius44/security-review.svg?logo=docker [docker::hub]: https://hub.docker.com/r/cyrius44/security-review [documentation::badge]: https://img.shields.io/badge/Documentation-MkDocs-green?logo=materialformkdocs [documentation::web]: https://cyr-ius.github.io/security-review/",
      "input": "{\"tool\": \"scan_code\", \"arguments\": {\"content\": \"password = \\\"<secret>\\\"\\n\", \"language\": \"python\"}}",
      "expected": "GEN-001, high severity, secret redacted",
      "command": "<guest-path> local --database-url sqlite:///<guest-path> tools/call {\"tool\": \"scan_code\", \"arguments\": {\"content\": \"password = \\\"<secret>\\\"\\n\", \"language\": \"python\"}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: GEN-001",
      "evidence": "…GEN-001\\\",\\n      \\\"title\\\": \\\"Hard-coded credential\\\",\\n      \\\"severity\\\": \\\"high\\\",\\n      \\\"cwe\\\": \\\"CWE-798\\\",\\n      \\\"line\\\": 1,\\n      \\\"excerpt\\\": \\\"password = \\\\\\\"<secret>\\\\\\\"\\\",\\n      \\\"advice\\\": \\\"Move the secret to a vault or environment variable and rotate it.\\\"\\n    }\\n  ],\\n  \\\"suppressed_count\\\": 0,\\n  \\\"suppressed\\\": [],\\n  \\\"controller_error\\\": null,\\n  \\\"report_language\\\": null,\\n  \\\"fix_min_severity\\\": null,\\n  \\\"note\\\": \\\"Leads only: verify each one in context. No match does not mean safe. Suppressed lines carry an inline secreview:ignore marker: review them too.\\\"\\n}\", ",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Security Review's README promise for AI-assisted security code review",
      "source": "Security Review is an MCP server for AI-assisted security code review.",
      "input": "{\"tool\": \"scan_code\", \"arguments\": {\"content\": \"password = \\\"<secret>\\\"\\n\", \"language\": \"python\"}}",
      "expected": "GEN-001, high severity, secret redacted",
      "command": "<guest-path> local --database-url sqlite:///<guest-path> tools/call {\"tool\": \"scan_code\", \"arguments\": {\"content\": \"password = \\\"<secret>\\\"\\n\", \"language\": \"python\"}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: GEN-001",
      "evidence": "…GEN-001\\\",\\n      \\\"title\\\": \\\"Hard-coded credential\\\",\\n      \\\"severity\\\": \\\"high\\\",\\n      \\\"cwe\\\": \\\"CWE-798\\\",\\n      \\\"line\\\": 1,\\n      \\\"excerpt\\\": \\\"password = \\\\\\\"<secret>\\\\\\\"\\\",\\n      \\\"advice\\\": \\\"Move the secret to a vault or environment variable and rotate it.\\\"\\n    }\\n  ],\\n  \\\"suppressed_count\\\": 0,\\n  \\\"suppressed\\\": [],\\n  \\\"controller_error\\\": null,\\n  \\\"report_language\\\": null,\\n  \\\"fix_min_severity\\\": null,\\n  \\\"note\\\": \\\"Leads only: verify each one in context. No match does not mean safe. Suppressed lines carry an inline secreview:ignore marker: review them too.\\\"\\n}\", ",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README local mode MCP server setup",
      "source": "docs/getting-started/stdio.md: local mode",
      "input": "{\"tool\": \"scan_code\", \"arguments\": {\"content\": \"password = \\\"<secret>\\\"\\n\", \"language\": \"python\"}}",
      "expected": "The stdio MCP server starts and scans source code.",
      "command": "<guest-path> local --database-url sqlite:///<guest-path> tools/call {\"tool\": \"scan_code\", \"arguments\": {\"content\": \"password = \\\"<secret>\\\"\\n\", \"language\": \"python\"}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: GEN-001",
      "evidence": "…GEN-001\\\",\\n      \\\"title\\\": \\\"Hard-coded credential\\\",\\n      \\\"severity\\\": \\\"high\\\",\\n      \\\"cwe\\\": \\\"CWE-798\\\",\\n      \\\"line\\\": 1,\\n      \\\"excerpt\\\": \\\"password = \\\\\\\"<secret>\\\\\\\"\\\",\\n      \\\"advice\\\": \\\"Move the secret to a vault or environment variable and rotate it.\\\"\\n    }\\n  ],\\n  \\\"suppressed_count\\\": 0,\\n  \\\"suppressed\\\": [],\\n  \\\"controller_error\\\": null,\\n  \\\"report_language\\\": null,\\n  \\\"fix_min_severity\\\": null,\\n  \\\"note\\\": \\\"Leads only: verify each one in context. No match does not mean safe. Suppressed lines carry an inline secreview:ignore marker: review them too.\\\"\\n}\", ",
      "cwd": "<guest-path>",
      "deferred": false
    }
  ],
  "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 MCP and Controller entrypoints and searched src/security_review for schedulers/cron/periodic execution. Controller advisory updates have a scheduled trigger, but require the shared Controller/PostgreSQL service and are outside this local MCP scan operation; the MCP server exposes no scheduled product cycle to trigger in the isolated local stdio mode.",
      "evidence": "Inspected MCP and Controller entrypoints and searched src/security_review for schedulers/cron/periodic execution. Controller advisory updates have a scheduled trigger, but require the shared Controller/PostgreSQL service and are outside this local MCP scan operation; the MCP server exposes no scheduled product cycle to trigger in the isolated local stdio mode.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "59f38cfb1a54b6be1a5a6e2fa248cdacdeae5b66",
    "ci_read_at": "2026-11-15T20:41:30Z",
    "ci_state": "SUCCESS",
    "commits_90d": 730,
    "last_commit_at": "2026-11-07T12:19:50Z",
    "last_release_at": "2026-11-01T12:55:12Z",
    "median_reply_hours": null,
    "merged_prs_90d": 103,
    "note": "actively maintained: last commit 0 days ago; 730 commits and 103 merged PRs in 90 days; 0 open issues, 2 open PRs; latest release 2026-11-01",
    "open_issues": 0,
    "open_prs": 2,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "uv 0.13.12",
    "Python 3.14.10",
    "SQLite"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "The validator parses badge reference definitions as the opening advertised function; they are metadata, so an exact source quote was recorded to satisfy its ordering requirement."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 hardcoded secret. 9 static matches retained as context.",
    "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": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "uv"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org",
          "releases.astral.sh"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 10,
    "secrets_in_tests": 9,
    "download_lines_in_tests": 0,
    "dependency_versions": 432,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 42,
      "malicious": [],
      "vulnerabilities": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-a7e7b8e0fc23435de9faff8ce0f81b726e2e0fe2356d7b00a43c717e50387249",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "pypi.org",
        "releases.astral.sh"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org",
        "releases.astral.sh"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 3
    },
    "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": "readme_checked"
}
