{
  "schema_version": 1,
  "run_id": "marshallguillory86--secure-code-agent-claude-haiku-5-5-1796423905973701199",
  "date": "2026-12-04T22:45:19.241169+00:00",
  "repo": "marshallguillory86/secure-code-agent",
  "model": "claude-haiku-5-5",
  "kind": "mcp",
  "mcp": "local",
  "commit": "010dd80bd7e164dac44702740eb04469d90dcee3",
  "outcome": "pass",
  "time_to_working_s": 368.2382758280146,
  "install_s": 232.665,
  "first_use_s": 25.076,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Install secure-code-agent from PyPI in a venv and run the --demo audit; call audit_repository (action=run) over the secure-code-agent-mcp stdio server on a sample repo",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "README opening description (language bar line) is shown in the README",
      "source": "**English** | [Español](README.es.md) | [Deutsch](README.de.md) | [Français](README.fr.md) | [हिन्दी](README.hi.md) | [简体中文](README.zh-CN.md)",
      "input": "{\"tool\": \"audit_repository\", \"arguments\": {\"path\": \"<guest-path>\", \"action\": \"run\"}}",
      "expected": "audit result with finding count",
      "command": "<guest-path> tools/call {\"tool\": \"audit_repository\", \"arguments\": {\"path\": \"<guest-path>\", \"action\": \"run\"}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: 3 finding(s), none triaged",
      "evidence": "…3 finding(s), none triaged — a starting position, not a grade  ·  gate FAIL\\\"\\n  ],\\n  \\\"work_order\\\": \\\"# Security work order\\\\n\\\\n**3 to fix · 0 to review · 0 suppression candidates.**\\\\n\\\\nWork the tiers in order. Everything in §FIX is a defect the scanner is confident about; everything in §REVIEW needs your judgement before you touch it, and the reason is stated per finding. This is a constrained task, not a refactor.\\\\n\\\\n## Hard constraints — MUST NOT violate\\\\n\\\\n1. Fix only the findings listed. Touch nothing else.\\\\n2. Do not change crypto algorithms, key derivation, IV/nonce, padding ",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Exposes audit_repository, preflight and agent_info over MCP",
      "source": "Exposes `audit_repository`, `preflight` and `agent_info`.",
      "input": "{\"tool\": \"audit_repository\", \"arguments\": {\"path\": \"<guest-path>\", \"action\": \"run\"}}",
      "expected": "audit result with finding count",
      "command": "<guest-path> tools/call {\"tool\": \"audit_repository\", \"arguments\": {\"path\": \"<guest-path>\", \"action\": \"run\"}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: 3 finding(s), none triaged",
      "evidence": "…3 finding(s), none triaged — a starting position, not a grade  ·  gate FAIL\\\"\\n  ],\\n  \\\"work_order\\\": \\\"# Security work order\\\\n\\\\n**3 to fix · 0 to review · 0 suppression candidates.**\\\\n\\\\nWork the tiers in order. Everything in §FIX is a defect the scanner is confident about; everything in §REVIEW needs your judgement before you touch it, and the reason is stated per finding. This is a constrained task, not a refactor.\\\\n\\\\n## Hard constraints — MUST NOT violate\\\\n\\\\n1. Fix only the findings listed. Touch nothing else.\\\\n2. Do not change crypto algorithms, key derivation, IV/nonce, padding ",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "--demo generates a small application with seeded defects and audits it",
      "source": "`--demo` generates a small application carrying seven real defects",
      "input": "--demo",
      "expected": "7 findings on demo tree",
      "command": "<guest-path> --demo",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: 7 finding(s), none triaged",
      "evidence": "…7 finding(s), none triaged — a starting position, not a grade  ·  gate FAIL\n  ! grade withheld: no gates.require_scanners is declared, so no scanner set was asserted to have run\n  ! grade withheld: scanner coverage is partial\n  scanned LOC: 17\n  trend: first scored run: 0.00 (F)\n  dependencies: 1 finding(s), worst informational — reported, not scored\n  scanners run: bandit, builtin_rules, njsscan\n  coverage: PARTIAL\n  unavailable: gitleaks, semgrep, checkov, osv_scanner, rubocop, trivy\n  to resolve:\n    gitleaks: brew install gitleaks, or a pinned release from github.com/gitleaks/gitleaks, or ",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "\n    trivy: brew install trivy, or follow trivy.dev/latest/getting-started/installation, or set scanners.trivy.command to an explicit path, or supply its SARIF via --sarif-import.\n    (or --preflight to check the whole floor before a run)\n  ✗ 7 finding(s), and no baseline exists yet — on a first run everything is new because there is nothing to compare against. Work the order, then re-run with --bump-baseline to accept what is left and gate on regressions from there.\n  wrote: /tmp/secure-code-demo-g203ga9o/secure-code-report.md, /tmp/secure-code-demo-g203ga9o/secure-code-remediation-prompt.md\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "--demo generates a small application carrying seven real defects",
      "source": "README.md",
      "input": "--demo",
      "command": "<guest-path> --demo",
      "evidence": ".\n    trivy: brew install trivy, or follow trivy.dev/latest/getting-started/installation, or set scanners.trivy.command to an explicit path, or supply its SARIF via --sarif-import.\n    (or --preflight to check the whole floor before a run)\n  ✗ 7 finding(s), and no baseline exists yet — on a first run everything is new because there is nothing to compare against. Work the order, then re-run with --bump-baseline to accept what is left and gate on regressions from there.\n  wrote: /tmp/secure-code-demo-48xkwyt0/secure-code-report.md, /tmp/secure-code-demo-48xkwyt0/secure-code-remediation-prompt.md",
      "deferred": false,
      "expected": "7 findings on demo tree",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "\n    trivy: brew install trivy, or follow trivy.dev/latest/getting-started/installation, or set scanners.trivy.command to an explicit path, or supply its SARIF via --sarif-import.\n    (or --preflight to check the whole floor before a run)\n  ✗ 7 finding(s), and no baseline exists yet — on a first run everything is new because there is nothing to compare against. Work the order, then re-run with --bump-baseline to accept what is left and gate on regressions from there.\n  wrote: /tmp/secure-code-demo-48xkwyt0/secure-code-report.md, /tmp/secure-code-demo-48xkwyt0/secure-code-remediation-prompt.md\n",
      "stderr": "",
      "output_truncated": true,
      "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 the CLI/MCP entrypoints (--help, secure-code-agent-mcp tools): no cron, loop, webhook, --once or --now trigger is documented; the CI workflows are not product cycles.",
      "evidence": "Inspected README.md and the CLI/MCP entrypoints (--help, secure-code-agent-mcp tools): no cron, loop, webhook, --once or --now trigger is documented; the CI workflows are not product cycles.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "010dd80bd7e164dac44702740eb04469d90dcee3",
    "ci_read_at": "2026-12-04T21:34:31Z",
    "ci_state": "SUCCESS",
    "commits_90d": 56,
    "last_commit_at": "2026-12-04T20:57:51Z",
    "last_release_at": "2026-12-04T21:18:45Z",
    "median_reply_hours": null,
    "merged_prs_90d": 56,
    "note": "actively maintained: last commit 0 days ago; 56 commits and 56 merged PRs in 90 days; 0 open issues, 8 open PRs; latest release 2026-12-04",
    "open_issues": 0,
    "open_prs": 8,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "python>=3.10 (3.12.3 used)",
    "pip/venv",
    "secure-code-agent 0.13.5 from PyPI",
    "bandit, pip-audit (python-scanners extra)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Nothing suspicious seen in this run.",
    "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": [
          "pip"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 1,
    "secrets_in_tests": 1,
    "download_lines_in_tests": 0,
    "dependency_versions": 1,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 160,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "asteval",
          "version": "1.0.6",
          "advisory": "GHSA-89v8-rhwq-hf77"
        },
        {
          "package": "asteval",
          "version": "1.0.6",
          "advisory": "GHSA-9w56-46f6-3qhx"
        },
        {
          "package": "asteval",
          "version": "1.0.6",
          "advisory": "PYSEC-2026-3807"
        },
        {
          "package": "ecdsa",
          "version": "0.19.2",
          "advisory": "GHSA-wj6h-64fc-37mp"
        },
        {
          "package": "ecdsa",
          "version": "0.19.2",
          "advisory": "PYSEC-2026-1325"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "GHSA-5h93-6whr-6q8j"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "GHSA-84m7-p3x7-pcfv"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "GHSA-hvrp-rf83-w775"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "GHSA-jpw9-pfvf-9f58"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "GHSA-qx49-fqc8-xw99"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "GHSA-rwrf-2pqf-9j8j"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "GHSA-vj7q-gjh5-988w"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "GHSA-w4fh-qvv9-3v23"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "PYSEC-2026-3481"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "PYSEC-2026-3482"
        },
        {
          "package": "mcp",
          "version": "1.23.3",
          "advisory": "PYSEC-2026-3483"
        },
        {
          "package": "opentelemetry-api",
          "version": "1.37.0",
          "advisory": "GHSA-mf5v-w3w3-f6cg"
        },
        {
          "package": "opentelemetry-api",
          "version": "1.37.0",
          "advisory": "GHSA-xcq7-p3pf-p88h"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-4xh5-x5gv-qwph"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-58qw-9mgm-455v"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-6vgw-5pg2-w6jp"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-jp4c-xjxw-mgf9"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-qwm4-qh6w-59xr"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-wf93-45jw-7689"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1795"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1796"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-196"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2875"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2876"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-3721"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-2gx3-rcp4-g85q"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-42vr-xj54-vc7v"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-8wjv-2p76-3863"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-9j54-fg26-wv3r"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-9v7f-9g4p-ffgj"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-ffc3-869f-jxw9"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-gvp8-978c-rx2q"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-hxm8-2xgr-2p9m"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-jwrc-g2q2-pq5p"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-p4g4-x82p-q773"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-pxh4-856f-4h89"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-r6x4-923q-g947"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-w2cx-738m-mc7w"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-w6j9-cwv2-h6wq"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "GHSA-x33g-cr3x-6449"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4140"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4141"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4142"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4143"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4144"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4145"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4146"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4147"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4148"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4149"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4150"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4151"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4152"
        },
        {
          "package": "pyjwt",
          "version": "2.13.0",
          "advisory": "PYSEC-2026-4183"
        },
        {
          "package": "wcmatch",
          "version": "8.5.2",
          "advisory": "GHSA-53pm-wgxf-c6qf"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-6993ad395fefbb675dc160a9298a5da539e0ecc408069de1b03eb4ed293c479c",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.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": "readme_checked"
}
