{
  "schema_version": 1,
  "run_id": "specmatic--specmatic-python-extensions-claude-haiku-5-5-1795672872210935049",
  "date": "2026-11-26T06:14:00.582424+00:00",
  "repo": "specmatic/specmatic-python-extensions",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "727dda48ad19dd50602ad0f08caa81dd3d04cc82",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 77.703,
  "first_use_s": null,
  "stuck_step": "PYTHONPATH=. .venv/bin/python test/wsgi/test_contract.py (mock shutdown in SpecmaticMock.stop)",
  "what_failed": "Contract test run reports 95 successes and 0 failures, but the process exits 1 with subprocess.TimeoutExpired from SpecmaticMock.stop() because the mock java process does not exit within 5s of termina",
  "suggested_fix": "In specmatic/core/specmatic_mock.py stop(): wrap self.__process.wait(5) in try/except subprocess.TimeoutExpired and call kill(); do not treat wait() as a boolean.",
  "what_it_did": "Run contract tests for a WSGI app with a Specmatic mock (README: To run contract tests with a mock for a wsgi app), via test/wsgi/test_contract.py",
  "needs": [
    "credentials"
  ],
  "needs_which": "an account or key",
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Specmatic Python is a library to run Specmatic",
      "source": "This is a Python library to run [Specmatic](https://specmatic.io).",
      "input": "pytest contract test for WSGI app with mock",
      "expected": "Tests run: 99, Successes: 95, Failures: 0",
      "command": ".venv/bin/python test/wsgi/test_contract.py",
      "verdict": "blocked",
      "outcome": "Probe stopped at a missing prerequisite: Tests run: 99, Successes: 95, Failures: 0, WIP: 4, Errors: 0\n\nExecuted at 2026-11-26T06:13:18.916003796\nInjecting pytest methods\n\n Shutting down specmatic mock server on localhost:8080, please wait ...\nShutting down mock servers\nGenerating report for 15 tests and 30 coverage operations...\nUsing report generation method that accepts coverage report specifications.\nGenerating CTRF report in build/reports/specmatic/stub/ctrf/ctrf-report.json\nGenerating HTML report in build/reports/specmatic/stub/html/index.html\nTraceback (most recent call last):\n  File \"<guest-path>",
      "evidence": "Tests run: 99, Successes: 95, Failures: 0, WIP: 4, Errors: 0\n\nExecuted at 2026-11-26T06:13:18.916003796\nInjecting pytest methods\n\n Shutting down specmatic mock server on localhost:8080, please wait ...\nShutting down mock servers\nGenerating report for 15 tests and 30 coverage operations...\nUsing report generation method that accepts coverage report specifications.\nGenerating CTRF report in build/reports/specmatic/stub/ctrf/ctrf-report.json\nGenerating HTML report in build/reports/specmatic/stub/html/index.html\nTraceback (most recent call last):\n  File \"<guest-path>",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 1,
      "stdout": "ion does not contain a 4xx or default response, hence unable to verify this response\n\nTests run: 99, Successes: 95, Failures: 0, WIP: 4, Errors: 0\n\nExecuted at 2026-11-26T06:13:18.916003796\nInjecting pytest methods\n\n Shutting down specmatic mock server on localhost:8080, please wait ...\nShutting down mock servers\nGenerating report for 15 tests and 30 coverage operations...\nUsing report generation method that accepts coverage report specifications.\nGenerating CTRF report in build/reports/specmatic/stub/ctrf/ctrf-report.json\nGenerating HTML report in build/reports/specmatic/stub/html/index.html\n",
      "stderr": "self.mock.stop()\n  File \"<guest-path>\", line 47, in stop\n    if self.__process.wait(5):\n       ^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.12/subprocess.py\", line 1264, in wait\n    return self._wait(timeout=timeout)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.12/subprocess.py\", line 2045, in _wait\n    raise TimeoutExpired(self.args, timeout)\nsubprocess.TimeoutExpired: Command '['java', '-Dspecmatic.executor=python', '-jar', '<guest-path>', 'mock', '--config=']' timed out after 5 seconds\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [],
  "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, specmatic/ package and test/ entrypoints: no cron, loop, webhook, --once or --now trigger documented for the library; it runs only when pytest executes test modules.",
      "evidence": "Inspected README.md, specmatic/ package and test/ entrypoints: no cron, loop, webhook, --once or --now trigger documented for the library; it runs only when pytest executes test modules.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "727dda48ad19dd50602ad0f08caa81dd3d04cc82",
    "ci_read_at": "2026-11-25T11:47:20Z",
    "ci_state": null,
    "commits_90d": 17,
    "last_commit_at": "2026-11-25T11:34:44Z",
    "last_release_at": "2026-11-25T11:34:53Z",
    "median_reply_hours": null,
    "merged_prs_90d": 1,
    "note": "slow: last commit 0 days ago; 17 commits and 1 merged PRs in 90 days; 1 open issues, 17 open PRs; 0 of 22 recent threads got a maintainer reply; latest release 2026-11-25",
    "open_issues": 1,
    "open_prs": 17,
    "reply_share": 0.0,
    "reply_threads": 22,
    "verdict": "slow"
  },
  "dependencies": [
    "Python 3.12.3 (README/CI require >=3.11)",
    "OpenJDK 17",
    "pip requirements.txt (flask 3.0.3, pytest 9.0.2, etc.)",
    "specmatic.jar 2.57.0"
  ],
  "local_or_hosted": "local",
  "readme_deviations": null,
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 19 known vulnerability, 1 sensitive read.",
    "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": "140.82.112.3",
        "port": "443",
        "rule": null,
        "programs": [
          "git-remote-https"
        ],
        "names": []
      },
      {
        "to": "140.82.112.4",
        "port": "443",
        "rule": null,
        "programs": [
          "git-remote-https",
          "python"
        ],
        "names": []
      },
      {
        "to": "140.82.114.3",
        "port": "443",
        "rule": null,
        "programs": [
          "git-remote-https",
          "python"
        ],
        "names": []
      },
      {
        "to": "140.82.114.4",
        "port": "443",
        "rule": null,
        "programs": [
          "git-remote-https",
          "python"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "to": "15.135.28.54",
        "port": "443",
        "rule": null,
        "programs": [
          "python"
        ],
        "names": [
          "insights.specmatic.io",
          "repo.specmatic.io"
        ]
      },
      {
        "to": "3.24.39.249",
        "port": "443",
        "rule": null,
        "programs": [
          "python"
        ],
        "names": [
          "insights.specmatic.io",
          "repo.specmatic.io"
        ]
      },
      {
        "to": "::ffff:15.135.28.54",
        "port": "443",
        "rule": null,
        "programs": [
          "java"
        ],
        "names": []
      },
      {
        "to": "::ffff:3.106.102.74",
        "port": "443",
        "rule": null,
        "programs": [
          "java"
        ],
        "names": []
      },
      {
        "to": "::ffff:3.24.39.249",
        "port": "443",
        "rule": null,
        "programs": [
          "java"
        ],
        "names": []
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "http"
        ],
        "names": [
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "pip"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "git-remote-https",
          "python"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "java"
        ],
        "names": [
          "insights.specmatic.io"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "python"
        ],
        "names": [
          "repo.specmatic.io"
        ]
      }
    ],
    "credential_reads": [
      {
        "kind": "saved web login",
        "opened": false
      }
    ],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "flask",
        "version": "3.0.3",
        "advisory": "GHSA-68rp-wp8r-4726"
      },
      {
        "package": "flask",
        "version": "3.0.3",
        "advisory": "PYSEC-2026-2151"
      },
      {
        "package": "pytest",
        "version": "9.0.2",
        "advisory": "GHSA-6w46-j5rx-g56g"
      },
      {
        "package": "pytest",
        "version": "9.0.2",
        "advisory": "PYSEC-2026-1845"
      },
      {
        "package": "python-dotenv",
        "version": "1.0.1",
        "advisory": "GHSA-mf9w-mj56-hr94"
      },
      {
        "package": "python-dotenv",
        "version": "1.0.1",
        "advisory": "PYSEC-2026-2270"
      },
      {
        "package": "requests",
        "version": "2.32.5",
        "advisory": "GHSA-gc5v-m9x4-r6x2"
      },
      {
        "package": "requests",
        "version": "2.32.5",
        "advisory": "PYSEC-2026-2275"
      },
      {
        "package": "sanic",
        "version": "25.12.0",
        "advisory": "GHSA-wmj6-g64g-j7q5"
      },
      {
        "package": "sanic",
        "version": "25.12.0",
        "advisory": "PYSEC-2026-4162"
      },
      {
        "package": "setuptools",
        "version": "80.9.0",
        "advisory": "GHSA-h35f-9h28-mq5c"
      },
      {
        "package": "setuptools",
        "version": "80.9.0",
        "advisory": "GHSA-xmj3-9gf7-h52w"
      },
      {
        "package": "setuptools",
        "version": "80.9.0",
        "advisory": "PYSEC-2026-3447"
      },
      {
        "package": "werkzeug",
        "version": "3.1.4",
        "advisory": "GHSA-29vq-49wr-vm6x"
      },
      {
        "package": "werkzeug",
        "version": "3.1.4",
        "advisory": "GHSA-87hc-h4r5-73f7"
      },
      {
        "package": "werkzeug",
        "version": "3.1.4",
        "advisory": "GHSA-g6x2-hccm-hh4m"
      },
      {
        "package": "werkzeug",
        "version": "3.1.4",
        "advisory": "PYSEC-2026-2044"
      },
      {
        "package": "werkzeug",
        "version": "3.1.4",
        "advisory": "PYSEC-2026-2320"
      },
      {
        "package": "werkzeug",
        "version": "3.1.4",
        "advisory": "PYSEC-2026-4312"
      }
    ],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 11,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 43,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "flask",
          "version": "3.0.3",
          "advisory": "GHSA-68rp-wp8r-4726"
        },
        {
          "package": "flask",
          "version": "3.0.3",
          "advisory": "PYSEC-2026-2151"
        },
        {
          "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": "pytest",
          "version": "9.0.2",
          "advisory": "GHSA-6w46-j5rx-g56g"
        },
        {
          "package": "pytest",
          "version": "9.0.2",
          "advisory": "PYSEC-2026-1845"
        },
        {
          "package": "python-dotenv",
          "version": "1.0.1",
          "advisory": "GHSA-mf9w-mj56-hr94"
        },
        {
          "package": "python-dotenv",
          "version": "1.0.1",
          "advisory": "PYSEC-2026-2270"
        },
        {
          "package": "requests",
          "version": "2.32.5",
          "advisory": "GHSA-gc5v-m9x4-r6x2"
        },
        {
          "package": "requests",
          "version": "2.32.5",
          "advisory": "PYSEC-2026-2275"
        },
        {
          "package": "sanic",
          "version": "25.12.0",
          "advisory": "GHSA-wmj6-g64g-j7q5"
        },
        {
          "package": "sanic",
          "version": "25.12.0",
          "advisory": "PYSEC-2026-4162"
        },
        {
          "package": "setuptools",
          "version": "80.9.0",
          "advisory": "GHSA-h35f-9h28-mq5c"
        },
        {
          "package": "setuptools",
          "version": "80.9.0",
          "advisory": "GHSA-xmj3-9gf7-h52w"
        },
        {
          "package": "setuptools",
          "version": "80.9.0",
          "advisory": "PYSEC-2026-3447"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "GHSA-82w8-qh3p-5jfq"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "GHSA-86qp-5c8j-p5mr"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "GHSA-jp82-jpqv-5vv3"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "GHSA-wqp7-x3pw-xc5r"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "GHSA-x746-7m8f-x49c"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "PYSEC-2026-161"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "PYSEC-2026-2280"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "PYSEC-2026-2281"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "PYSEC-2026-248"
        },
        {
          "package": "starlette",
          "version": "0.50.0",
          "advisory": "PYSEC-2026-249"
        },
        {
          "package": "werkzeug",
          "version": "3.1.4",
          "advisory": "GHSA-29vq-49wr-vm6x"
        },
        {
          "package": "werkzeug",
          "version": "3.1.4",
          "advisory": "GHSA-87hc-h4r5-73f7"
        },
        {
          "package": "werkzeug",
          "version": "3.1.4",
          "advisory": "GHSA-g6x2-hccm-hh4m"
        },
        {
          "package": "werkzeug",
          "version": "3.1.4",
          "advisory": "PYSEC-2026-2044"
        },
        {
          "package": "werkzeug",
          "version": "3.1.4",
          "advisory": "PYSEC-2026-2320"
        },
        {
          "package": "werkzeug",
          "version": "3.1.4",
          "advisory": "PYSEC-2026-4312"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-e363df2f3ca23ac76266aa30226f831f899471419c9c3059654db6eff5501325",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "github.com",
        "insights.specmatic.io",
        "pypi.org",
        "repo.specmatic.io",
        "security.ubuntu.com"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "github.com",
        "insights.specmatic.io",
        "pypi.org",
        "repo.specmatic.io",
        "security.ubuntu.com"
      ],
      "package_registries": [
        "archive.ubuntu.com",
        "files.pythonhosted.org",
        "pypi.org",
        "security.ubuntu.com"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [
        "github.com"
      ],
      "unanswered_hosts": [],
      "unattributed": [
        "insights.specmatic.io",
        "repo.specmatic.io"
      ],
      "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": "partly_checked"
}
